[ZFS] recover destroyed zpool - what are the available options?
Beeblebrox
zaphod at berentweb.com
Fri Apr 5 22:13:03 UTC 2013
I think I might have a better understanding of the situation.
'zpool status' and 'zdb -C' commands both show bsdr properties as:
pool_guid: 17852168552651762162
children[0]: \ type: 'disk' \ guid: 12606749387939346898
Whereas 'zpool import -D' and 'zdb -l' commands give the bsdr properties as:
pool_guid: 12018916494219117471
vdev_tree: \ type: 'disk \ top_guid: 17860002997423999070
Since the LABEL info on the HDD is the more relevant data, I should be using
the output of zdb -l, and disregard the pool that shows itself as "already
imported - albeit faulted". I therefore plan to import the bsdr pool with a
newname and should run the import command as:
zpool import -D -f -R /bsdr -N -F -n -X 12018916494219117471 newname
Any objections? We must also keep in mind that '-D' flag is showing TWO
deleted bsdr pools, so I must use the unique ID.
Please let me know if I should go ahead and run above command.
Thanks and Regards.
--
View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-recover-destroyed-zpool-what-are-the-available-options-tp5800299p5801834.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
More information about the freebsd-questions
mailing list