Date: Mon, 28 Jan 2013 07:11:40 +1100 From: Peter Jeremy <peter@rulingia.com> To: Steven Hartland <killing@multiplay.co.uk> Cc: current@freebsd.org, fs@freebsd.org, Ulrich =?iso-8859-1?Q?Sp=F6rlein?= <uqs@freebsd.org> Subject: Re: Zpool surgery Message-ID: <20130127201140.GD29105@server.rulingia.com> In-Reply-To: <1F0546C4D94D4CCE9F6BB4C8FA19FFF2@multiplay.co.uk> References: <20130127103612.GB38645@acme.spoerlein.net> <1F0546C4D94D4CCE9F6BB4C8FA19FFF2@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On 2013-Jan-27 14:31:56 -0000, Steven Hartland <killing@multiplay.co.uk> wrote: >----- Original Message ----- >From: "Ulrich Spörlein" <uqs@FreeBSD.org> >> 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. -- Peter Jeremy [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEFifwACgkQ/opHv/APuIeuUACgqCCNXfxYUs6MF9RcFnRvANg3 T+AAnAsdg/RXxe7Y9nCPRFmKWizYzuKB =Y809 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130127201140.GD29105>
