[ZFS] recover destroyed zpool - what are the available options?
Beeblebrox
zaphod at berentweb.com
Fri Apr 5 11:13:30 UTC 2013
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.
More information about the freebsd-questions
mailing list