From: "michael@kmaclub.com" <michael@kmaclub.com>
To: David Greaves <david@dgreaves.com>
Cc: Michal Soltys <soltys@ziu.info>, linux-raid@vger.kernel.org
Subject: Re: Confused about UUID mounting and mirrors
Date: Mon, 16 Jun 2008 19:29:57 -0700 [thread overview]
Message-ID: <485721A5.3080101@kmaclub.com> (raw)
In-Reply-To: <4856DD5B.9050303@dgreaves.com>
David Greaves wrote:
> michael@kmaclub.com wrote:
>> UUID=8e651838-38c1-4783-8bde-4174ec484d52 / ext3 defaults 1 1
>> UUID=aaeca70c-f0fe-470c-b631-87248648d275 /export xfs defaults,nobarrier
>> 1 2
>> UUID=6e22c5b0-2874-4826-a871-ed733f8da643 swap swap defaults 0 0
>> UUID=323cd094-4cbe-4c3b-9096-366c05465e7c /export/services xfs defaults 1 2
>>
>> so it is referring to the UUID of the filesystem and not necessarily the
>> device. Some are single partitions, some md devices, and some sit on
>> top of LVM.
>
> What does :
> mdadm --detail /dev/md0 | grep UUID
> show?
>
> I think it will give you the UUID of the md device, not the fs on the md device
> (which as you have seen is also the UUID of the fs visible on the md components)
That does return a UUID, but it is a slightly different format
mdadm --detail /dev/md0 | grep UUID
UUID : 3531a48d:1180bdf3:bfcd9e76:5b7e5957
versus something like:
6e22c5b0-2874-4826-a871-ed733f8da643
I tried adding it to /etc/fstab as well as just using mount -U <uuid>
and both fail complaining that:
mount -U 3531a48d:1180bdf3:bfcd9e76:5b7e5957 /mnt
mount: no such partition found
I tried replacing the : with - to match the format in /etc/fstab with no
success.
mount -U 3531a48d-1180bdf3-bfcd9e76-5b7e5957 /mnt
mount: no such partition found
I also tried formatting it the same in terms of the - location
mount -U 3531a48d-1180-bdf3-bfcd-9e765b7e5957 /mnt
mount: no such partition found
Is anyone mounting a mirrored /boot using UUID's?
Michael
next prev parent reply other threads:[~2008-06-17 2:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-16 17:54 Confused about UUID mounting and mirrors michael
2008-06-16 20:41 ` Michal Soltys
2008-06-16 21:29 ` michael
2008-06-16 21:38 ` David Greaves
2008-06-17 2:29 ` michael [this message]
2008-06-17 7:11 ` Michael Tokarev
2008-06-17 14:19 ` michael
2008-06-17 16:10 ` Clive Messer
2008-06-18 14:00 ` Michael Tokarev
2008-06-18 14:42 ` michael
2008-06-20 2:17 ` michael
2008-06-17 19:17 ` Peter Grandi
2008-06-17 21:37 ` Michal Soltys
2008-06-19 3:56 ` Neil Brown
2008-06-22 20:05 ` Bill Davidsen
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=485721A5.3080101@kmaclub.com \
--to=michael@kmaclub.com \
--cc=david@dgreaves.com \
--cc=linux-raid@vger.kernel.org \
--cc=soltys@ziu.info \
/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).