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

看板FB_questions作者時間12年前 (2013/04/27 14:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/11 (看更多)
04.04.2013 19:26, Beeblebrox: >>> test them with `zdb -l device`. When the output would be correct - you > guessed your slice! > > LABEL 1 > -------------------------------------------- > version: 28 > name: 'bsdr' > state: 2 > txg: 10 > pool_guid: 12018916494219117471 > hostid: 2193536600 > hostname: 'mfsbsd' > top_guid: 17860002997423999070 > guid: 17860002997423999070 > vdev_children: 1 > vdev_tree: > type: 'disk' > id: 0 > guid: 17860002997423999070 > path: '/dev/ad6p2' > phys_path: '/dev/ad6p2' > whole_disk: 1 > metaslab_array: 30 > metaslab_shift: 31 > ashift: 9 > asize: 287855869952 > is_log: 0 > create_txg: 4 > > Do you mean that in this case 'asize 287855869952' is what I should look at? > But 287855869952 /1024 /1024 /2 => 137.260GB is far smaller than I recall > the geom part to be... I can't has the math. But looking at ashift I can guess your disk should be 287855869952/2**9 == 562218496. Is this one right? Actually if you see all 4 labels correctly you can try to proceed as ZFS would guess the correct disk size anyway. -- 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): #1HUt3gUT (FB_questions)
討論串 (同標題文章)
完整討論串 (本文為第 7 之 11 篇):
文章代碼(AID): #1HUt3gUT (FB_questions)