Go to file
Kevin Scott Adams a29328e7fa Undef $iscsi_lunid in FreeNAS.pm on line 457
- The perl code was creating a new variable in the ‘if’ code block by
using 'my' at the beginning of the assignment at line 452. Once the code
exited this block that variable was released and now defaulted to the
main block variable at line 441 which is still set to 'undef'. Removing
the 'my' from the assignment line allowed the code to use the main block
$iscsi_lunid variable.

Fixes issue #7
2018-07-09 15:38:54 -04:00
perl5/PVE/Storage Undef $iscsi_lunid in FreeNAS.pm on line 457 2018-07-09 15:38:54 -04:00
pve-docs/api-viewer Fixed malfunctioning patches 2018-06-04 15:06:36 +08:00
pve-manager/js Fixed malfunctioning patches 2018-06-04 15:06:36 +08:00
README.md Add tainted checking to iscsi_lunid 2018-06-26 15:00:09 -04:00

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.

  1. First use the following commands to patch the needed files forthe 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
    
  2. Install the perl REST Client package from the repository.

    apt-get install librest-client-perl
    
  3. 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
    
  4. Execute the following at a console command prompt to active the above

    systemctl restart pvedaemon
    
  5. Refresh the Proxmox GUI in your browser to load the new Javascript code.