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: --- Segments --- Logical extent 0 to 24: Type mirror Mirrors 2 Mirror size 25 Mirror log volume testlv0_mlog Mirror region size 512.00 KB Mirror original: Logical volume testlv0_mimage_0 Logical extents 0 to 24 Mirror destinations: Logical volume testlv0_mimage_1 Logical extents 0 to 24 This is lacking the names of the PVs. (Has this been implemented in the meantime? It would be useful - nudge, nudge...) BTW, a simple volume *has* this information: --- Segments --- Logical extent 0 to 31: Type linear Physical volume /dev/sda3 Physical extents 1261 to 1292 I'm unable to convince lvdisplay to give me any information on, e.g., testlv0_mimage_0. And pvdisplay --maps does not display allocation maps up to 2.02.27, AFAIK. So does anybody have a way to find out on which PV the mirror parts are? Short of installing our own lvm2 RPM, of course. Or parsing the raw LVM config info on the disks... Thanks for any hint, Lupe Christoph -- | There is no substitute for bad design except worse design. | | /me | _______________________________________________ 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/