bb768c481e
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 4s
42 lines
1.6 KiB
Markdown
42 lines
1.6 KiB
Markdown
## 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
|
|
``` |