From owner-freebsd-fs@FreeBSD.ORG Sun Oct 28 06:50:48 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9965916A421 for ; Sun, 28 Oct 2007 06:50:48 +0000 (UTC) (envelope-from scode@hyperion.scode.org) Received: from hyperion.scode.org (cl-1361.ams-04.nl.sixxs.net [IPv6:2001:960:2:550::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5EB0F13C4B5 for ; Sun, 28 Oct 2007 06:50:48 +0000 (UTC) (envelope-from scode@hyperion.scode.org) Received: by hyperion.scode.org (Postfix, from userid 1001) id 1441A23C42A; Sun, 28 Oct 2007 07:50:46 +0100 (CET) Date: Sun, 28 Oct 2007 07:50:46 +0100 From: Peter Schuller To: Indigo 23 Message-ID: <20071028065046.GA17848@hyperion.scode.org> References: <6f50eac40710271538y14c54341rc90cf78429de8b68@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: <6f50eac40710271538y14c54341rc90cf78429de8b68@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-fs@freebsd.org Subject: Re: Configuring an existing zpool to raidz2 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: Sun, 28 Oct 2007 06:50:48 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > For example, > You have a zpool called 'mypool' and it has ad0,ad1, and ad2. This > pool has data on it. > Is it safe to do: "zpool create mypool raidz2 ad0 ad1 ad2" and have > that pool use raidz2 without any loss of data occurring? Conerting pools between different types is not possible, with the exception of adding mirrors. You would have to create a new pool and move your data onto it. > Also, which is more recommended to use, raidz or raidz2? That is completely dependent on the situation. raidz offers n+1 redundancy (you can loose up to one drive), while raidz2 offers n+2 redundancy (you can loose up to two drives). In both cases at the cost of diskspace. In your case with three drives, you would probably want raidz or you would only get the disk space of a single drive (thus wasting two thirds). I recommend you have a look at the ZFS administrator guide: http://www.opensolaris.org/os/community/zfs/docs/zfsadmin.pdf --=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHJDFGDNor2+l1i30RApTWAKCxlMYqLuuDM+/g7GH3HuRT7O9+wQCgjhfA AYaT+097uuP6X9ZtwmE9y9I= =gr5v -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--