From owner-freebsd-fs@FreeBSD.ORG Thu Jul 19 13:55:53 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82A5016A402 for ; Thu, 19 Jul 2007 13:55:53 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id BC2F113C4B2 for ; Thu, 19 Jul 2007 13:55:52 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3C5DC4880D; Thu, 19 Jul 2007 15:55:49 +0200 (CEST) Received: from localhost (ana50.internetdsl.tpnet.pl [83.17.82.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id EA5C345B26; Thu, 19 Jul 2007 15:55:35 +0200 (CEST) Date: Thu, 19 Jul 2007 15:55:10 +0200 From: Pawel Jakub Dawidek To: Mark Powell Message-ID: <20070719135510.GE1194@garage.freebsd.pl> References: <20070719102302.R1534@rust.salford.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JkW1gnuWHDypiMFO" Content-Disposition: inline In-Reply-To: <20070719102302.R1534@rust.salford.ac.uk> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: ZfS & GEOM with many odd drive sizes 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: Thu, 19 Jul 2007 13:55:53 -0000 --JkW1gnuWHDypiMFO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 19, 2007 at 11:19:08AM +0100, Mark Powell wrote: > Hi, > I'd like to experiment with ZFS. > To that end I'd like to get a running array from a rather ad hoc=20 > collection of old drives. >=20 > 3x250GB > 3x200GB > 1x400GB >=20 >=20 > I planned to arrange them in 3 pairs of of 250+200. Therefore I'd end up= =20 > with an effective 4 drives: >=20 > 3x450GB > 1x400GB >=20 > I'd gmirror to make a small 2GB root and swap from the extra 50GB on the = 3=20 > pairs. Then gconcat to join the remaining 448GB from each pair into a=20 > volume. Apparently root is possible on ZFS with a small ufs to boot from: >=20 > http://wiki.freebsd.org/ZFSOnRoot >=20 > Then make a zfs raidz from the 3x448+1x400. Effectively giving a zpool= =20 > of 1200GB real storage. 3x48GB will not be accessible now as the last=20 > volume will only be the 400GB on the last drive. > I want to be able to increase the size of this volume later, by=20 > replacing drives when they fail, or it becomes economical to do so. > I know removing a volume from a zpool and replacing it with a larger on= e=20 > is possible. The zpool will self-heal the data onto the new volume.=20 > Eventually when the final volume is replaced by a larger one the extra=20 > space becomes available for use. That's correct right? > What I want to know is, does the new volume have to be the same actual= =20 > device name or can it be substituted with another? > i.e. can I remove, for example, one of the 448GB gconcats e.g. gc1 and= =20 > replace that with a new 750GB drive e.g. ad6? > Eventually so that once all volumes are replaced the zpool could be, fo= r=20 > example, 4x750GB or 2.25TB of usable storage. > Many thanks for any advice on these matters which are new to me. All you described above should work. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --JkW1gnuWHDypiMFO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGn20+ForvXbEpPzQRAgvDAKDLvAs/U/m5JJvpG2JE+cYWdtyyKgCgwz6/ nc0Q4BVYJAEa0G5c7XzkQ/M= =0qNP -----END PGP SIGNATURE----- --JkW1gnuWHDypiMFO--