Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2013 04:13:26 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-questions@freebsd.org
Subject:   [ZFS] recover destroyed zpool - what are the available options?
Message-ID:  <1365160406005-5801734.post@n5.nabble.com>
In-Reply-To: <515EAABF.6020300@gmail.com>
References:  <1365002276096-5801335.post@n5.nabble.com> <515C4B14.80300@gmail.com> <1365004246715-5801356.post@n5.nabble.com> <1365087055.99393.YahooMailRC@web184303.mail.ne1.yahoo.com> <1365090630957-5801568.post@n5.nabble.com> <1365091829108-5801581.post@n5.nabble.com> <1365092775955-5801588.post@n5.nabble.com> <515E8BDF.9070403@gmail.com> <1365152049024-5801716.post@n5.nabble.com> <515EAABF.6020300@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you for your help Volodymyr,

1. ZPOOL LIST shows that the pool is listed
NAME    SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
bsdr       -      -      -      -      -  FAULTED  -
tank0  49.8G  13.3G  36.5G    26%  1.00x  ONLINE  -

2. ZPOOL IMPORT => no pools available to import
3. zpool import -D -f -R /bsdr -N -F -n -X bsdr =>
Gives error because of condition (#1)
4. ZPOOL IMPORT -D shows 2 BSDR pools:
A) config:	bsdr                   UNAVAIL  insufficient replicas
	  5853256800575798014  UNAVAIL  cannot open  (THIS IS NOT THE POOL I WANT -
THIS ONE IS OLDER POOL, WHOLE-DISK-RAW)
B) config:	bsdr                    UNAVAIL  insufficient replicas
	  17860002997423999070  UNAVAIL  cannot open (THIS SHOULD BE THE POOL I
NEED, BUT LOOK AT PROBLEM IN #5)
5. ZPOOL STATUS -V BSDR shows different guid!!
config:	bsdr                    UNAVAIL      0     0     0
	  12606749387939346898  UNAVAIL      0     0     0  was /dev/ada0p2 (THIS
GUID DOES NOT MATCH THE GUID OF 4-B)
It is normal in my opinion that the guid should not match, but that is why I
cannot import pool 4-B. I must either delete the BSDR POOL that is shown as
"on-line", or import 4-B with another name I think.

Thanks and Regards.





--
View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-recover-destroyed-zpool-what-are-the-available-options-tp5800299p5801734.html
Sent from the freebsd-questions mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1365160406005-5801734.post>