Go to file
Kevin Scott Adams 0261bac9ec Forgot to add the destination of the Client.pm
- Just added the directory for the Client.pm
- Also a disclosure of the '-T' option for PERL
2018-05-24 11:34:13 -04:00
perl5 Obtain the FreeNAS username and password values from storage.cfg 2018-04-18 14:27:19 -04:00
pve-docs/api-viewer Last commit did not include the apidoc.js patch 2018-05-24 11:00:17 -04:00
pve-manager/js Updated for new Proxmox 5.2 2018-05-24 10:57:59 -04:00
README Forgot to add the destination of the Client.pm 2018-05-24 11:34:13 -04:00

README

FreeNAS ZFS over iSCSI interface

Please be aware that this enhancment uses the FreeNAS API's and NOT the ssh/scp
like the other interface provide.

1) First use the following commands to patch the needed files forthe FreeNAS Interface
 patch /usr/share/pve-manager/js/pvemanagerlib.js < pve-manager/js/pvemanagerlib.js.patch
 patch /usr/share/perl5/PVE/Storage/ZFSPlugin.pm < perl5/PVE/Storage/ZFSPlugin.pm.patch
 patch /usr/share/pve-docs/api-viewer/apidoc.js < pve-docs/api-viewer/apidoc.js.patch

2) Use the following commands to copy the needed files for the FreeNAS 
 mkdir -p /usr/share/perl5/REST
 cp perl5/REST/Client.pm /usr/share/perl5/REST/Client.pm
 cp perl5/PVE/Storage/LunCmd/FreeNAS.pm /usr/share/perl5/PVE/Storage/LunCmd/FreeNAS.pm

3) Edit /usr/bin/pvedaemon and remove the '-T' from the perl command line.
 vi /usr/bin/pvedaemon
Not really sure about 'why' this is do I need to do some research on this PERL 
directive option.

4) Execute the following at a console command prompt to active the above
 systemctl restart pvedaemon

5) Either goto the URL for the Proxmox GUI in your favorite browser
   or
   If you are already logged in via the GUI just refresh your browser to receive
   the new Javascript code.