[linux-lvm] Translating device name from sar to a filesystem

Scott Merrilees scott at merrilees.net
Wed Aug 8 07:49:26 UTC 2012


Try the following commands:

df -h
sudo  pvs -o +lv_name
ls -lL /dev/mapper /dev/sd*

which will allow you to map:
dev253-17 to /dev/mapper/vg-lv with device number 253, 17
dev8-0 to /dev/sda with device number 8, 0

then you can map these back up thru the lvm data provided by pvs,
and then up to file systems from df

--
Scott Merrilees


On Tue, Aug 7, 2012 at 11:18 PM, Reza Gholdor <gholdorreza at gmail.com> wrote:
> Hi All,
> I am a DBA trying to determine if I/O is a bottleneck for an Oracle 11g
> database running on RHEL 5.7 x64 on VmWare ESXi 4.1. I monitor disk activity
> using "sar -d" and get device names like dev8-0 and dev253-17. I have tried
> to translate these device names to filesystem names without succes. Can
> someone provide instructions on how to find filesystem build on a device
> name from "sar -d"? Are there any giudeline or better commands for
> determining if I/O is a bottleneck?
> Appreciate any help.
> Regards,
> Reza
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list