lvdisplay -m /dev/<VG name>/<LV name> will display the physical volumes and extents for a logical volume.
Pvscan will tell what physical volumes belongs to what volume group, if any. Lvscan will tell what logical volumes are defined. Best regards, Pieter Harder pieter.har...@brabantwater.nl tel +31-73-6837133 / +31-6-47272537 -----Oorspronkelijk bericht----- Van: Linux on 390 Port [mailto:linux-...@vm.marist.edu] Namens Bruce Hayden Verzonden: woensdag 24 februari 2010 15:34 Aan: LINUX-390@VM.MARIST.EDU Onderwerp: Re: How to tell what logical volume is called dm-7 The only way I figured out how to do it is to compare the minor numbers of the /dev/dm-* files with the /dev/mapper/* files and match them up. On Wed, Feb 24, 2010 at 9:14 AM, Ron Foster at Baldor-IS <rfos...@baldor.com> wrote: > Hello list, > > We are having a problem with a file system. We are using lvm. The > message is telling us we have a problem with dm-7. How do we tell which > logical volume is represented by dm-7. > > Thanks, > ROn > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- Bruce Hayden z/VM and Linux on System z ATS IBM, Endicott, NY ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 Brabant Water N.V. Postbus 1068 5200 BC 's-Hertogenbosch http://www.brabantwater.nl Handelsregister: 16005077 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390