From owner-freebsd-geom@FreeBSD.ORG Tue May 15 11:37:04 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D28D16A404 for ; Tue, 15 May 2007 11:37:04 +0000 (UTC) (envelope-from eike@unorganized.net) Received: from segfault.0xC0DE.de (0xc0de.de [81.169.134.74]) by mx1.freebsd.org (Postfix) with ESMTP id 2CEA913C44B for ; Tue, 15 May 2007 11:37:03 +0000 (UTC) (envelope-from eike@unorganized.net) Received: from localhost (localhost [127.0.0.1]) by segfault.0xC0DE.de (Postfix) with ESMTP id 6D2534A08 for ; Tue, 15 May 2007 13:37:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at 0xC0DE.de Received: from segfault.0xC0DE.de ([127.0.0.1]) by localhost (segfault.0xC0DE.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dMXetzcFRYEj for ; Tue, 15 May 2007 13:37:00 +0200 (CEST) Received: from [192.168.100.29] (p54811CB8.dip0.t-ipconnect.de [84.129.28.184]) by segfault.0xC0DE.de (Postfix) with ESMTP id 454D04988 for ; Tue, 15 May 2007 13:37:00 +0200 (CEST) Message-ID: <46499B56.3020000@unorganized.net> Date: Tue, 15 May 2007 13:36:54 +0200 From: Eike Bernhardt User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: <46442175.60508@unorganized.net> <20070511084018.GA38860@garage.freebsd.pl> <20070511112335.698620bf@whirpool.lse.ac.uk> <464495F1.4080108@unorganized.net> <20070513032317.GA15556@garage.freebsd.pl> In-Reply-To: <20070513032317.GA15556@garage.freebsd.pl> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: Growing a graid3? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 11:37:04 -0000 On 13.05.2007 5:23 Uhr, Pawel Jakub Dawidek wrote: > On Fri, May 11, 2007 at 06:12:33PM +0200, Eike Bernhardt wrote: >> On 11.05.2007 14:14 Uhr, Eike Bernhardt wrote: >>> On 11.05.2007, at 12:23, vladimir konrad wrote: >>> >>>>> growfs: we are not growing (8191->8191) >>>> is there a disk label on the raid? >>> I haven't added one explicitly, just did a >>> >>> graid3 label test md{0,1,2} >>> newfs /dev/raid3/test >>> >>> as stated in Pawel's example and the one in graid3(8) >> I just testet this with md devices and gmirror, without adding a disk >> label -- there growfs works as expected .. ie. resizes the filesystem >> successfully. > > My guess is that growfs(8) doesn't handle sector different that 512 > properly... (graid3 gives (-1)*512 sectors) If I understand the growfs code correctly (and I'm not shure I do), then it tries to adjust the device size in a superblock copy, and exits since it believes that the filesystem is not growing (line 2141ff). I'll try to get some more information, but I'm not really used to debug filesystem code ... Schoenen Gruss! -- Eike Bernhardt http://unorganized.net/ ICQ: 11256658 "Do not meddle in the affairs of SysAdmins, for you are crunchy and taste good with ketchup."