[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
vg_node-lv_swap (253:1)
└─ (8:2)
vg_node-lv_root (253:0)
└─ (8:2)
$ ls -la /dev/ | grep "8, 2"
brw-rw---- 1 root disk 8, 2 Apr 24 15:42 sda2
Thanks
Venkat
Mobile: +91-9503043606
________________________________
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
Hi all,
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
Thanks
siva
_______________________________________________
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20130426/9b903358/attachment.htm>
More information about the linux-lvm
mailing list