Thanks. If I see correctly, each LUN has a partition table and a single partition, and this single partition is set up as an LVM physical volume. If I set up multipath in this scenario in my test system, I can reproduce the problem that, after a reboot, the multipath device does not appear and
I think the problem might be that since the SAN is connected via FC (and not iSCSI), each LUN is already visible as two block devices in early userspace after boot (when only the initramfs is available). But the multipath device is not set up during early boot, so LVM picks up on one of the block devices (or rather: the PV on top of the partition of one of the block devices) instead. And later, this somehow prevents multipath from setting up the multipath device (hence the error "Device or resource busy").
Can you check whether installing the package
multipath -v3
shows errors like the following:
Code:
15.366065 | libdevmapper: ioctl/libdm-iface.c(1980): device-mapper: reload ioctl on 35566777712345678 (253:6) failed: Device or resource busy
I think the problem might be that since the SAN is connected via FC (and not iSCSI), each LUN is already visible as two block devices in early userspace after boot (when only the initramfs is available). But the multipath device is not set up during early boot, so LVM picks up on one of the block devices (or rather: the PV on top of the partition of one of the block devices) instead. And later, this somehow prevents multipath from setting up the multipath device (hence the error "Device or resource busy").
Can you check whether installing the package
multipath-tools-boot
helps? By installing multipath-tools-boot
, the file /etc/multipath/wwids
becomes available in the initramfs. If that file is present and multipath_component_detection
is set to 1 (the default), LVM will ignore any (non-multipath) block devices whose WWIDs are listed in /etc/multipath/wwids
. This should allow multipath to set up the multipath device later. When that multipath device is available, LVM will pick up on it (or rather, the partition on that multipath device).