Actually I found another command that gives me more of what I am looking for but not everything...
lvs -o +devices
LV VG Attr LSize Origin Snap% Move Log Copy% Devices
LogVol00 VolGroup00 -wi-ao 20.53G /dev/cciss/c0d0p4(0)
LogVol01 VolGroup00 -wi-ao 39.81G /dev/cciss/c0d0p4(657)
u01 vg01 -wi-ao 725.53G /dev/dm-26(0)
u01 vg01 -wi-ao 725.53G /dev/dm-59(0)
u01 vg01 -wi-ao 725.53G /dev/dm-60(0)
u01 vg01 -wi-ao 725.53G /dev/dm-5(0)
u01 vg01 -wi-ao 725.53G /dev/dm-6(0)
u01 vg01 -wi-ao 725.53G /dev/dm-13(0)
u01 vg01 -wi-ao 725.53G /dev/dm-38(0)
u01 vg01 -wi-ao 725.53G /dev/dm-45(15)
u01 vg01 -wi-ao 725.53G /dev/dm-40(16)
u02 vg01 -wi-ao 1.00G /dev/dm-26(11328)
u02 vg01 -wi-ao 1.00G /dev/dm-40(0)
u03 vg01 -wi-ao 960.00M /dev/dm-26(11344)
u03 vg01 -wi-ao 960.00M /dev/dm-45(0)
u01 vg02 -wi-ao 9.31G /dev/dm-9(0)
export vg03 -wi--- 39.97G /dev/dm-28(0)
u99 vg04 -wi-ao 59.97G /dev/dm-29(0)
nfshome vg05 -wi--- 39.97G /dev/dm-30(0)
arch vg06 -wi--- 3.00G /dev/dm-16(384)
u01 vg06 -wi--- 5.00G /dev/dm-16(0)
u02 vg06 -wi--- 7.00G /dev/dm-18(0)
u03 vg06 -wi--- 7.00G /dev/dm-16(160)
u04 vg06 -wi--- 9.00G /dev/dm-18(224)
arch vg07 -wi--- 3.00G /dev/dm-32(256)
u01 vg07 -wi--- 3.00G /dev/dm-32(0)
u02 vg07 -wi--- 5.00G /dev/dm-33(0)
u03 vg07 -wi--- 5.00G /dev/dm-32(96)
u04 vg07 -wi--- 4.00G /dev/dm-33(160)
arch vg08 -wi--- 9.00G /dev/dm-54(0)
u01 vg08 -wi--- 5.00G /dev/dm-48(0)
u01 vg08 -wi--- 5.00G /dev/dm-48(1152)
u02 vg08 -wi--- 4.00G /dev/dm-48(96)
u03 vg08 -wi--- 3.00G /dev/dm-48(224)
u04 vg08 -wi--- 13.00G /dev/dm-48(320)
u05 vg08 -wi--- 13.00G /dev/dm-48(736)
If I could add the mpath information and the sdxx information to this listing it would be ideal. To answer your question though, this is the output format I am looking for. Of course this only shows what dm devices are in use but thats ok for now.
Last edited by wendtbd; 07-18-2007 at 07:19 AM.
|