On Apr 1, 10:40pm, Theo Van Dinter wrote:
} Subject: RAID Devices and FS labels

> On my home machine today, I decided to change how the filesystems are listed
> in /etc/fstab from the standard /dev/name to FS labels:
> 
> LABEL=ROOT            /                       ext2    defaults        1 1
> LABEL=USR             /usr                    ext2    defaults        1 2

... [ deleted ] ...

> Does anyone know how the tools would handle this situation?  I'd assume that
> given a list of devices and labels, the RAID devices would come up first, and
> then the individual partitions, but I'm not sure how this works WRT mount,
> fsck, etc.
> 
> Any ideas?  Thanks.

As you have already anticipated there are problems associated with
using volume and filesystem label based mounting with RAID1 mirrors.
I can attest from personal experience that you will end up mounting
the underlying physical mirrors rather than the virtual block device.

I had initiated a thread about this a couple of months ago when I ran
into problems trying to get this to work.  The issue got batted around
a little and the general consensus was that this is indeed a problem.

There were essentially no good solutions proposed at that time other
than the notion of some heuristics.  The overall consensus was that
the /proc/partitions pseudo-file has to either present the /dev/md*
devices first or mount has to explicitly look for labels on them
before considering the actual physical block devices.

Hopefully this information is helpful.

Greg

}-- End of excerpt from Theo Van Dinter

As always,
Dr. G.W. Wettstein, Ph.D.   Enjellic Systems Development, Inc.
4206 N. 19th Ave.           Specializing in information infra-structure
Fargo, ND  58102            development.
PH: 701-281-4950            WWW: http://www.enjellic.com
FAX: 701-281-3949           EMAIL: [EMAIL PROTECTED]
------------------------------------------------------------------------------
"I'd rather see my sister in a whorehouse than my brother using windows."
                                -- Sam Creasey

Reply via email to