zpool detach pool device

Johann Hugo jhugo at meraka.csir.co.za
Wed Jan 25 08:09:05 UTC 2012


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


More information about the freebsd-stable mailing list