* Are there race conditions between pvcreate and vgcreate?
@ 2013-08-13 17:56 Oliver Rath
2013-08-13 18:36 ` Alasdair G Kergon
0 siblings, 1 reply; 3+ messages in thread
From: Oliver Rath @ 2013-08-13 17:56 UTC (permalink / raw)
To: lvm-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Are there race conditions between pvcreate and vgcreate?
2013-08-13 17:56 Are there race conditions between pvcreate and vgcreate? Oliver Rath
@ 2013-08-13 18:36 ` Alasdair G Kergon
0 siblings, 0 replies; 3+ messages in thread
From: Alasdair G Kergon @ 2013-08-13 18:36 UTC (permalink / raw)
To: lvm-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Are there race conditions between pvcreate and vgcreate?
@ 2013-08-13 18:00 Oliver Rath
0 siblings, 0 replies; 3+ messages in thread
From: Oliver Rath @ 2013-08-13 18:00 UTC (permalink / raw)
To: lvm-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-13 18:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-13 17:56 Are there race conditions between pvcreate and vgcreate? Oliver Rath
2013-08-13 18:36 ` Alasdair G Kergon
2013-08-13 18:00 Oliver Rath
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.