- When changing the 'target' and 'pool' field to be editable in the Edit
ZFS over iSCSI panel it created an issue when you went to save any
change to that panel. The parameters were defined as { fixed => 1 }. Now
I don't know the backend of this but I changed it to { optional => 1} or
to { fixed => 0} they both worked. So I went with the { fixed => 0 } on
the 'target' and 'pool'. This fixes issue #27.
- Added a file with the version of the 'libpve-storage-perl' (e.g. -
ZFSPlugin-5.0-30.pm.patch to follow each version has it is changed.
|
||
|---|---|---|
| perl5/PVE/Storage | ||
| pve-docs/api-viewer | ||
| pve-manager/js | ||
| README.md | ||
README.md
FreeNAS ZFS over iSCSI interface
Please be aware that this enhancment uses the FreeNAS APIs and NOT the ssh/scp like the other interface provides.
-
First use the following commands to patch the needed files for the FreeNAS Interface
patch -b /usr/share/pve-manager/js/pvemanagerlib.js < pve-manager/js/pvemanagerlib.js.patch patch -b /usr/share/perl5/PVE/Storage/ZFSPlugin.pm < perl5/PVE/Storage/ZFSPlugin.pm.patch patch -b /usr/share/pve-docs/api-viewer/apidoc.js < pve-docs/api-viewer/apidoc.js.patch -
Install the perl REST Client package from the repository.
apt-get install librest-client-perl -
Use the following command to copy the needed file for the FreeNAS connector.
cp perl5/PVE/Storage/LunCmd/FreeNAS.pm /usr/share/perl5/PVE/Storage/LunCmd/FreeNAS.pm -
Execute the following at a console command prompt to active the above
systemctl restart pvedaemon systemctl restart pveproxy systemctl restart pvestatd -
Refresh the Proxmox GUI in your browser to load the new Javascript code.