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

Oliver Rath rath at mglug.de
Tue Aug 13 17:56:32 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 + --enbale

Tfh!

Oliver




More information about the lvm-devel mailing list