Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2006 17:21:52 +0100
From:      "Olivier Cochard" <olivier@freenas.org>
To:        "Lukas Ertl" <le@freebsd.org>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Gvinum RAID5 volume don't work after a simple reboot
Message-ID:  <3131aa530603060821m53a307h@mail.gmail.com>
In-Reply-To: <20060306164339.J32814@pcle2.cc.univie.ac.at>
References:  <3131aa530602271250r458dd9fep@mail.gmail.com> <3131aa530602271316n479af14fi@mail.gmail.com> <Pine.WNT.4.64.0602272227470.1080@korben> <3131aa530602271330t5b94992ei@mail.gmail.com> <Pine.WNT.4.64.0602272234530.1080@korben> <3131aa530603060619o6fd23c8bl@mail.gmail.com> <20060306152245.I32814@pcle2.cc.univie.ac.at> <3131aa530603060638g6c056fdaj@mail.gmail.com> <3131aa530603060739p2de1ac45h@mail.gmail.com> <20060306164339.J32814@pcle2.cc.univie.ac.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, I missunderstand your last email.

I've changed the procedure... and same problem at reboot.

Here is the new procedure:

/bin/dd if=3D/dev/zero of=3D/dev/ad0 bs=3D1k count=3D20
/sbin/fdisk -I -b /boot/mbr ad0
/bin/dd if=3D/dev/zero of=3D/dev/ad0s1 bs=3D32k count=3D16
/sbin/bsdlabel -w ad0s1 auto

the raid.conf file:
drive disk_ad1 device /dev/ad1s1a
drive disk_ad2 device /dev/ad2s1a
drive disk_ad3 device /dev/ad3s1a
volume raid5
plex org raid5 256k
sd length 102M drive disk_ad1
sd length 102M drive disk_ad2
sd length 102M drive disk_ad3


Olivier


2006/3/6, Lukas Ertl <le@freebsd.org>:
>
> On Mon, 6 Mar 2006, Olivier Cochard wrote:
>
> > Here is the new procedure I've used:
> >
> > 1. initializing hard drive:
> > /bin/dd if=3D/dev/zero of=3D/dev/ad0 bs=3D1k count=3D20");
> > /sbin/fdisk -I -b /boot/mbr ad0
> > /sbin/bsdlabel -w ad0 auto
> >
> > 2. Generating config file:
> > $ cat /var/etc/raid.conf
> > drive disk_ad1 device /dev/ad1a
> > drive disk_ad2 device /dev/ad2a
> > drive disk_ad3 device /dev/ad3a
>
> Why don't you just use a BIOS slice and a bsdlabel, like "ad0s1a"?
>
> regards,
> le
>
> --
> Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
> le@FreeBSD.org                     http://people.freebsd.org/~le/
>



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