Failed harddrive in my TrueNAS box, help?

Right now i’m running 10x10tb drives in my TrueNAS box. To be honest I set it up and haven’t done anything with it besides store files on it and it’s been great for that. Once a week I log into the dashboard to check on it and just recently it says the pool is degraded and that one of my Western Digital WD100EMAZ drives is bad. Can I just shutdown the NAS, swap the HD with a WD101EFBX and reboot and it will fix itself? Or do I have to click something? I’m running ZFS2 so I think I can have 2 drives fail before data is lost. Also, since the drives are now 5 years old should I think about replacing them all? Was thinking like once a month I can slip in a new drive till they all are replaced but I dunno if that is a dumb way to go about it.

Thanks for reading!

1 Like

Until someone who uses truenas steps in…

You will need to trigger a replacement in the GUI/web app.

Make sure to record which drive failed…

They recommend you offline the bad disk first from the ‘storage>pools’ menu, and the arrow in the corner for “more options” on the pool

When the new drive is in, and you reboot, it might have a funny new name for the failed drive, like a bunch of numbers; don’t worry about that, just be careful to choose the correct drive to replace it.

If you want to make the pool have more space, it will take a long time, and require you change all the drives first, and only then does it grow the space available. You can start using larger drives in advance, but just won’t gain space yet

2 Likes

Can I just shutdown the NAS, swap the HD with a WD101EFBX and reboot and it will fix itself?

I assume no hotswap drives? If hotswap then you don’t even need to shut down! But yeah pretty much, remove the old drive and put new in, and then replace in the UI with the new drive. Just note down the SN of the one you put in, easy

Also, since the drives are now 5 years old should I think about replacing them all?

Nope, just keep running it and replace failures.

Was thinking like once a month I can slip in a new drive till they all are replaced but I dunno if that is a dumb way to go about it.

Honestly it would be a waste of money. If you’re setup in RAIDZ2 like you say, there is really no big rush to limit failures. Just replace as they go

1 Like

If you have available channels, after you replace the drive, add a drive and designate it as a hot spare. Next time you loose a drive the system will automatically swap to your spare.

You currently have a pool with a single vdev (virtual device) which consists of 10 physical devices.

If you want more space, and have the channels, you can add another vdev to the pool which should also be raidz2 with more drives.

The space in the resulting pool will have the same amount of space as the sum of all of the vdevs in the pool.

Thanks for the replies guys, i’m not really interested in upgrading space at the moment. I figure i’ll just build a new box once 20tb HDs are affordable. As far as channels goes, I’m using all 10 sata ports on my Supermicro MBD-X10SRL-F. As far as what drives to use as replacement, are the WD101EFBX good pick? I know WD had some issues where they were selling drives as one thing but they were something else but that was a while ago. The WD101EFBX is a 7200RPM drive while all my old drives are 5400 drives that I ripped out of a WD MyBook thing when they went on sale back when I built this box.

Also, after I get this drive swapped I really need to get my NAS setup better, when I set it up, it was FreeNAS and I just followed a youtube guide since i’m in way over my head. At one point my NAS was emailing me a weekly health report but that kinds just stopped, same for getting Transmission to work, had it working for a while then it just stopped and I have no idea how to get it working again. To be honest I wish I could find someone to pay to come look at my setup to make sure i’m not doing something really dumb because I think i’m doing something really dumb.

1 Like