Skip to main content

Replacing a Failed Drive - ZFS

FreeNAS makes it easy to replace a faulty drive in an array

Instructions at https://doc.freenas.org/9.3/freenas_storage.html#replacing-a-failed-drive explain it well

Basically, all the action is completed in drive status from the raid volume, and click the "Replace" button.  This is not immediately intuitive. You would think that you could also do this from "View Disks", but you cannot.

From Volumes, select the row of root of the volume that is suffering, click the "Status" icon,   It looks like a bunch of rows.

This takes you to another screen.

  • Select the disk in question, if not already offline, take it offline. 
  • Then, Press the replace button, and select the new drive from the pulldown (obviously, the new drive needs to be in the system)

Depending on how you got the new disk into the machine, you may also need to "Detach" the old disk afterwards













Comments

Popular posts from this blog

NMAP

It's been about 15 years since I used NMAP, I forgot how useful the tool is. To find out what services are running on an IP address simply use something like nmap -n -v -p1-10000 x.x.x.x -n tells nmap not to do name resolution (saves about 13 seconds if the IP you're scanning isn't in DNS_ -v verbose -p1-10000 says scan ports 1 to 10,000 (otherwise nmap will only scan the first 1000 ports)