From owner-freebsd-geom@FreeBSD.ORG Tue Mar 14 22:59:30 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 9305816A424 for ; Tue, 14 Mar 2006 22:59:30 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 455CC43D48 for ; Tue, 14 Mar 2006 22:59:29 +0000 (GMT) (envelope-from cochard@gmail.com) Received: by nproxy.gmail.com with SMTP id k26so484150nfc for ; Tue, 14 Mar 2006 14:59:27 -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=ZCetNQP5XiOD4qWhHIm4pqKDy4aVOYL/j62Bw8o8iGBQxIFI+9yR+e6axHpjiURQ/oVGPEzUltCHmWxLMbi7XB8r/44EQBBUIvrimI1roJC1NHOiDYmfctcA9x6x29BMXQigMv0LugHO5F+6Ar7S1LO7ps9DQFqBshKEm11pWOc= Received: by 10.48.212.7 with SMTP id k7mr1583189nfg; Tue, 14 Mar 2006 14:59:27 -0800 (PST) Received: by 10.48.216.14 with HTTP; Tue, 14 Mar 2006 14:59:27 -0800 (PST) Message-ID: <3131aa530603141459ge9bf401u@mail.gmail.com> Date: Tue, 14 Mar 2006 23:59:27 +0100 From: "Olivier Cochard" Sender: cochard@gmail.com To: "Lukas Ertl" In-Reply-To: MIME-Version: 1.0 References: <3131aa530603111021x183cdb67y@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: problem for adding drives 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: Tue, 14 Mar 2006 22:59:30 -0000 Is the 'sd length 0 drive' works for all RAID type ? Thanks, Olivier 2006/3/11, Lukas Ertl : > > On Sat, 11 Mar 2006, Olivier Cochard wrote: > > > And here is the commands used (example for 1 disk): > > > > /bin/dd if=3D/dev/zero of=3D/dev/ad2 bs=3D1k count=3D20 > > /sbin/fdisk -I -b /boot/mbr ad2 > > /bin/dd if=3D/dev/zero of=3D/dev/ad2s1 bs=3D32k count=3D16 > > /sbin/bsdlabel -w ad2s1 auto > > > > the raid.conf file: > > drive disk_ad2 device /dev/ad2s1a > > drive disk_ad3 device /dev/ad3s1a > > volume V > > plex org concat > > sd length 194479M drive disk_ad2 > > sd length 194479M drive disk_ad3 > > I'm not sure what's happening here either, but if they want to use the > whole drive they may just set "sd length 0 drive ..." to autosize it. > > regards, > le > > -- > Lukas Ertl http://homepage.univie.ac.at/l.ertl/ > le@FreeBSD.org http://people.freebsd.org/~le/ > -- Olivier Cochard FreeNAS main developer http://www.freenas.org Skype: callto://ocochard