I have configured shared storage for Proxmox using a Dell PowerStore 1200T. The protocol in use is NVMe over TCP. Everything works fine, except the connection does not persist after a reboot.
discovery.conf Configuration:
--transport=tcp --traddr=192.168.5.5 --trsvcid=4420
--transport=tcp --traddr=192.168.5.6 --trsvcid=4420
--transport=tcp --traddr=192.168.6.5 --trsvcid=4420
--transport=tcp --traddr=192.168.6.6 --trsvcid=4420
nvmf-autoconnect.service Configuration:
[Unit]
Description=Connect NVMe-oF subsystems automatically during boot
ConditionPathExists=/etc/nvme/discovery.conf
After=network-online.target
Before=remote-fs-pre.target
[Service]
Type=oneshot
ExecStartPre=/sbin/modprobe nvme_tcp
ExecStart=/usr/sbin/nvme connect-all
[Install]
WantedBy=default.target
The issue appears to be that the service is ignoring After=network-online.target and attempts to connect before the network is fully up.
I found a similar thread in the forums, but there were no answers.
Maybe there's a known bug that I'm not aware of.
Proxmox version: 8.4.1 (Latest)
discovery.conf Configuration:
--transport=tcp --traddr=192.168.5.5 --trsvcid=4420
--transport=tcp --traddr=192.168.5.6 --trsvcid=4420
--transport=tcp --traddr=192.168.6.5 --trsvcid=4420
--transport=tcp --traddr=192.168.6.6 --trsvcid=4420
nvmf-autoconnect.service Configuration:
[Unit]
Description=Connect NVMe-oF subsystems automatically during boot
ConditionPathExists=/etc/nvme/discovery.conf
After=network-online.target
Before=remote-fs-pre.target
[Service]
Type=oneshot
ExecStartPre=/sbin/modprobe nvme_tcp
ExecStart=/usr/sbin/nvme connect-all
[Install]
WantedBy=default.target
The issue appears to be that the service is ignoring After=network-online.target and attempts to connect before the network is fully up.
I found a similar thread in the forums, but there were no answers.
Maybe there's a known bug that I'm not aware of.
Proxmox version: 8.4.1 (Latest)