From owner-freebsd-fs@FreeBSD.ORG Sat Jun 10 21:06:20 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A45DE16A4A5 for ; Sat, 10 Jun 2006 21:06:20 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30305.mail.mud.yahoo.com (web30305.mail.mud.yahoo.com [68.142.200.98]) by mx1.FreeBSD.org (Postfix) with SMTP id A18034429F for ; Sat, 10 Jun 2006 20:46:22 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 78899 invoked by uid 60001); 10 Jun 2006 20:46:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JKhVp5KytW3iHC+3zWWPmdL3vFv2lxtF2+FC/TIqyVgL7b0a4zW286LfQWgtNnPFHA8EO7XvFKT4ijKejoYmFsKwsTJQfrpyX9qf4aUuk4wtbEkqz6Tue9SEC3OGxCuVQPqeBUVkJo8ostUmbQDnRe9zaySI+fXCpGZroOvJhQE= ; Message-ID: <20060610204621.78897.qmail@web30305.mail.mud.yahoo.com> Received: from [213.54.74.233] by web30305.mail.mud.yahoo.com via HTTP; Sat, 10 Jun 2006 13:46:21 PDT Date: Sat, 10 Jun 2006 13:46:21 -0700 (PDT) From: "R. B. Riddick" To: gorgonite@freesurf.fr, freebsd-fs@freebsd.org In-Reply-To: <51067.82.67.244.132.1149969912.squirrel@jose.freesurf.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: [gvinum] add a disk in concat mode X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jun 2006 21:06:21 -0000 Hi! I just crashed my box with the kernel module "geom_vinum". Now I remember better again, why I do not use geom_vinum but geom_mirror and geom_stripe... :-)) Did you try to use geom_concat instead of geom_vinum? Maybe it even works with some luck, when u do it like this: 0. Back up your file system on /dev/ad0... ;-)) 1. Back up the last sector of your /dev/ad0 (because: it could contain important file system data) to /dev/ad2 (first sector *nudge* *nudge*). :-) When we concat later, everything would be as before... 2. Do it like the man page (gconcat(8)) explains it (but without the newfs command): gconcat label data /dev/da0 /dev/da2 growfs /dev/concat/data 3. tahdah...! ;-)) Maybe you should try to get rid of geom_vinum before you do it, so that geom_vinum cannot interfere with geom_concat... I wish u good luck! ;-) Bye Arne --- Gorgonite wrote: > Hello, > > > > I hope the gvinum list will give you enough pieces of information to be able > to help me. > > ------------------------------------- > > data# gvinum > gvinum -> start > gvinum -> list > 2 drives: > D a State: up /dev/ad0 A: 9007/286188 MB > (3%)D b State: up /dev/ad2 A: 6122/194480 MB > (3%) > 1 volume: > V myvol State: up Plexes: 2 Size: 183 GB > > 2 plexes: > P myvol.p0 C State: up Subdisks: 1 Size: 270 GB > P myvol.p1 C State: down Subdisks: 1 Size: 183 GB > > 2 subdisks: > S myvol.p0.s0 State: up D: a Size: 270 GB > S myvol.p1.s0 State: stale D: b Size: 183 GB > > ------------------------------------- > > Thanks. > > > > Hello, > > > > > > I run on FreeBSD v6.1 > > I have a disk with 300Go (/dev/ad0) in concat mode with gvinum > > (myvol.p0) I would like to add a disk of 200Go (/dev/ad2) on this > > volume, but without erasing my previous data (ad0) > > > > I executed this script > > > > Code: > > #! /bin/sh dd if=/dev/zero of=/dev/ad2 count=2 disklabel /dev/ad2 | > > disklabel -B -R -r ad2 /dev/stdin newsfs /dev/ad2c gvinum create > > gvinum.conf > > > > > > with this gvinum.conf > > > > Code: > > drive b device /dev/ad2c plex name myvol.p1 org concat vol myvol sd > > length 188358m drive b > > > > > > > > it seems to be okay for gvinum... and I wanted to update my "partition" > > > > Code: > > growfs -S "483g" /dev/gvinum/myvol > > > > > > > > but it failed with "grow is not growing..." > > > > > > Can anyone help me, please ? > > Thanks. > > > > > > ps: sorry for my bad english :'( > > > > > > _______________________________________________ > > freebsd-fs@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com