I have two identical nodes setup in a cluster. I used ZFS over ISCSI and created a VM and then on the VM I used LVM for the whole disk. I did all of this before enabling multipath. I have a service that reports this
I don't know if this is related to the multipath or not. Multipath looks like
Any help to understand this will be greatly appreciated.
Code:
root@cp-pve1:/etc/pve# systemctl status lvm2-pvscan@253:16.service
● lvm2-pvscan@253:16.service - LVM event activation on device 253:16
Loaded: loaded (/lib/systemd/system/lvm2-pvscan@.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-06-21 08:01:31 PDT; 1h 41min ago
Docs: man:pvscan(8)
Process: 2200 ExecStart=/sbin/lvm pvscan --cache --activate ay 253:16 (code=exited, status=5)
Main PID: 2200 (code=exited, status=5)
Jun 21 08:01:31 cp-pve1 systemd[1]: Starting LVM event activation on device 253:16...
Jun 21 08:01:31 cp-pve1 lvm[2200]: WARNING: Not using device /dev/sdb3 for PV 8TUuuw-8MpJ-CQl0-SeCE-U8
Jun 21 08:01:31 cp-pve1 lvm[2200]: WARNING: PV 8TUuuw-8MpJ-CQl0-SeCE-U8vp-ZVFe-5nzFaF prefers device /
Jun 21 08:01:31 cp-pve1 lvm[2200]: Cannot activate LVs in VG ubuntu-vg while PVs appear on duplicate d
Jun 21 08:01:31 cp-pve1 lvm[2200]: 0 logical volume(s) in volume group "ubuntu-vg" now active
Jun 21 08:01:31 cp-pve1 lvm[2200]: ubuntu-vg: autoactivation failed.
Jun 21 08:01:31 cp-pve1 systemd[1]: lvm2-pvscan@253:16.service: Main process exited, code=exited, status
Jun 21 08:01:31 cp-pve1 systemd[1]: lvm2-pvscan@253:16.service: Failed with result 'exit-code'.
Jun 21 08:01:31 cp-pve1 systemd[1]: Failed to start LVM event activation on device 253:16.
lines 1-16/16 (END)
Code:
root@cp-pve1:/etc/pve# pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/eng-service-part3 ubuntu-vg lvm2 a-- <999.00g 0
/dev/sda3 pve lvm2 a-- <14.42g 1.75g
root@cp-pve1:/etc/pve# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- <5.42g 0.00 1.57
root pve -wi-ao---- 3.50g
swap pve -wi-ao---- 1.75g
ubuntu-lv ubuntu-vg -wi------- <999.00g
root@cp-pve1:/etc/pve# ^C
root@cp-pve1:/etc/pve#
I don't know if this is related to the multipath or not. Multipath looks like
Code:
root@cp-pve1:/etc/pve# pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/eng-service-part3 ubuntu-vg lvm2 a-- <999.00g 0
/dev/sda3 pve lvm2 a-- <14.42g 1.75g
root@cp-pve1:/etc/pve# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- <5.42g 0.00 1.57
root pve -wi-ao---- 3.50g
swap pve -wi-ao---- 1.75g
ubuntu-lv ubuntu-vg -wi------- <999.00g
root@cp-pve1:/etc/pve# ^C
root@cp-pve1:/etc/pve#
Any help to understand this will be greatly appreciated.