Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2006 16:39:08 +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:  <3131aa530603060739p2de1ac45h@mail.gmail.com>
In-Reply-To: <3131aa530603060638g6c056fdaj@mail.gmail.com>
References:  <3131aa530602271250r458dd9fep@mail.gmail.com> <Pine.WNT.4.64.0602272206350.1080@korben> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
I've changed the procedure... but no changes: the Raid Volume refuse to
works after the reboot.

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
volume raid5
plex org raid5 256k
sd length 102M drive disk_ad1
sd length 102M drive disk_ad2
sd length 102M drive disk_ad3

3. Create a filesystem on it:
/sbin/newfs -U /dev/gvinum/raid5

4. Mount it and put a file without problem

5. Reboot... Same problem.

Olivier


2006/3/6, Olivier Cochard < olivier@freenas.org>:
>
> Thanks for your remarks.
> I will try it.
>
> Olivier
>
>
> 2006/3/6, Lukas Ertl <le@freebsd.org>:
> >
> > On Mon, 6 Mar 2006, Olivier Cochard wrote:
> >
> > > /sbin/bsdlabel -w ad0s1 auto
> > >
> > > Editing the bsdlabel for each:
> > > - replacing c: by a:
> >
> > "Replacing" means what in this context?
> >
> > > - changing "unused" to "vinum"
> >
> > Shouldn't be necessary.
> >
> > > ---------------------------------------------------
> > > Step 2: Create this raid.conf file:
> > >
> > > drive disk_ad0 device /dev/ad0s1
> > > drive disk_ad1 device /dev/ad1s1
> > > drive disk_ad3 device /dev/ad3s1
> >
> > Why do you create a bsdlabel on the slices when you don't use it then?
> >
> > I suspect that's the source of the problems you have.
> >
> > Take the bsdlabel as it is generated by "bsdlabel -w", and don't replac=
e
> > anything in there.  Use the 'a' partition.
> >
> > regards,
> > le
> >
> > --
> > Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
> > le@FreeBSD.org                     http://people.freebsd.org/~le/<http:=
//people.freebsd.org/%7Ele/>
> > _______________________________________________
> > 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=
"
> >
>
>


--
Olivier Cochard
FreeNAS main developer
http://www.freenas.org
Skype: callto://ocochard



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