Date: Fri, 11 May 2007 11:51:15 +0200 From: Eike Bernhardt <eike@unorganized.net> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: freebsd-geom@freebsd.org Subject: Re: Growing a graid3? Message-ID: <E0243D68-8D97-4F1E-A055-D20AC6F7A5B5@unorganized.net> In-Reply-To: <20070511084018.GA38860@garage.freebsd.pl> References: <46442175.60508@unorganized.net> <20070511084018.GA38860@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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/ |___|___/_|\_|
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0243D68-8D97-4F1E-A055-D20AC6F7A5B5>
