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

Alasdair G Kergon agk at redhat.com
Tue Aug 13 18:36:04 UTC 2013


On Tue, Aug 13, 2013 at 07:56:32PM +0200, Oliver Rath wrote:
> i have a strange problem:
 
When you see anything strange, add -vvvv to all your commands
and record the output, or configure lvm.conf to write it all
to syslog, if you have things running in parallel and need
to see how they overlap.

> vgcreate myvg /dev/sda5 /dev/sdb1

vgcreate will perform pvcreate itself if necessary.
Try without the pvcreates?

Alasdair




More information about the lvm-devel mailing list