Mark_the_Red
Dabbler
- Joined
- May 3, 2017
- Messages
- 28
Long time lurker; first time poster.
Raid Z2 9.10 Freenas Server Here. I have a 6x3tbRaid Z2 server (6 x 3tb WD Green wdidle.exe fixed) and has been working swimmingly for over a year now.
Recently one of my HDD's has been giving uncorrectable sector errors (197,198 smrtctl codes) in 4 sectors. I have tried (and failed) to deliberately write to the sectors using the instructions in the link below:
https://dekoder.wordpress.com/2014/10/08/fixing-freenas-currently-unreadable-pending-sectors-error/
For whatever reason, the smrtctl -a /dev/ada6 is not locating the sectors with which I can force write to via the bottom solution. The sector errors have been at 4 but I am sick of the critical alert emails. Drive is still working but (maybe unrelated) my write speeds have been halved since this started.
So I have two options.
(a) Wipe the drive / format and resilver it from the FreeNAS webgui to hopefully overwrite these sector errors.
(b) Replace the drive with a new one and resilver.
My question for both, is how to safely do this. PLEASE DO NOT TELL ME TO REFER TO THE FREENAS MANUAL ON REPLACING DRIVES BECAUSE THE INSTRUCTIONS THERE ARE FOR OLDER VERSIONS OF FREENAS THAT TO NOT APPLY TO FREENAS 9.10. 9.10 does not give you the option /button to offline the drive from the Webgui. I have either "Wipe" or "Edit" options and no "offline" for ada6.
That said, what is the easiest way to do this without screwing up my Zpool.
Do I just "wipe" the drive from the Webgui because I have enough redundancy with the ZF2? Do I just shut down the server and physically pull the drive , wipe and replug it in?
This is probably really stupid question for most of you, but I admit I did not go to Linux bootcamp so I'd rather ask you pros. ie., measure twice and cut once with this action. What is my safest course of action here? I searched the forums and couldn't find an answer to this question.
Raid Z2 9.10 Freenas Server Here. I have a 6x3tbRaid Z2 server (6 x 3tb WD Green wdidle.exe fixed) and has been working swimmingly for over a year now.
Recently one of my HDD's has been giving uncorrectable sector errors (197,198 smrtctl codes) in 4 sectors. I have tried (and failed) to deliberately write to the sectors using the instructions in the link below:
https://dekoder.wordpress.com/2014/10/08/fixing-freenas-currently-unreadable-pending-sectors-error/
For whatever reason, the smrtctl -a /dev/ada6 is not locating the sectors with which I can force write to via the bottom solution. The sector errors have been at 4 but I am sick of the critical alert emails. Drive is still working but (maybe unrelated) my write speeds have been halved since this started.
So I have two options.
(a) Wipe the drive / format and resilver it from the FreeNAS webgui to hopefully overwrite these sector errors.
(b) Replace the drive with a new one and resilver.
My question for both, is how to safely do this. PLEASE DO NOT TELL ME TO REFER TO THE FREENAS MANUAL ON REPLACING DRIVES BECAUSE THE INSTRUCTIONS THERE ARE FOR OLDER VERSIONS OF FREENAS THAT TO NOT APPLY TO FREENAS 9.10. 9.10 does not give you the option /button to offline the drive from the Webgui. I have either "Wipe" or "Edit" options and no "offline" for ada6.
That said, what is the easiest way to do this without screwing up my Zpool.
Do I just "wipe" the drive from the Webgui because I have enough redundancy with the ZF2? Do I just shut down the server and physically pull the drive , wipe and replug it in?
This is probably really stupid question for most of you, but I admit I did not go to Linux bootcamp so I'd rather ask you pros. ie., measure twice and cut once with this action. What is my safest course of action here? I searched the forums and couldn't find an answer to this question.
Last edited by a moderator: