From 6a1d82c8cd1779e1a04bd383bcbb2e86903e971c Mon Sep 17 00:00:00 2001 From: sontru Date: Fri, 16 Oct 2020 16:24:37 +0100 Subject: [PATCH 1/2] Update ZFSPlugin.pm.patch Full path added to multipath command. Also need to install this tool: apt install multipath-tools --- perl5/PVE/Storage/ZFSPlugin.pm.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; From 94cc0a67f9044df572205ccf5953e8d67bd3f505 Mon Sep 17 00:00:00 2001 From: Quinn Wood <59754839+qskwood@users.noreply.github.com> Date: Sat, 28 Nov 2020 22:16:22 -0600 Subject: [PATCH 2/2] Removed Unicode character in favor of inline code tags. The characters don't display on my machine, but this may just be me. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.