[ZFS] recover destroyed zpool - what are the available options?

Beeblebrox zaphod at berentweb.com
Fri Apr 5 08:54:10 UTC 2013


>>Actually if you see all 4 labels correctly you can try to proceed as ZFS
would guess the correct disk size anyway. 

I should clarify:  # zdb -l /dev/ada0p2 => all 4 LABELS visible and correct
(zpool name: bsdr)
# zdb -l /dev/ada0p1 => all 4 LABELS visible and correct (zpool name: asp)
# zdb -l /dev/ada0 => only LABEL #2 visible (this is an OLDER zpool with
GUID 5853256800575798014, also named bsdr, the pool was whole-disk-as-raw)
This is the gpt table + partitions as I re-created them immediately after
the gpt delete. It looks like I have re-created the gpt partitions
correctly...

I don't understand what you mean by "you can try to proceed"?
# zpool import -D -f -R /bsdr -N -F -n -X bsdr 
cannot import 'bsdr': a pool with that name already exists. use the form
'zpool import <pool | id> <newpool>' to give it a new name




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


More information about the freebsd-questions mailing list