raid & label issues

Marius Nünnerich marius at nuenneri.ch
Mon Oct 20 20:40:47 UTC 2008


On Mon, Sep 1, 2008 at 2:57 PM, Max E. Kuznecov <syhpoon at 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 at 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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-geom
> To unsubscribe, send any mail to "freebsd-geom-unsubscribe at freebsd.org"
>


More information about the freebsd-geom mailing list