Go to file
Kevin Scott Adams 3f6059e75f Add test for the FreeNAS API
- Add a simple API test using the FreeNAS API call to get its version
number, which could prove useful in future versions. Closes #17
- Whitespace cleanup
2018-07-31 22:40:22 -04:00
perl5/PVE/Storage Add test for the FreeNAS API 2018-07-31 22:40:22 -04:00
pve-docs/api-viewer - Updates and enhancements to pve-manager and pve-docs 2018-07-30 22:48:37 -04:00
pve-manager/js Transfer the patch do not cut and paste 2018-07-30 23:24:55 -04:00
README.md Updated README. 2018-07-11 12:43:08 +02: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
    systemctl restart pveproxy
    systemctl restart pvestatd
    
  5. Refresh the Proxmox GUI in your browser to load the new Javascript code.