Re: determining boot disk name(/dev/sd...) on RHEL LVM

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

 



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@gmail.com>
To: linux-lvm@redhat.com
Sent: Friday, 26 April 2013 2:49 PM
Subject: 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@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
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