howtothings.co.uk
How to rebuild a degraded RAID 1 array in FreeNAS - Printable Version

+- howtothings.co.uk (https://www.howtothings.co.uk)
+-- Forum: Computing (https://www.howtothings.co.uk/forumdisplay.php?fid=4)
+--- Forum: Operating System and Software Support (https://www.howtothings.co.uk/forumdisplay.php?fid=17)
+--- Thread: How to rebuild a degraded RAID 1 array in FreeNAS (/showthread.php?tid=877)



How to rebuild a degraded RAID 1 array in FreeNAS - Mark - 22-05-2011

How to rebuild a RAID 1 array in FreeNAS

See my thread here on how to set up a FreeNAS server.
The whole reason of having a RAID 1 setup is that is offers you protection incase one of your drives fails. My drive didn't fail but I performed a little test on my own box to ensure that It'd rebuild the array incase it ever did fail.
Not like FreeNAS 8.0, where the server wouldn't even boot when a drive failed..


My FreeNAS server contains 2x 1TB Sammy F3 drives. As you know SATA drives are hot swappable, this means that you can pull them from machines while they're still on and not cause problems, this is exactly what I did.

I simply unplugged the top hard drive in my case, went to Disk > Management and was presented with this.

[Image: FreeNAS01.png]


"OH CRAP! One of my drives is missing, I better alert the authorities and call round the neighbours house." Disks > Software RAID. Your RAID will be degraded.

[Image: FreeNAS02.png]


My top hard drive is named "ad10", Disks > Software RAID > Tools. Select the missing drive, forget then hit send command.

[Image: FreeNAS03.png]


Insert a "new" drive, if your drive really has failed, select it, then hit insert.

[Image: FreeNAS04.png]


Give it 5 minutes, select the drive again and hit status. You should see a percentage next to the new drive, this is it re-building.

[Image: FreeNAS05.png]


Note: It WILL takes HOURS to re-build your array. I had a small amount of data and it still look a few hours.

[Image: FreeNAS06.png]

:thumbs



RE: How to rebuild a degraded RAID 1 array in FreeNAS - Mark - 17-09-2011

Just a note on this, I'm in the middle of rebuilding my server as I type this. Before I could "insert" the new disk into the Array I had to go to Disks > Management > Rescan disks to pick it back up before I could insert it.

[Image: FreeNAS07.JPG]


RE: How to rebuild a degraded RAID 1 array in FreeNAS - latch - 17-09-2011

You are also missing an apostrophe.