[ZFS] recover destroyed zpool - what are the available options?
Beeblebrox
zaphod at berentweb.com
Thu Apr 4 15:50:37 UTC 2013
Hi Mark.
>>What does "gpart show" return?
=> 34 625142381 ada0 GPT (298G)
34 62914560 1 freebsd-zfs (30G)
62914594 562227821 2 freebsd-zfs (268G)
>>Are all the pool members there and working?
Yes - ada0p2 is the ONLY pool member.
>>My guess is that one member is missing or a mbr is bad.
After 'zpool destroy', I also deleted the partition before realising my
mistake, I tried to recover the partition table with testdisk, but this was
not successful. Next I created a new GPT table and the 2 partitions at the
original size as I recalled them - so ada0p1 and ada0p2 have been
re-created.
I just realized a problem: gpart show -r =>
62914594 562227821 2 516e7cba-6ecf-11d6-8ff8-00022d09712b (268G)
The guid (?) that ZFS is looking for is most likely wrong. I need to find
the ID that ZFS is looking for and change the ID of ada0p2 to that number -
am I correct?
Thanks.
--
View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-recover-destroyed-zpool-what-are-the-available-options-tp5800299p5801568.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
More information about the freebsd-questions
mailing list