[linux-lvm] determining boot disk name(/dev/sd...) on RHEL LVM
Venkata rama krishna Boddu
venkat.boddu at ymail.com
Fri Apr 26 13:00:34 UTC 2013
Following two command worked for me.
$ dmsetup ls --tree
$ ls -la /dev/ | grep "8, 2"
brw-rw---- 1 root disk 8, 2 Apr 24 15:42 sda2
From: siva krishna <hisivakrishna at gmail.com>
To: linux-lvm at redhat.com
Sent: Friday, 26 April 2013 2:49 PM
Subject: [linux-lvm] determining boot disk name(/dev/sd...) on RHEL LVM
is there a way to determine the device name (eg: /dev/sda, /dev/sdb)
on lvm partitioned disks, when the os is booted from the lvm partitioned disk
and there are also multiple disks connected which are having lvm partions with same volume group names as the primary disk.
i tried doing vgdisplay
and then correlating it's output with cat /etc/fstab, cat /etc/cmdline
but there are multiple volume groups having the same name so can't find from which volume the RHEL is booting
linux-lvm mailing list
linux-lvm at redhat.com
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the linux-lvm