ERROR: can't activate LV '/dev/

rickygm

Renowned Member
Sep 16, 2015
138
6
83
Hi forum, I have some problems when creating a vm or start a vm shows me some error messages>

WARNING: PV UTeNz5-wStm-LKAG-BNSE-xO2N-BK16-13c0Sc on /dev/sdd was already found on /dev/mapper/DLOW1.
WARNING: PV waf62O-hRJd-kx3o-cSy4-z049-9xT8-XgbasV on /dev/sdf was already found on /dev/sde.
WARNING: PV UTeNz5-wStm-LKAG-BNSE-xO2N-BK16-13c0Sc prefers device /dev/mapper/DLOW1 because device is in dm subsystem.
WARNING: PV waf62O-hRJd-kx3o-cSy4-z049-9xT8-XgbasV prefers device /dev/sde because device was seen first.
WARNING: PV UTeNz5-wStm-LKAG-BNSE-xO2N-BK16-13c0Sc on /dev/sdd was already found on /dev/mapper/DLOW1.
WARNING: PV waf62O-hRJd-kx3o-cSy4-z049-9xT8-XgbasV on /dev/sdf was already found on /dev/sde.
WARNING: PV UTeNz5-wStm-LKAG-BNSE-xO2N-BK16-13c0Sc prefers device /dev/mapper/DLOW1 because device is in dm subsystem.
WARNING: PV waf62O-hRJd-kx3o-cSy4-z049-9xT8-XgbasV prefers device /dev/sde because device was seen first.
TASK ERROR: can't activate LV '/dev/DFAST1/vm-1002-disk-1': Cannot activate LVs in VG DFAST1 while PVs appear on duplicate devices.

I have looked for information in the forum, and comment that it can be solved filtering in the lvm.conf file, I think the problem is for the disk that are presented to the proxmox, in my case by multipath.

lsscsi -s
[0:0:1:0] disk ATA INTEL SSDSC2KW12 036C /dev/sda 120GB
[1:0:1:0] disk ATA INTEL SSDSC2KW12 036C /dev/sdb 120GB
[6:0:0:1] disk FreeNAS iSCSI Disk 0123 /dev/sdc 4.39TB
[6:0:0:2] disk FreeNAS iSCSI Disk 0123 /dev/sde 1.64TB
[7:0:0:1] disk FreeNAS iSCSI Disk 0123 /dev/sdd 4.39TB
[7:0:0:2] disk FreeNAS iSCSI Disk 0123 /dev/sdf 1.64TB

I have seen that restarting, but now I have some virtual machines running and I have plans for a growth of 15 vm in the next month, it is not a solution for me.

any help?

regards
 
checking the error I think the problem is that the disk that I present from the san to the proxmox servers make conflicts when I create a vm or when I make a migration , for example in the log I see this error:

WARNING: PV waf62O-hRJd-kx3o-cSy4-z049-9xT8-XgbasV on /dev/sdf was already found on /dev/sde.

in this post

https://forum.proxmox.com/threads/san-fc-storage-with-lvm-cant-migrate-after-add-new-vm.35567/

I see something similar to my problem, some help from someone with more experience in this topic
 
It is a shame you didn't get an answer to this. I have the same problem... the same type of 'prefers device x because device was seen first' warnings in a two node cluster when I try to migrate VMs which are on my iSCSI. Did you ever find out anything?