<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt">Following two command worked for me.<br><br>$ dmsetup ls --tree<br>vg_node-lv_swap (253:1)<br> └─ (8:2)<br>vg_node-lv_root (253:0)<br> └─ (8:2)<br>$ ls -la /dev/ | grep "8,   2"<br>brw-rw----   1 root disk      8,   2 Apr 24 15:42 sda2<div><span></span></div><div> </div><div>Thanks<br>Venkat<br>Mobile: +91-9503043606</div><div><br></div>  <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> siva krishna <hisivakrishna@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b>
 linux-lvm@redhat.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, 26 April 2013 2:49 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [linux-lvm] determining boot disk name(/dev/sd...) on RHEL LVM<br> </font> </div> <div class="y_msg_container"><br><div id="yiv9591538455"><div>Hi all,</div>
<div> </div>
<div>is there a way to determine the device name (eg: /dev/sda, /dev/sdb)</div>
<div>on lvm partitioned disks,  when the os is booted from the lvm partitioned disk</div>
<div>and there are also multiple disks connected which are having lvm partions with same volume group names as the primary disk.</div>
<div> </div>
<div>i tried doing vgdisplay</div>
<div> and then correlating it's output with cat /etc/fstab, cat /etc/cmdline</div>
<div> </div>
<div>but there are multiple volume groups having the same name so can't find from which volume the RHEL is booting</div>
<div> </div>
<div>Thanks</div>
<div>siva</div></div><br>_______________________________________________<br>linux-lvm mailing list<br><a ymailto="mailto:linux-lvm@redhat.com" href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br><br></div> </div> </div>  </div></body></html>