Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2013 14:54:27 +0000
From:      Chris Rees <utisoft@gmail.com>
To:        Steven Hartland <killing@multiplay.co.uk>
Cc:        current@freebsd.org, fs@freebsd.org, =?ISO-8859-1?Q?Ulrich_Sp=F6rlein?= <uqs@freebsd.org>
Subject:   Re: Zpool surgery
Message-ID:  <CADLo83_p5a9znQ96dku_jJUVyBiULFUBx-xJG0Yi_faUQx26KQ@mail.gmail.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
On 27 Jan 2013 14:31, "Steven Hartland" <killing@multiplay.co.uk> wrote:
>
> ----- Original Message ----- From: "Ulrich Sp=F6rlein" <uqs@FreeBSD.org>
>
>
>> I have a slight problem with transplanting a zpool, maybe this is not
>> possible the way I like to do it, maybe I need to fuzz some
>> identifiers...
>>
>> 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.
>
> If this is a boot disk don't forget to set the boot block as well.

I managed to replace a drive this way without even rebooting.  I believe
it's the same as a zpool replace.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_p5a9znQ96dku_jJUVyBiULFUBx-xJG0Yi_faUQx26KQ>