Re: [ZFS] recover destroyed zpool - what are the available optio

看板FB_questions作者時間12年前 (2013/04/27 14:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/11 (看更多)
05.04.2013 11:54, Beeblebrox: >>> 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 Ok, let's check a few things: zpool import zpool import -D From your previous mails I saw that pool bsdr is FAULTED but not deleted. If the system would list bsdr on `zpool import` you should remove -D from the command. -- Sphinx of black quartz, judge my vow. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1HUt3gGF (FB_questions)
討論串 (同標題文章)
完整討論串 (本文為第 7 之 11 篇):
文章代碼(AID): #1HUt3gGF (FB_questions)