From owner-freebsd-geom@FreeBSD.ORG Mon Mar 6 16:21:58 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A18816A420 for ; Mon, 6 Mar 2006 16:21:58 +0000 (GMT) (envelope-from cochard@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3260343D4C for ; Mon, 6 Mar 2006 16:21:54 +0000 (GMT) (envelope-from cochard@gmail.com) Received: by nproxy.gmail.com with SMTP id o25so915623nfa for ; Mon, 06 Mar 2006 08:21:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:references; b=KTGUyQz3BigtUCQyf7/rMxhFW4rKQgrGelK0saGlB6k+sZaqAZy3X5vWAssyFk2TE1/QTjHXquQTmPlhBCfjHS1bbhVuxp6doRY41CSFyQUwfq8GhVTwUN/plB/y/bl6wzjE8QudJeVLXz6BhLDzbbc1w0BoxYK0v3krz96r+4w= Received: by 10.48.49.1 with SMTP id w1mr2490309nfw; Mon, 06 Mar 2006 08:21:52 -0800 (PST) Received: by 10.48.216.14 with HTTP; Mon, 6 Mar 2006 08:21:52 -0800 (PST) Message-ID: <3131aa530603060821m53a307h@mail.gmail.com> Date: Mon, 6 Mar 2006 17:21:52 +0100 From: "Olivier Cochard" Sender: cochard@gmail.com To: "Lukas Ertl" In-Reply-To: <20060306164339.J32814@pcle2.cc.univie.ac.at> MIME-Version: 1.0 References: <3131aa530602271250r458dd9fep@mail.gmail.com> <3131aa530602271316n479af14fi@mail.gmail.com> <3131aa530602271330t5b94992ei@mail.gmail.com> <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> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-geom@freebsd.org Subject: Re: Gvinum RAID5 volume don't work after a simple reboot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Olivier Cochard List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 16:21:58 -0000 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 : > > 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/ >