ZFS: replaced faulty drive but now doesn't have GPTID label anymore :(

Status
Not open for further replies.

anudureio

Cadet
Joined
Apr 5, 2012
Messages
4
hello, yesterday I had one of my hdd dying on me so I replaced it by a brand new one, I didn't detach it before but just power off the freenas server, unscrewed the dead one and replaced it by a new one. This indeed drove nuts the django web interface.

Eventually after some commands I got it re-silvering the new disk, the only thing that I'm afraid is that I did something wrong because the new drive doesn't have a gptid udi;

Code:
  pool: STORAGE
 state: ONLINE
 scrub: resilver completed after 15h46m with 0 errors on Thu Apr  5 10:03:52 2012
config:

        NAME                                            STATE     READ WRITE CKSUM
        STORAGE                                         ONLINE       0     0     0
          raidz1                                        ONLINE       0     0     0
            gptid/3c37474c-05a6-11e1-9ce1-1c6f6588428f  ONLINE       0     0     0
            gptid/3caebea7-05a6-11e1-9ce1-1c6f6588428f  ONLINE       0     0     0
            gptid/3d0f7a9a-05a6-11e1-9ce1-1c6f6588428f  ONLINE       0     0     0
            gptid/3d76e930-05a6-11e1-9ce1-1c6f6588428f  ONLINE       0     0     0
            gptid/3dde7965-05a6-11e1-9ce1-1c6f6588428f  ONLINE       0     0     0
            gptid/3e44a9f9-05a6-11e1-9ce1-1c6f6588428f  ONLINE       0     0     0
            gptid/3f073055-05a6-11e1-9ce1-1c6f6588428f  ONLINE       0     0     0
            ada7                                        ONLINE       0     0     0  1.65T resilvered

errors: No known data errors


And that's how it looked before the re-silvering finished;

Code:
            replacing                                   DEGRADED     0     0     0
              13760243818519533640                      OFFLINE      0     0     0  was /dev/gptid/3f6927c2-05a6-11e1-9ce1-1c6f6588428f
              ada7                                      ONLINE       0     0     0  1.65T resilvered


Shoud I have run a pre-command for gptid label before putting it online?
Can I do something to fix this and have "ada7" replaced correctly with a /dev/gptid/x label like previously?

Thank you guys, I tried to find the answer on this forum but all I can seem to find is "how to get rid of gptid" which is really the opposite of what I want to do.
 

anudureio

Cadet
Joined
Apr 5, 2012
Messages
4
added info here's a zdb of my pool;

Code:

STORAGE
    version=15
    name='STORAGE'
    state=0
    txg=447261
    pool_guid=12107905166485884340
    hostid=940062952
    hostname='BUMBLEBEE.local'
    vdev_tree
        type='root'
        id=0
        guid=12107905166485884340
        children[0]
                type='raidz'
                id=0
                guid=3538454078064319956
                nparity=1
                metaslab_array=23
                metaslab_shift=37
                ashift=12
                asize=15985973133312
                is_log=0
                children[0]
                        type='disk'
                        id=0
                        guid=4797545
                        path='/dev/gptid/3c37474c-05a6-11e1-9ce1-1c6f6588428f'
                        whole_disk=0
                        DTL=148
                children[1]
                        type='disk'
                        id=1
                        guid=16794628481714180585
                        path='/dev/gptid/3caebea7-05a6-11e1-9ce1-1c6f6588428f'
                        whole_disk=0
                        DTL=147
                children[2]
                        type='disk'
                        id=2
                        guid=9096231108894999653
                        path='/dev/gptid/3d0f7a9a-05a6-11e1-9ce1-1c6f6588428f'
                        whole_disk=0
                        DTL=146
                children[3]
                        type='disk'
                        id=3
                        guid=17448937172401936653
                        path='/dev/gptid/3d76e930-05a6-11e1-9ce1-1c6f6588428f'
                        whole_disk=0
                        DTL=145
                children[4]
                        type='disk'
                        id=4
                        guid=1124240809703941173
                        path='/dev/gptid/3dde7965-05a6-11e1-9ce1-1c6f6588428f'
                        whole_disk=0
                        DTL=144
                children[5]
                        type='disk'
                        id=5
                        guid=9417104336742286588
                        path='/dev/gptid/3e44a9f9-05a6-11e1-9ce1-1c6f6588428f'
                        whole_disk=0
                        DTL=143
                children[6]
                        type='disk'
                        id=6
                        guid=6690006155061425824
                        path='/dev/gptid/3f073055-05a6-11e1-9ce1-1c6f6588428f'
                        whole_disk=0
                        DTL=142
                children[7]
                        type='disk'
                        id=7
                        guid=12392428671458864859
                        path='/dev/ada7'
                        whole_disk=0
                        DTL=150
 
Status
Not open for further replies.
Top