From owner-freebsd-geom@FreeBSD.ORG Mon Mar 6 15:39:22 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 686F116A420 for ; Mon, 6 Mar 2006 15:39:22 +0000 (GMT) (envelope-from cochard@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2E9443D67 for ; Mon, 6 Mar 2006 15:39:09 +0000 (GMT) (envelope-from cochard@gmail.com) Received: by nproxy.gmail.com with SMTP id l37so891559nfc for ; Mon, 06 Mar 2006 07:39:08 -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=XA9f1j8xR5uD+9WSfAbmbESLLJPiPCK34LroYIzTQ93ki3KjJtlGVTiDOA/iBOrsHH/T3YHA07PD7g9+IxdijmiTV6neerwLZ+DNQnL460tCXhN45PF6nHQdVEToUjKd2m2EVj7OOHP4IHu3aev/LtNN32gUIUd3DRPsPPC49iE= Received: by 10.48.226.12 with SMTP id y12mr2488079nfg; Mon, 06 Mar 2006 07:39:08 -0800 (PST) Received: by 10.48.216.14 with HTTP; Mon, 6 Mar 2006 07:39:08 -0800 (PST) Message-ID: <3131aa530603060739p2de1ac45h@mail.gmail.com> Date: Mon, 6 Mar 2006 16:39:08 +0100 From: "Olivier Cochard" Sender: cochard@gmail.com To: "Lukas Ertl" In-Reply-To: <3131aa530603060638g6c056fdaj@mail.gmail.com> 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> 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 15:39:22 -0000 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 : > > > > 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/ > > _______________________________________________ > > 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