From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Rath Date: Tue, 13 Aug 2013 19:56:32 +0200 Subject: Are there race conditions between pvcreate and vgcreate? Message-ID: <520A7350.3080005@mglug.de> List-Id: To: lvm-devel@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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