On Tue, Jan 13, 2009 at 10:09 AM, Lupe Christoph <lupe@lupe-christoph.de> wrote: > Hi! > > I'm about to integrate support for LVM mirrors into the configuration > management system I'm maintaining for a client. This system has a "scan" > function that retrieves the current configuration and compares it > against a database. > > My problem is that I'm unable to get the allocation info for the parts > of a mirrored volume under SLES 10 (lvm2 RPM is at 2.02.17, even > OpenSuSE 10.3 has only lvm2 2.02.25). > > lvdisplay --maps only gives me: Try pvs/vgs/lvs instead (and use -o to get the details you want): # pvs --segments PV VG Fmt Attr PSize PFree Start SSize /dev/dm-0 laptop lvm2 a- 55.69G 32.00M 0 250 /dev/dm-0 laptop lvm2 a- 55.69G 32.00M 250 1499 /dev/dm-0 laptop lvm2 a- 55.69G 32.00M 1749 32 /dev/dm-0 laptop lvm2 a- 55.69G 32.00M 1781 1 --Dave _______________________________________________ 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/