[lvm-devel] Are there race conditions between pvcreate and vgcreate?

Oliver Rath rath at mglug.de
Tue Aug 13 18:00:08 UTC 2013


Hi List,

i have a strange problem:

Sometimes a script runs into a failure "device /dev/sdb1 not found or
ignored by filtering" , but the devices are created just before

i.e.

pvcreate /dev/sda5 (1,4TB)
pvcreate /dev/sdb1 (2 TB)

..

vgcreate myvg /dev/sda5 /dev/sdb1

Are there any race conditions? If there are, exist any robust solution
for this? Im using lvm2-tools 2.02.99 + --with-thin=internal
--with-replicators=insternal

Tfh!

Oliver

--
lvm-devel mailing list
lvm-devel at redhat.com
https://www.redhat.com/mailman/listinfo/lvm-devel




More information about the lvm-devel mailing list