Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2012 14:36:56 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-stable@freebsd.org
Subject:   Re: zpool detach pool device
Message-ID:  <4F1EC208.5060808@infracaninophile.co.uk>
In-Reply-To: <201201241601.48356.jhugo@meraka.csir.co.za>
References:  <201201241601.48356.jhugo@meraka.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



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