From owner-freebsd-fs@FreeBSD.ORG Sun Jan 27 20:11:57 2013 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6B452D00; Sun, 27 Jan 2013 20:11:57 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id 031062F8; Sun, 27 Jan 2013 20:11:56 +0000 (UTC) Received: from server.rulingia.com (c220-239-246-167.belrs5.nsw.optusnet.com.au [220.239.246.167]) by vps.rulingia.com (8.14.5/8.14.5) with ESMTP id r0RKBltH004480 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 28 Jan 2013 07:11:47 +1100 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id r0RKBgLt092002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Jan 2013 07:11:42 +1100 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id r0RKBffX092001; Mon, 28 Jan 2013 07:11:41 +1100 (EST) (envelope-from peter) Date: Mon, 28 Jan 2013 07:11:40 +1100 From: Peter Jeremy To: Steven Hartland Subject: Re: Zpool surgery Message-ID: <20130127201140.GD29105@server.rulingia.com> References: <20130127103612.GB38645@acme.spoerlein.net> <1F0546C4D94D4CCE9F6BB4C8FA19FFF2@multiplay.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QRj9sO5tAVLaXnSD" Content-Disposition: inline In-Reply-To: <1F0546C4D94D4CCE9F6BB4C8FA19FFF2@multiplay.co.uk> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) Cc: current@freebsd.org, fs@freebsd.org, Ulrich =?iso-8859-1?Q?Sp=F6rlein?= X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 20:11:57 -0000 --QRj9sO5tAVLaXnSD Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013-Jan-27 14:31:56 -0000, Steven Hartland wr= ote: >----- Original Message -----=20 >From: "Ulrich Sp=F6rlein" >> I want to transplant my old zpool tank from a 1TB drive to a new 2TB >> drive, but *not* use dd(1) or any other cloning mechanism, as the pool >> was very full very often and is surely severely fragmented. > >Cant you just drop the disk in the original machine, set it as a mirror >then once the mirror process has completed break the mirror and remove >the 1TB disk. That will replicate any fragmentation as well. "zfs send | zfs recv" is the only (current) way to defragment a ZFS pool. --=20 Peter Jeremy --QRj9sO5tAVLaXnSD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEFifwACgkQ/opHv/APuIeuUACgqCCNXfxYUs6MF9RcFnRvANg3 T+AAnAsdg/RXxe7Y9nCPRFmKWizYzuKB =Y809 -----END PGP SIGNATURE----- --QRj9sO5tAVLaXnSD--