From owner-freebsd-stable@FreeBSD.ORG Tue Jan 24 14:37:00 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 BE0AF106566B for ; Tue, 24 Jan 2012 14:37:00 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 489A28FC18 for ; Tue, 24 Jan 2012 14:37:00 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q0OEau1A032767 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 24 Jan 2012 14:36:56 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.2 smtp.infracaninophile.co.uk q0OEau1A032767 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1327415816; bh=+yapagDOfbe/c2ICqf393wqaWq2XZABHTxhe8WuBUBA=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=KfLsD82lDaCYON/XMWBebITzjmTlDW+csHzA/c5B97f78awcphj+NpDjTcg0j4yDo aMWUd7t1SVQYXIAr/ltSACjNANpfnhCfjs8XVQCNg3TP771zf1RIdkxCx3uBVNpk20 mDSShjYeawtnxgS8H82QKGnd4efgCBXwipXumddM= Message-ID: <4F1EC208.5060808@infracaninophile.co.uk> Date: Tue, 24 Jan 2012 14:36:56 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <201201241601.48356.jhugo@meraka.csir.co.za> In-Reply-To: <201201241601.48356.jhugo@meraka.csir.co.za> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7156DA432AB06C8EA4C87684" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk 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: Tue, 24 Jan 2012 14:37:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7156DA432AB06C8EA4C87684 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 24/01/2012 14:01, Johann Hugo wrote: > Is there any way to recover data from a (good) disk that was detached f= rom a=20 > 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. If it's part of a raidz{,2,3} or your zpool extended over several vdevs, then you won't be able to recover the entire pool. Also, you won't be able to access the data through the filesystem in the usual way. You'ld have to read the individual 128k blocks used by ZFS and try and piece them back into complete files. Depending on the history of the drive you might be able to recover a previous version of a file, even if you can't get the latest one back. To do this may well require the services of a specialised data recovery company. If you're worried about leaking confidential information on old disk drives, then a few passes with dban should render the data unrecoverable except by heroic measures. Unless you're dealing in highly sensitive material, that is generally sufficient. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig7156DA432AB06C8EA4C87684 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8ewggACgkQ8Mjk52CukIwbbACfV4YU3ALy8GfeBq8YGR2StzKM iYYAnRRAjovNeid7+XPSfUYXUcxDkLD2 =d1HM -----END PGP SIGNATURE----- --------------enig7156DA432AB06C8EA4C87684--