From faa3ccf5325cea1b44e97244518de01ea8348fe7 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Wed, 14 Feb 2024 19:03:49 -0700 Subject: [PATCH] Update Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md --- .../Virtualization/Proxmox/ZFS-Over-iSCSI.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md b/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md index 882f871..ff57489 100644 --- a/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md +++ b/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md @@ -11,15 +11,15 @@ ## Configure SSH Key Exchange The first step is creating SSH trust between the ProxmoxVE cluster nodes and the TrueNAS storage appliance. You will leverage the ProxmoxVE `shell` to run the following commands. ``` sh -mkdir /etc/pve/priv/zfs -ssh-keygen -f /etc/pve/priv/zfs/192.168.101.100_id_rsa # (1) -ssh-copy-id -i /etc/pve/priv/zfs/192.168.101.100_id_rsa.pub root@192.168.101.100 # (2) -ssh -i /etc/pve/priv/zfs/192.168.101.100_id_rsa root@192.168.101.100 # (3) -apt-get install librest-client-perl git # (4) -iscsiadm --mode discovery --op update --type sendtargets --portal 192.168.101.100 -iscsiadm -m node -T iqn.2005-10.org.moon-storage-01.ctl:proxmox-zfs-storage -p 192.168.101.100 -l -iscsiadm -m node # (5) -iscsiadm -m session # (6) + mkdir /etc/pve/priv/zfs + ssh-keygen -f /etc/pve/priv/zfs/192.168.101.100_id_rsa # (1) + ssh-copy-id -i /etc/pve/priv/zfs/192.168.101.100_id_rsa.pub root@192.168.101.100 # (2) + ssh -i /etc/pve/priv/zfs/192.168.101.100_id_rsa root@192.168.101.100 # (3) + apt-get install librest-client-perl git # (4) + iscsiadm --mode discovery --op update --type sendtargets --portal 192.168.101.100 + iscsiadm -m node -T iqn.2005-10.org.moon-storage-01.ctl:proxmox-zfs-storage -p 192.168.101.100 -l + iscsiadm -m node # (5) + iscsiadm -m session # (6) ``` 1. Do not set a password. It will break the automatic functionality.