Go to file
KevinAdams a1cdede403 Fix non-FreeNAS providers to enable the 'Add' button.
- When using the 'allowBlank' property of extjs, it provided the
functionality to the FreeNAS provider but disabled the 'Add' button of
other providers when all necessary data was entered. This was because
three fields in the FreeNAS provider was 'allowBlank' equal to 'false'
causing the ‘Add’ button to not be ‘enabled’. Upon further development
the 'allowBlank' property is not 'bindable' and was causing issues with
the modal window. No other similar code was found in the
pvemanagerlib.js to replicate this and it was mentioned in a post that
the ‘allowBlank’ property to be bindable was a feature request to come.
This fix allows for all functionality of the providers to work correctly
in the modal window. This fixes issue #36.
2019-02-01 14:34:40 -05:00
perl5/PVE/Storage Update Proxmox VE patches to 5.3-6 2018-12-24 07:36:33 -05:00
pve-docs/api-viewer Fixed block size issue and updated for Proxmox VE 5.3-5 2018-12-22 13:18:51 -05:00
pve-manager/js Fix non-FreeNAS providers to enable the 'Add' button. 2019-02-01 14:34:40 -05:00
README.md Small grammer changes 2019-01-18 13:31:39 -05:00

README.md

FreeNAS ZFS over iSCSI interface

Please be aware that this plugin uses the FreeNAS APIs and NOT the ssh/scp interface like the other plugins use, but...

You will still need to configure the SSH connector for listing the ZFS Pools because this is currently being done in a Proxmox module (ZFSPoolPlugin.pm). To configure this please follow the steps at https://pve.proxmox.com/wiki/Storage:_ZFS_over_iSCSI that have to do with SSH between Proxmox VE and FreeNAS. The code segment should start out mkdir /etc/pve/priv/zfs.

I am currently in development to remove this depencancy from the ZFSPoolPlugin.pm so it is done in the FreeNAS.pm.

  1. 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
    
  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.