We have Proxmox cluster with 3 nodes. Our SAN is an DELL MD3820i and we use iSCSI with LVM on top. Storage iSCSI with LVM was configured in Storage Manager.
Now, on first node I try to add multipath connection to iSCSI SAN. During node startup the process hang around 2 minutes during initialisation of ISCSI connection. Error issue: iscsiadm[3908]: iscsiadm: default: 1 session requested, but 1 already present.
Multipath seems to work and I see all disks with lvs:
Multipath configuration:
What is wrong in my configuration and how I can improve startup behavior to avoid errors?
Now, on first node I try to add multipath connection to iSCSI SAN. During node startup the process hang around 2 minutes during initialisation of ISCSI connection. Error issue: iscsiadm[3908]: iscsiadm: default: 1 session requested, but 1 already present.
Code:
root@pve1:~# systemctl status open-iscsi.service
● open-iscsi.service - Login to default iSCSI targets
Loaded: loaded (/lib/systemd/system/open-iscsi.service; enabled; vendor preset: enabled)
Active: active (exited) since Thu 2020-12-17 17:39:37 CET; 18h ago
Docs: man:iscsiadm(8)
man:iscsid(8)
Process: 3901 ExecStartPre=/bin/systemctl --quiet is-active iscsid.service (code=exited, status=0/SUCCESS)
Process: 3908 ExecStart=/sbin/iscsiadm -m node --loginall=automatic (code=exited, status=15)
Process: 4408 ExecStart=/lib/open-iscsi/activate-storage.sh (code=exited, status=0/SUCCESS)
Main PID: 4408 (code=exited, status=0/SUCCESS)
Dec 17 17:37:31 pve1 iscsiadm[3908]: iscsiadm: default: 1 session requested, but 1 already present.
Dec 17 17:37:31 pve1 iscsiadm[3908]: iscsiadm: default: 1 session requested, but 1 already present.
Dec 17 17:39:37 pve1 iscsiadm[3908]: iscsiadm: Could not login to [iface: default, target: iqn.1984-05.com.dell:powervault.md3800i.600a098000bd9fb9000000005cd, portal: 192.168.131.102,3260].
Dec 17 17:39:37 pve1 iscsiadm[3908]: iscsiadm: initiator reported error (8 - connection timed out)
Dec 17 17:39:37 pve1 iscsiadm[3908]: iscsiadm: Could not login to [iface: default, target: iqn.1984-05.com.dell:powervault.md3800i.600a098000bd9fb9000000005cd, portal: 192.168.130.102,3260].
Dec 17 17:39:37 pve1 iscsiadm[3908]: iscsiadm: initiator reported error (8 - connection timed out)
Dec 17 17:39:37 pve1 iscsiadm[3908]: iscsiadm: Could not log into all portals
Dec 17 17:39:37 pve1 iscsiadm[3908]: Logging in to [iface: default, target: iqn.1984-05.com.dell:powervault.md3800i.600a098000bd9fb9000000005cd, portal: 192.168.131.102,3260] (multiple)
Dec 17 17:39:37 pve1 iscsiadm[3908]: Logging in to [iface: default, target: iqn.1984-05.com.dell:powervault.md3800i.600a098000bd9fb9000000005cd, portal: 192.168.130.102,3260] (multiple)
Dec 17 17:39:37 pve1 systemd[1]: Started Login to default iSCSI targets.
Multipath seems to work and I see all disks with lvs:
Code:
root@pve1:~# multipath -ll
os (3600a098000bd9fb9000003235d26) dm-6 DELL,MD38xxi
size=9.0T features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 rdac' wp=rw
`-+- policy='round-robin 0' prio=14 status=active
|- 15:0:0:3 sdc 8:32 active ready running
`- 16:0:0:3 sde 8:64 active ready running
daten (3600a098000bd9fda000002895d26) dm-23 DELL,MD38xxi
size=15T features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 rdac' wp=rw
`-+- policy='round-robin 0' prio=14 status=active
|- 15:0:0:1 sdb 8:16 active ready running
`- 16:0:0:1 sdd 8:48 active ready running
Multipath configuration:
Code:
defaults {
polling_interval 2
path_selector "round-robin 0"
path_grouping_policy multibus
path_checker rdac
getuid_callout "/lib/udev/scsi_id -g -u -d /dev/%n"
rr_min_io 100
failback immediate
no_path_retry queue
user_friendly_names yes
}
blacklist {
wwid .*
}
blacklist_exceptions {
wwid "3600a098000bd9fda000002895d26"
wwid "3600a098000bd9fb9000003235d26"
wwid "600a098000bd9fb9000000005cd"
property "(ID_SCSI_VPD|ID_WWN|ID_SERIAL)"
}
multipaths {
multipath {
wwid "3600a098000bd9fda000002895d26"
alias daten
}
multipath {
wwid "3600a098000bd9fb9000003235d26"
alias os
}
multipath {
wwid "600a098000bd9fb9000000005cd"
alias portal
}
}
What is wrong in my configuration and how I can improve startup behavior to avoid errors?