Go to file
Kevin Scott Adams 4289fb28b5 Use the librest-client-perl package
- Why repo something that is already part of a package in the debian
system. Both files are exact except for one whilespace.
2018-06-10 23:04:04 -04:00
perl5 Fixed malfunctioning patches 2018-06-04 15:06:36 +08: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 Use the librest-client-perl package 2018-06-10 23:04:04 -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 a

    cp perl5/PVE/Storage/LunCmd/FreeNAS.pm /usr/share/perl5/PVE/Storage/LunCmd/FreeNAS.pm
    
  4. Remove the -T taint directive from /usr/bin/pvedaemon. Not sure why this is needed. I need to do some research on this PERL directive option.

    sed -E -i.orig 's|^(#!/usr/bin/perl) -T|\1|' /usr/bin/pvedaemon
    
  5. Execute the following at a console command prompt to active the above

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