vgdisplay -v   should show you which /dev/dasd devices make up the volume
group ..   lvdisplay -v also I believe..     I wrote a 'showdasd' command
long ago that showed how all the dasd attached to Linux was being used ..
part of an lvm, mounted directly, not used, etc.

Scott Rohling

On Wed, Aug 11, 2010 at 10:27 AM, Donald Russell <russell....@gmail.com>wrote:

> df seems to work for devices that aren't part of a logical volume group.
>
> df shows me that /dev/dasda1 is /boot
> but all the others are showing me things like:
> /dev/mapper/log--vg-log
>                     211585400 117381016  83456480  59% /db2log
>
> I've been trying lvdisplay, pvdisplay, vgdisplay etc, but I'm not finding
> how to map that back to the /dev/sd?? disk...
>
> I think once I get this, I'll write a script to answer the eternal
> questions?
> "Which disk is file/directory x on"? and "Which real disk is /dev/<x>"?
>
> Thanks
>
>
>
> On Wed, Aug 11, 2010 at 09:00, Mark Pace <pacemainl...@gmail.com> wrote:
>
> > df   should be what you are looking for.
> >
> > On Wed, Aug 11, 2010 at 11:49 AM, Donald Russell <russell....@gmail.com
> > >wrote:
> >
> > > If I have a device, /dev/sda or /dev/hda how do I determine which
> > > filesystem
> > > or directories are on that disk?
> >
>
> ----------------------------------------------------------------------
> 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
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
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
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to