Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2008 22:40:45 +0200
From:      "=?ISO-8859-1?Q?Marius_N=FCnnerich?=" <marius@nuenneri.ch>
To:        "Max E. Kuznecov" <syhpoon@syhpoon.name>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: raid & label issues
Message-ID:  <b649e5e0810201340j652a8808qce2beb557e2d49b5@mail.gmail.com>
In-Reply-To: <20080901125709.GA26304@syhpoon-portaone.portaone.com>
References:  <20080901125709.GA26304@syhpoon-portaone.portaone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 1, 2008 at 2:57 PM, Max E. Kuznecov <syhpoon@syhpoon.name> wrote:
> Hi,
> I have a RAID1 created with atacontrol.
> After installation I create a label, say: tunefs -L root /dev/ar0s1a
> and put /def/ufs/root as rootfs into fstab.
> So I expect the system will boot from raid (ar0s1a) device, but it
> won't.
>
> It occurs that tunefs create label not only on ar0 device itself but on
> the raid components as well, in my case they are ad4 and ad6.
>
> And after reboot I've got my system booted from ad4, i.e. the first
> device with 'root' label on it. I've skimmed through the geom_label
> sources and, indeed, it creates /dev/ufs/<label> entry for the first
> device it tastes, and all the subsequent are ignored.
>
> So the question is - is it possible to overcome this situtation and
> force system to boot from right device?

Sorry, as far as I know it's currently not possible. Other people have
reported similar issues.

>
> My setup:
>
> # uname -sr
> FreeBSD 6.3-RELEASE
>
> # pciconf -lv
> atapci0@pci0:31:1:      class=0x01018a card=0x24d08086 chip=0x24db8086 rev=0x02 hdr=0x00
>    vendor     = 'Intel Corporation'
>    device     = '82801EB/ER (ICH5/ICH5R) EIDE Controller'
>    class      = mass storage
>    subclass   = ATA
> atapci1@pci0:31:2:      class=0x01018f card=0x24d18086 chip=0x24d18086 rev=0x02 hdr=0x00
>    vendor     = 'Intel Corporation'
>    device     = '82801EB (ICH5) SATA Controller'
>    class      = mass storage
>    subclass   = ATA
>
> # dmesg | grep RAID
> hptrr: HPT RocketRAID controller driver v1.1 (Jan 16 2008 04:16:19)
> ar0: WARNING - mirror protection lost. RAID1 array in DEGRADED mode
> ar0: 76319MB <Intel MatrixRAID RAID1> status: DEGRADED
>
> Thanks
>
> --
> ~syhpoon
> _______________________________________________
> freebsd-geom@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-geom
> To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b649e5e0810201340j652a8808qce2beb557e2d49b5>