Zpool surgery

Peter Jeremy peter at rulingia.com
Sun Jan 27 20:11:57 UTC 2013


On 2013-Jan-27 14:31:56 -0000, Steven Hartland <killing at multiplay.co.uk> wrote:
>----- Original Message ----- 
>From: "Ulrich Spörlein" <uqs at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20130128/491e0ccb/attachment.sig>


More information about the freebsd-fs mailing list