Merge branch 'master' of https://github.com/TheGrandWazoo/freenas-proxmox.git
This commit is contained in:
commit
bf5bec6dcb
|
|
@ -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...
|
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 <EFBFBD>mkdir /etc/pve/priv/zfs<66>.
|
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.
|
1. Remember to follow the instructions mentioned above for the SSH keys.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,7 @@
|
||||||
+ sleep 3;
|
+ sleep 3;
|
||||||
+ run_command("iscsiadm -m session --rescan");
|
+ run_command("iscsiadm -m session --rescan");
|
||||||
+ sleep 3;
|
+ sleep 3;
|
||||||
+ my $line = `multipath -ll | grep \"$wwid_end\"`;
|
+ my $line = `/usr/sbin/multipath -ll | grep \"$wwid_end\"`;
|
||||||
+ my ($mapper_device) = split(' ', $line);
|
+ my ($mapper_device) = split(' ', $line);
|
||||||
+ $mapper_device = "" unless $mapper_device;
|
+ $mapper_device = "" unless $mapper_device;
|
||||||
+ $mapper .= $mapper_device;
|
+ $mapper .= $mapper_device;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue