linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Alessandro MACUZ <alessandro.macuz@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] Mirrored LVM volumes and UUID
Date: Fri, 20 Sep 2013 13:30:24 +0200	[thread overview]
Message-ID: <CAFrGbuXqastwqEG3J5Vc7LeuiK3_SGr3GDkoaeMAJEW3FUEO+A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

Hi all,

I can't seem to find such answer on the net.

I use mirrored volumes and blkid returns the same UUID for the "raid"
volume and the underlying volumes

/dev/mapper/lvm01-root_mimage_0:
UUID="0b88ad6f-34ed-46d6-abe3-eca0d235b353" TYPE="ext4"
/dev/mapper/lvm01-root_mimage_1:
UUID="0b88ad6f-34ed-46d6-abe3-eca0d235b353" TYPE="ext4"
/dev/mapper/lvm01-root: UUID="0b88ad6f-34ed-46d6-abe3-eca0d235b353"
TYPE="ext4"

Then such ID is used in fstab to mount root based... on UUID.

I wonder how fstab knows that it must use /dev/mapper/lvm01-root and not
the others since the three of them share the same UUID, and if by accident
the others can be erroneusly used/mounted.

Has anyone thought of it? Or it's just me?

Alex

[-- Attachment #2: Type: text/html, Size: 1018 bytes --]

             reply	other threads:[~2013-09-20 11:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-20 11:30 Alessandro MACUZ [this message]
2013-09-23  7:39 ` [linux-lvm] Mirrored LVM volumes and UUID Peter Rajnoha
2013-09-25  0:24   ` Alessandro MACUZ

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=CAFrGbuXqastwqEG3J5Vc7LeuiK3_SGr3GDkoaeMAJEW3FUEO+A@mail.gmail.com \
    --to=alessandro.macuz@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).