From bb768c481ea7bb08c70a6ff624361e6cf5379ce5 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Wed, 3 Jun 2026 17:02:55 -0600 Subject: [PATCH] Add deployments/platforms/virtualization/proxmox/Fixing iSCSI Connections that Drop at Reboot.md --- ...g iSCSI Connections that Drop at Reboot.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 deployments/platforms/virtualization/proxmox/Fixing iSCSI Connections that Drop at Reboot.md diff --git a/deployments/platforms/virtualization/proxmox/Fixing iSCSI Connections that Drop at Reboot.md b/deployments/platforms/virtualization/proxmox/Fixing iSCSI Connections that Drop at Reboot.md new file mode 100644 index 0000000..5214f83 --- /dev/null +++ b/deployments/platforms/virtualization/proxmox/Fixing iSCSI Connections that Drop at Reboot.md @@ -0,0 +1,42 @@ +## Purpose +You may enounter an issue where when you reboot your ProxmoxVE cluster node, it will fail to start virtual machines because of an error related to being unable to see the underlying LVM disks for the GuestVM. This is generally bandaid-fixed by running `iscsiadm -m node --login` on the node, which makes it reconnect to the cluster's iSCSI storage. This is not a viable long-term solution. + +### Configure Automatic Startup of iSCSI Services +Run these commands on every ProxmoxVE cluster node: +```sh +systemctl enable --now iscsid +systemctl enable --now open-iscsi +``` + +### Configure Automatic iSCSI Target Connection Behavior +Run these commands on every ProxmoxVE cluster node: +```sh +iscsiadm -m node \ + -T iqn.2026-01.io.bunny-lab:storage:iscsi-cluster-storage \ + -p 192.168.3.3 \ + --op update \ + -n node.startup \ + -v automatic + +iscsiadm -m node \ + -T iqn.2026-01.io.bunny-lab:storage:iscsi-cluster-storage \ + -p 192.168.3.3 \ + --op update \ + -n node.conn[0].startup \ + -v automatic +``` + +### Verify Configuration +You will want to ensure that `node.startup = automatic` and `node.conn[0].startup = automatic` when you run the following command. +```sh +iscsiadm -m node -o show | grep -E 'node.name|node.conn\[0\].address|node.startup|node.conn\[0\].startup' +``` + +!!! Success "Example Output" + If everything worked correctly, you should see output like the example below: + ```sh + node.name = iqn.2026-01.io.bunny-lab:storage:iscsi-cluster-storage + node.startup = automatic + node.conn[0].address = 192.168.3.3 + node.conn[0].startup = automatic + ``` \ No newline at end of file