CRITICAL ALERT: Device: /dev/ada0, 1 Currently unreadable (pending) sectors.

csax

Dabbler
Joined
Apr 11, 2021
Messages
10
OK. Thanks. New disk on order. I think the one that failed is a Western Digital. The failed drive is about 8 years old. Trying to decide on whether or not to go with a 4TB.
Make sure you stick with Western Digital drives (WD Red). I went with Seagate and unfortunately they keep spinning up when Idle timeout occurred. The WD Red's do just fine.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Make sure you stick with Western Digital drives (WD Red).
Or not, since those are likely SMR drives. Go for WD Red Plus, or don't worry (as I don't) about the drives spinning down.
 

csax

Dabbler
Joined
Apr 11, 2021
Messages
10
Go for WD Red Plus
That's actually what I meant. Thanks for pointing it out!
 

geronimo1958

Contributor
Joined
Nov 19, 2011
Messages
112
Or not, since those are likely SMR drives. Go for WD Red Plus, or don't worry (as I don't) about the drives spinning down.
I had a IronWolf on order and canceled for a WD Red Plus instead but just now noticed the warranty for the IronWolf is 5 years vs 3 years for the WD. Going back to the IronWolf.
 

csax

Dabbler
Joined
Apr 11, 2021
Messages
10
I had a IronWolf on order and canceled for a WD Red Plus instead but just now noticed the warranty for the IronWolf is 5 years vs 3 years for the WD. Going back to the IronWolf.
Yes, I have 6 iron wolf pro too. The pro have 5years, the iron wolf 3 years, that's the difference in price. However, for truenas you are better off with the WD red plus because of how they implement smart. If you treat then nice they hold over 7years. Mine reach their 8th year the WD red plus.
 

geronimo1958

Contributor
Joined
Nov 19, 2011
Messages
112
Yes, I have 6 iron wolf pro too. The pro have 5years, the iron wolf 3 years, that's the difference in price. However, for truenas you are better off with the WD red plus because of how they implement smart. If you treat then nice they hold over 7years. Mine reach their 8th year the WD red plus.
Thanks for the info. Amazon's info is wrong on the IronWolf. Says 5 years but Seagate's website say 3.
 

geronimo1958

Contributor
Joined
Nov 19, 2011
Messages
112
Got my replacement disk. From reading the documentation I think the proper steps are:
1. Take the disk offline in the Storage --> Pools section.
2. Shutdown the system (as far as I know my setup does not support hot swapping).
3. Pull the bad disk and replace with the new disk.
4. Restart the system.
5. Go back to the Storage --> Pools section and select replace and subsequently select the new disk.
6. Wait for resilvering to complete.

The old disk is 2TB and the new disk is 4TB. Are there any issues using different size disks? A while back I was experimenting with a test system and I had trouble creating a pool with different size disk.
 

Etorix

Wizard
Joined
Dec 30, 2020
Messages
2,134
If you have a spare port, you can plug the new drive while keeping the old one, then from the GUI: Storage>Pools>(gear)>Status>(failing drive)>(3-dot menu)>Replace. When resilver is done, pull the old drive.

There is no issue with using a larger drive, if you replace all drives by larger ones (and the other old drives will likely go down in the same manner in a not too distant future), the pool should automatically expand.
 

geronimo1958

Contributor
Joined
Nov 19, 2011
Messages
112
If you have a spare port, you can plug the new drive while keeping the old one, then from the GUI: Storage>Pools>(gear)>Status>(failing drive)>(3-dot menu)>Replace. When resilver is done, pull the old drive.

There is no issue with using a larger drive, if you replace all drives by larger ones (and the other old drives will likely go down in the same manner in a not too distant future), the pool should automatically expand.
OK. No spare port on this system. Maybe the next one I build.
 

Etorix

Wizard
Joined
Dec 30, 2020
Messages
2,134
Then you have to resilver from a degraded pool—and you read the documentation correctly for the procedure. Good luck!
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

geronimo1958

Contributor
Joined
Nov 19, 2011
Messages
112
Step 4a: Properly burn in and test the new disk.
Ran all of the smart tests and everything is reporting no errors.

Decided to try and run the badblocks test but the screen shots of the OS are different from my 11.3-U5. Is the "Detach" now "Export/Disconnect"?

Also, is the

badblocks -ws /dev/da0

good enough for my WD Red Plus 4TB?
 

geronimo1958

Contributor
Joined
Nov 19, 2011
Messages
112
Tried to attach to the tmux session this morning and it indicated there were no sessions. Last I saw last night was the test was at 90% with no errors. Is there any report generated? Does the badblocks test ending and no tmux session mean zero errors?
 

tgn55

Dabbler
Joined
Jan 1, 2019
Messages
23
I recently had another disk fail... the SMART alerts are set, but I read in another thread a bunch of stuff creating & running scripts to get email if/when a disk starts throwing these errors. That seems pretty clunky... but I cannot see any other setting to make it happen.

I just want FreeNAS to email me when it gets a disk with failing sectors... without either needing to SSH in and run a smartctl, or have to write/run cron scripts. Seems a fairly basic ask... but, if I have to, so be it... just looking for advice from a sage ;-)

Thanks in advance
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
I just want FreeNAS to email me when it gets a disk with failing sectors
It's already baked in. You need to enable the email alert service and make sure it's running properly with the test button. You need to set up email in System | Email and under System | Alert Services


You can tune it a bit, but the default is already set to critical and email immediately (under System | Alert Settings ... Hardware | SMART Errors).
 

tgn55

Dabbler
Joined
Jan 1, 2019
Messages
23
Dang... I thought I had email working... all the SMTP stuff was configured correctly, but seems it did not like my From address. Sorted now, so hopefully next time a disk goes flakey it will just work as expected. My bad.
 
Last edited:
Top