Gvinum RAID5 volume don't work after a simple reboot
Olivier Cochard
olivier at freenas.org
Mon Mar 6 08:21:58 PST 2006
Sorry, I missunderstand your last email.
I've changed the procedure... and same problem at reboot.
Here is the new procedure:
/bin/dd if=/dev/zero of=/dev/ad0 bs=1k count=20
/sbin/fdisk -I -b /boot/mbr ad0
/bin/dd if=/dev/zero of=/dev/ad0s1 bs=32k count=16
/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 at 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=/dev/zero of=/dev/ad0 bs=1k count=20");
> > /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 at FreeBSD.org http://people.freebsd.org/~le/
>
More information about the freebsd-geom
mailing list