Re: Install and RAID
On Tuesday 23 January 2001 01:10, Martin Waitz wrote:
> > No. /etc/fstab will reference /dev/mdX devices, which just "are not
> > there" with a kernel that has no software raid support compiled in.
> >
> > The corresponding /dev/hdXX devices contain the data, are "mountable"
> > and work 100%, but if fstab tells the kernel that the /usr filesystem is
> > to be mounted from /dev/md2, no "raidless" kernel will figure out that
> > it needs to mount /dev/hda5 instead.
>
> will it work with filesystem labels?
>
> from mount(8):
> -L label Mount the partition that has the specified label.
>
> with something like this in /etc/fstab
> LABEL=label /mnt ext2 default 0 2
>
> will the kernel be confused, if /dev/sda1 and /dev/md0 contain the same
> label, or will it just take /dev/md0?
>
> /me doesn't have raid compiled in, could anyone check this?
>
>
> using labels would be good anyway, as the user could swap his disks
> (primarys/secondar, master/slave, scsi-ids) without making the system
> unbootable
Software RAID has it's own system of labels which allows you to swap disks
around and preserve /dev/md0 /dev/md3 etc. So you can mount /dev/md0 instead
of mounting the label and achieve all the benefits you would have achieved
from mounting by label.
--
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page
Reply to: