If this is LVM2, use pvs, vgs or lvs for queries - it should be simpler! See man pages for how to control output format. Remember PVs can move on booting - it's the UUIDs found on the devices that matter, not the device names, so detection/waiting must be done during the actual boot.
Latest versions of LVM2 can also activate LVs while irrelevant PVs in the VG are missing, but it's risky to rely on that *if* booting after a crash while someone was changing any properties of the LV(s) concerned as the change might have been committed but not yet visible. (So only use that on static configurations.) Alasdair -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

