diff --git a/README.md b/README.md index 5b0d190..9b77889 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ This will place you back to a normal and unpatched Proxmox VE install. 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�. +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`. 1. Remember to follow the instructions mentioned above for the SSH keys. diff --git a/perl5/PVE/Storage/ZFSPlugin.pm.patch b/perl5/PVE/Storage/ZFSPlugin.pm.patch index a81f0d9..8fadf60 100644 --- a/perl5/PVE/Storage/ZFSPlugin.pm.patch +++ b/perl5/PVE/Storage/ZFSPlugin.pm.patch @@ -129,7 +129,7 @@ + sleep 3; + run_command("iscsiadm -m session --rescan"); + sleep 3; -+ my $line = `multipath -ll | grep \"$wwid_end\"`; ++ my $line = `/usr/sbin/multipath -ll | grep \"$wwid_end\"`; + my ($mapper_device) = split(' ', $line); + $mapper_device = "" unless $mapper_device; + $mapper .= $mapper_device;