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

看板FB_questions作者時間12年前 (2013/04/27 14:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/11 (看更多)
05.04.2013 14:13, Beeblebrox: > 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. Personally I feel you should destroy current BSDR pool before importing older one or at least export current one. I don't think ZFS will reuse devices that are already used for other pools. -- 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): #1HUt3hlf (FB_questions)
討論串 (同標題文章)
完整討論串 (本文為第 9 之 11 篇):
文章代碼(AID): #1HUt3hlf (FB_questions)