From mboxrd@z Thu Jan 1 00:00:00 1970 From: "michael@kmaclub.com" Subject: Re: Confused about UUID mounting and mirrors Date: Tue, 17 Jun 2008 07:19:40 -0700 Message-ID: <4857C7FC.9000000@kmaclub.com> References: <4856A8C6.3030609@kmaclub.com> <4856CFE1.1020105@ziu.info> <4856DB4C.20905@kmaclub.com> <4856DD5B.9050303@dgreaves.com> <485721A5.3080101@kmaclub.com> <48576394.8090609@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48576394.8090609@msgid.tls.msk.ru> Sender: linux-raid-owner@vger.kernel.org To: Michael Tokarev Cc: David Greaves , Michal Soltys , linux-raid@vger.kernel.org List-Id: linux-raid.ids Michael Tokarev wrote: > michael@kmaclub.com wrote: > [] >> mdadm --detail /dev/md0 | grep UUID >> UUID : 3531a48d:1180bdf3:bfcd9e76:5b7e5957 > > This is a RAID (md) -- i.e., device, UUID. Think of it > as of disk drive serial number for example -- look at > /dev/disk/by-id/. > >> mount -U 3531a48d:1180bdf3:bfcd9e76:5b7e5957 /mnt >> mount: no such partition found > > And mount expects *filesystem* UUID, not a device UUID. > I.e., the UUID which was written by mkfs. For a ext[234]fs, > tune2fs -l /dev/md0 will show it; for other filesystems > use appropriate tools. I understand. I was trying this based on a suggestion further back in this thread. Using the filesystem ID doesn't work either because /dev/sda, /dev/sdb, and /dev/md0 all have the same UUID since it is a mirror. How do you tell the system to mount /dev/md0 and not the individual drives which is what it is trying to do now. Michael