From owner-freebsd-stable@FreeBSD.ORG Wed Jan 25 08:09:05 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96357106566C for ; Wed, 25 Jan 2012 08:09:05 +0000 (UTC) (envelope-from jhugo@meraka.csir.co.za) Received: from marge.meraka.csir.co.za (marge.meraka.csir.co.za [IPv6:2001:4200:7000:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8820C8FC12 for ; Wed, 25 Jan 2012 08:09:04 +0000 (UTC) Received: from pcbsd-7995.localnet (unknown [IPv6:2001:4200:7000:3:211:43ff:feba:aff1]) by marge.meraka.csir.co.za (Postfix) with ESMTP id DC55AD0CC29 for ; Wed, 25 Jan 2012 10:09:01 +0200 (SAST) From: Johann Hugo To: freebsd-stable@freebsd.org Date: Wed, 25 Jan 2012 10:08:39 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RELEASE; KDE/4.7.3; i386; ; ) References: <201201241601.48356.jhugo@meraka.csir.co.za> <4F1EC208.5060808@infracaninophile.co.uk> In-Reply-To: <4F1EC208.5060808@infracaninophile.co.uk> X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201201251008.40061.jhugo@meraka.csir.co.za> Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: zpool detach pool device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2012 08:09:05 -0000 On Tuesday, January 24, 2012 04:36:56 PM Matthew Seaman wrote: > On 24/01/2012 14:01, Johann Hugo wrote: > > Is there any way to recover data from a (good) disk that was detached > > from a zpool ? > > Possibly, but not necessarily easily. It depends on how much of your > pool that disk represents. If it's one half of a mirror, then sure -- > easy. You just need a system you can import the pool too. The zpool > will show up as degraded, but if you have enough copies of everything it > should still show up. Yes, the pool is one half of a mirror, but "zpool import" does not recognizes any pool on the disk. I have a copy of all the crucial stuff on the disk, but there is also some nice-to-have stuff on the disk if I can get hold of it without to much effort. Johann