Replacing Hard Disk in Freenas 8.0.4

Status
Not open for further replies.

sivabalan

Dabbler
Joined
Jan 5, 2012
Messages
11
Hello all,

I have ZFS-Raidz2 pool of 18 2TB Hard Disks.
One of the hard disks got failed 2 days before.
When i try to replace the same made of new hard disk from the GUI, It does not show the newly added disk.

I actually removed the failed hard disk and inserted the new one in the same place.

Storage ----> Volumes ----------> View disks ----------> Replace shows the "Replacement Disk :None" message.

Rebooting machine also dint help.

Then i tried the command prompt.
Code:
[root@Video-Server] /etc# zpool status -v
  pool: Video_Volumes
 state: DEGRADED
status: One or more devices could not be opened.  Sufficient replicas exist for
        the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-2Q
 scrub: none requested
config:

        NAME                      STATE     READ WRITE CKSUM
        Video_Volumes             DEGRADED     0     0     0
          raidz2                  DEGRADED     0     0     0
            da0p2                 ONLINE       0     0     0
            da1p2                 ONLINE       0     0     0
            da2p2                 ONLINE       0     0     0
            da3p2                 ONLINE       0     0     0
            da4p2                 ONLINE       0     0     0
            da5p2                 ONLINE       0     0     0
            da6p2                 ONLINE       0     0     0
            da7p2                 ONLINE       0     0     0
            da8p2                 ONLINE       0     0     0
            da9p2                 ONLINE       0     0     0
            da10p2                ONLINE       0     0     0
            da11p2                ONLINE       0     0     0
            da12p2                ONLINE       0     0     0
            da13p2                ONLINE       0     0     0
            17680890952832473829  UNAVAIL      0     0     0  was /dev/da14p2
            da15p2                ONLINE       0     0     0
            da16p2                ONLINE       0     0     0
            da17p2                ONLINE       0     0     0

errors: No known data errors



Code:
[root@Video-Server] /etc# zpool replace Video_Volumes /dev/da14p2
cannot open '/dev/da14p2': No such file or directory



Kindly help me.

Pranam
Siva Balan
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I suspect the reason you haven't gotten a response is because the FreeNAS manual gives very clear and specific instructions for replacing a disk.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,970
That is one very large pool of drives! I highly recommend that you write down some notes on paper and place them with the server on how to replace a failed drive and other key items to maintain your system. Honestly I would have done that in advance while testing and breaking the FreeNAS during a trial period. I did that on my 4 drive FreeNAS box and it took several months before I was comfortable putting data on it.
 

sivabalan

Dabbler
Joined
Jan 5, 2012
Messages
11
Thank you noobsauce80 and joeschmuck for your reply.

I found out the solution

I inserted a new drive on a new bay

It got a device ID da14(found in /dev) for the new drive and old hdd was detected as da15p2(from zpool status -v).

here i executed
Code:
zpool replace tank da15p2 da14



Resilvering started successfully

Pranam
Siva Balan
 
Status
Not open for further replies.
Top