From owner-freebsd-fs@FreeBSD.ORG Sun Jan 27 14:54:28 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 E06D1738; Sun, 27 Jan 2013 14:54:28 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x22f.google.com (ie-in-x022f.1e100.net [IPv6:2607:f8b0:4001:c03::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 748A5348; Sun, 27 Jan 2013 14:54:28 +0000 (UTC) Received: by mail-ie0-f175.google.com with SMTP id c12so9231ieb.20 for ; Sun, 27 Jan 2013 06:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=+pKTfnRqzbWS09RCaOG86XD13koGRYnf2xF/rpCzF0A=; b=mpaAzVheFC3qWalXxCCrGMuIIFGN6EEd+Tybe9VwGaJ1hfzWDOsp8XL2dNNK25g88b 0CpPVENQO/qyIW3cBFH4XdhHR2w1CzllCH/IXJv+mDCsZaKjcBacieTHolK/i6b5YvGL hB6Wy3OetxbOwrGMMd4sw0NTMnXK4Hw+Mc2yXBflff616eyUGs6La8dew5KjdVrYWmHu fKBCbQ2TPEw1Tvte3A3OCUTK9mnl7Rpo/G8bkjHpwXv018hcXA9H2KHGsGhX/4gV9yyk 3d+DPm/noKY3FluVNWlq1a/x+Vw39eVMU4CHhvd7tPnSdhjd0wj+dhFX33aSfg5EL2+T C4vA== MIME-Version: 1.0 X-Received: by 10.50.214.10 with SMTP id nw10mr3061777igc.15.1359298468005; Sun, 27 Jan 2013 06:54:28 -0800 (PST) Received: by 10.64.16.73 with HTTP; Sun, 27 Jan 2013 06:54:27 -0800 (PST) Received: by 10.64.16.73 with HTTP; Sun, 27 Jan 2013 06:54:27 -0800 (PST) In-Reply-To: <1F0546C4D94D4CCE9F6BB4C8FA19FFF2@multiplay.co.uk> References: <20130127103612.GB38645@acme.spoerlein.net> <1F0546C4D94D4CCE9F6BB4C8FA19FFF2@multiplay.co.uk> Date: Sun, 27 Jan 2013 14:54:27 +0000 Message-ID: Subject: Re: Zpool surgery From: Chris Rees To: Steven Hartland Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: current@freebsd.org, fs@freebsd.org, =?ISO-8859-1?Q?Ulrich_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 14:54:29 -0000 On 27 Jan 2013 14:31, "Steven Hartland" wrote: > > ----- Original Message ----- From: "Ulrich Sp=F6rlein" > > >> 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