how to import raidz2, if only one disk is missing?

Vladislav V. Prodan universite at ukr.net
Fri Jun 3 20:37:10 UTC 2011


03.06.2011 20:39, Vladislav V. Prodan wrote:
> I put a new HDD to 2 terabytes, but the pool does not see gpt/disk3 :(
how to properly set the LABEL [0-4]?

For example, a working HDD:
# zdb -l /dev/ad16p1 | more
--------------------------------------------
LABEL 0
--------------------------------------------
     version=15
     name='tank'
     state=0
     txg=10280816
     pool_guid=17628573572433446879
     hostid=143250101
     hostname='mary-teresa.otrada.od.ua'
     top_guid=17179795338638175685
     guid=8664568011785700035
     vdev_tree
         type='raidz'
         id=0
         guid=17179795338638175685
         nparity=2
         metaslab_array=14
         metaslab_shift=35
         ashift=9
         asize=4500909195264
         is_log=0
         children[0]
                 type='disk'
                 id=0
                 guid=1193943216826871140
                 path='/dev/gpt/disk0'
                 whole_disk=0
                 DTL=22
         children[1]
                 type='disk'
                 id=1
                 guid=15455958051005423086
                 path='/dev/gpt/disk1'
                 whole_disk=0
                 DTL=20
         children[2]
                 type='disk'
                 id=2
                 guid=8664568011785700035
                 path='/dev/gpt/disk2'
                 whole_disk=0
                 DTL=163
         children[3]
                 type='disk'
                 id=3
                 guid=8811702962298963660
                 path='/dev/gpt/disk3'
                 whole_disk=0
                 DTL=161
         children[4]
                 type='disk'
                 id=4
                 guid=6754554128830363882
                 path='/dev/gpt/disk4'
                 whole_disk=0
                 DTL=164
         children[5]
                 type='disk'
                 id=5
                 guid=16960671095707356147
                 path='/dev/ad18p1'
                 whole_disk=0
                 DTL=160

<SKIP>

-- 
Vladislav V. Prodan
VVP24-UANIC
+380[67]4584408
+380[99]4060508
vlad11 at jabber.ru


More information about the freebsd-fs mailing list