Rebuilding a degraded RAID1 array in FreeNAS

If you have a degraded RAID 1 array in FreeNAS you may need to replace the disk and trigger the rebuild on your nas device. Thankfully it is really easy to repair broken raid in FreeNAS.

If you go to disk > software raid and click on tools you can send commands and if you send the status command you will see that your raid 1 marked degraded

Raid 1 degraded - FreeNAS - status

You can also see which disk is still running so that you know which disk to remove, the next step is to forget the broken disk. All you need to do is use the forget command

degraded raid 1 in freenas

Once you have done this you can insert your new disk into the array and the rebuild should start automatically, it may take some time to rebuild a raid 1 array.

recover raid 1 - freenas

A few hours later you will have fixed a degraded raid 1 array which you can once again confirm by running the status or list command in the freenas GUI. Freenas RAID is pretty user friendly in this regard since you can remove and add disks easily and have a raid rebuild running in a matter of seconds.

Leave a Reply