Re: Translating device name from sar to a filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Scott Merrillees,
Thank you very much for the information! I have not figured out what additional info I can get from pvs but between df, ls and the fact that the digits following dev are major and minor numbers of the device, I can find what I needed.
Appreciate your help.
Regards
Reza
===========================================
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 9:18 AM, Reza Gholdor <gholdorreza@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@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux