All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marian Csontos <mcsontos@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: siva krishna <hisivakrishna@gmail.com>
Subject: Re: [linux-lvm] determining boot disk name(/dev/sd...) on RHEL LVM
Date: Fri, 26 Apr 2013 17:26:11 +0200	[thread overview]
Message-ID: <517A9C93.8030804@redhat.com> (raw)
In-Reply-To: <CAJbV6UOaAHcrP8272Jtbb2Yo8edk7P4=Evr4iHxVY3hM2J-Psg@mail.gmail.com>

On 04/26/2013 11:19 AM, siva krishna wrote:
> 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.

lsblk should give you an answer on running system.

>
> 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

You can not have running system with multiple VGs with same name.

I guess you mean the volume group spans over multiple disks, right?

If you happen to really have multiple VGs with same name, you have to 
fix VG names - search for words duplicate vg name.

-- Marian

>
> 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/
>

      parent reply	other threads:[~2013-04-26 15:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26  9:19 [linux-lvm] determining boot disk name(/dev/sd...) on RHEL LVM siva krishna
2013-04-26 13:00 ` Venkata rama krishna Boddu
2013-04-26 15:26 ` Marian Csontos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=517A9C93.8030804@redhat.com \
    --to=mcsontos@redhat.com \
    --cc=hisivakrishna@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.