From owner-freebsd-geom@FreeBSD.ORG Fri May 11 10:09:12 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 6BAFC16A402; Fri, 11 May 2007 10:09:12 +0000 (UTC) (envelope-from eike@unorganized.net) Received: from physnet.physik.uni-oldenburg.de (physnet.physik.uni-oldenburg.de [134.106.31.103]) by mx1.freebsd.org (Postfix) with ESMTP id 2C45213C459; Fri, 11 May 2007 10:09:12 +0000 (UTC) (envelope-from eike@unorganized.net) Received: by physnet.physik.uni-oldenburg.de (Postfix, from userid 65534) id 6BC6C4080; Fri, 11 May 2007 11:51:15 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on physnet.physik.uni-oldenburg.de X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 Received: from [134.106.31.105] (knote.physik.uni-oldenburg.de [134.106.31.105]) by physnet.physik.uni-oldenburg.de (Postfix) with ESMTP id E6A45A8A90; Fri, 11 May 2007 11:51:10 +0200 (CEST) In-Reply-To: <20070511084018.GA38860@garage.freebsd.pl> References: <46442175.60508@unorganized.net> <20070511084018.GA38860@garage.freebsd.pl> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Eike Bernhardt Date: Fri, 11 May 2007 11:51:15 +0200 To: Pawel Jakub Dawidek X-Mailer: Apple Mail (2.752.3) Cc: freebsd-geom@freebsd.org 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: Fri, 11 May 2007 10:09:12 -0000 On 11.05.2007, at 10:40, Pawel Jakub Dawidek wrote: > It should be possible. First you swap one disk after another > waiting for > synchronization. Once you have all new disks in place, you need to > relabel your graid3 (it won't touch your data) and then growfs(8) it. > You can try it with md(4) devices, eg: *snip* > # growfs /dev/raid3/test > # mount -o ro /dev/raid3/test /mnt/test > # dd if=/mnt/test/rand bs=1m count=12 | md5 # verify if file is ok > again > > Something like this. Well, I just tried this with md devices, this works fine up to the growfs step: # growfs /dev/raid3/test growfs: we are not growing (8191->8191) # graid3 list test Geom name: test State: COMPLETE Components: 3 Flags: NONE GenID: 0 SyncID: 1 ID: 2225454830 Zone64kFailed: 0 Zone64kRequested: 0 Zone16kFailed: 0 Zone16kRequested: 2 Zone4kFailed: 0 Zone4kRequested: 50 Providers: 1. Name: raid3/test Mediasize: 33553408 (32M) Sectorsize: 1024 Mode: r0w0e0 *snip* So something seems to be missing? Thanks, Eike -- Eike Bernhardt ___ ___ _ _ Institute for Science Networking Oldenburg GmbH |_ _/ __| \| | email: eike.bernhardt@isn-oldenburg.de | |\__ \ .` | http://www.isn-oldenburg.de/ |___|___/_|\_|