mirror of
https://github.com/TheGrandWazoo/freenas-proxmox.git
synced 2026-10-10 00:35:31 +02:00
5e255a62089310edb6197cd203e005ce166647b4
- Removed code in FreeNAS.PM that used the blocksize field from the GUI for the use of iSCSI block size causing migration and large extent sizes. Fixes issues #9 and #33. - Prefixed 'ZFS' to the 'Block Size' label on the GUI. - Updated for 5.3-5
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.
Languages
JavaScript
96.5%
Perl
3.1%
Shell
0.4%