vgcreate fails with return value 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I’m running into an odd problem in which vgcreate fails with a return value or exit code of 5.  It is called from a script that calls pvcreate twice to create two PVs, then immediately calls vgcreate to create the VG.

 

An exit code of 5 appears to indicate excessive numbers of VGs.  However, there are no other VGs on the system prior to this call to vgcreate.  Search engine results indicate the PV might be corrupt.  However, the PV was just created a few milliseconds before calling vgcreate.

 

When calling vgcreate immediately after calling pvcreate, is there a need to wait for some after-effects of the pvcreate to settle out?  Is there some command to positively determine whether the PV is actually ready and open for business?

 

Any other suggestions?

 

Thank you,

 

Robert Riches

Azad Consultant at Intel

 

 

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux