Hi,
I'm new to nas4ree.
Installed the os and have added two HDD's.
I've searhed the documentation and thi forum, but I seem incapable of finding how to do a thourough check on t he health of both secondhand drives.
Already I went to Advanced | Execute and ran "smartcrl -t long /dev/ada0". But then nothing seems to happen and I have no clue whether thsi script is actually running now...
Is anyone willing to share with me what is the best an easy way to do a check?
Thank you.
Sleegemi.
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Thourough HDD drive health check?
-
Sleegemi
- NewUser

- Posts: 3
- Joined: 22 Nov 2015 01:10
- Status: Offline
-
Sleegemi
- NewUser

- Posts: 3
- Joined: 22 Nov 2015 01:10
- Status: Offline
Re: Thourough HDD drive health check?
Oops!
My apologies for the misspellings. Well, it's allmost 1:30AM and am quite tired...
My apologies for the misspellings. Well, it's allmost 1:30AM and am quite tired...
-
kenZ71
- Advanced User

- Posts: 379
- Joined: 27 Jun 2012 20:18
- Location: Northeast, USA
- Status: Offline
Re: Thourough HDD drive health check?
I assume and plan for random hardware failures.
So I simply install the drives and check SMART if it passes then the drive stays in my redundant pool. Also, I backup once a month. So I have multiple copies allowing for multiple drives to fail without data loss.
So I simply install the drives and check SMART if it passes then the drive stays in my redundant pool. Also, I backup once a month. So I have multiple copies allowing for multiple drives to fail without data loss.
11.2-RELEASE-p3 | ZFS Mirror - 2 x 8TB WD Red | 28GB ECC Ram
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu
-
Sleegemi
- NewUser

- Posts: 3
- Joined: 22 Nov 2015 01:10
- Status: Offline
Re: Thourough HDD drive health check?
Hi Ken, thank you for your answer.
The thing is, from several people I read that solely relying on S.M.A.R.T. doesn't give one a good impression on the healtiness of a drive. I really would like to somehow for at least one time do a full scan like checkdisk under Windows.
i.e. b0ssman wrote earlier this year: "Those smart test are mostly meaningless. They will report a drive to be OK long after I would consider the drive to be unusable. Analysing the raw data is much more useful"
The thing is, from several people I read that solely relying on S.M.A.R.T. doesn't give one a good impression on the healtiness of a drive. I really would like to somehow for at least one time do a full scan like checkdisk under Windows.
i.e. b0ssman wrote earlier this year: "Those smart test are mostly meaningless. They will report a drive to be OK long after I would consider the drive to be unusable. Analysing the raw data is much more useful"
-
kenZ71
- Advanced User

- Posts: 379
- Joined: 27 Jun 2012 20:18
- Location: Northeast, USA
- Status: Offline
Re: Thourough HDD drive health check?
Yes, smart can be meaning less which is why we have redundant pools and backups
11.2-RELEASE-p3 | ZFS Mirror - 2 x 8TB WD Red | 28GB ECC Ram
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu
- b0ssman
- Forum Moderator

- Posts: 2438
- Joined: 14 Feb 2013 08:34
- Location: Munich, Germany
- Status: Offline
Re: Thourough HDD drive health check?
if you have no data on the drive a good check for the health of the drive can be done using the linux tool badblocks
badblocks -wvsb 4096 /dev/sdb
depending on the speed of the drive this will take about a day.
save the raw smart values before and compare them afterwards.
the values to especially look at are
SMART 5 – Reallocated_Sector_Count.
SMART 187 – Reported_Uncorrectable_Errors.
SMART 188 – Command_Timeout.
SMART 197 – Current_Pending_Sector_Count.
SMART 198 – Offline_Uncorrectable.
badblocks -wvsb 4096 /dev/sdb
depending on the speed of the drive this will take about a day.
save the raw smart values before and compare them afterwards.
the values to especially look at are
SMART 5 – Reallocated_Sector_Count.
SMART 187 – Reported_Uncorrectable_Errors.
SMART 188 – Command_Timeout.
SMART 197 – Current_Pending_Sector_Count.
SMART 198 – Offline_Uncorrectable.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.
- ChriZathens
- Forum Moderator

- Posts: 758
- Joined: 23 Jun 2012 09:14
- Location: Athens, Greece
- Contact:
- Status: Offline
Re: Thourough HDD drive health check?
Badblocks is also available for FreeBSD.
Not sure it is there on N4F, though...(currently NAS is off)
If not, then it is a reasonable feature request.
If it gets added, a wiki entry for hdd burn in tests using badblocks, will also be a nice addition....(hopefully I will have time to create it)
EDIT:Using 9.3.0.2 - Nayla (revision 1310) on my main NAS and just verified that badblocks is there... Nice
Not sure it is there on N4F, though...(currently NAS is off)
If not, then it is a reasonable feature request.
If it gets added, a wiki entry for hdd burn in tests using badblocks, will also be a nice addition....(hopefully I will have time to create it)
EDIT:Using 9.3.0.2 - Nayla (revision 1310) on my main NAS and just verified that badblocks is there... Nice
My Nas
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- Case: Fractal Design Define R2
- M/B: Supermicro x9scl-f
- CPU: Intel Celeron G1620
- RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
- PSU: Chieftec 850w 80+ modular
- Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
- O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
- Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- ChriZathens
- Forum Moderator

- Posts: 758
- Joined: 23 Jun 2012 09:14
- Location: Athens, Greece
- Contact:
- Status: Offline
Re: Thourough HDD drive health check?
IIRC, what b0ssman meant, was not that you should not use smart, or rely on smart. The overall "Passed" result is something to not rely on. But actually the raw data will do tell you what is going on with your drives.Sleegemi wrote:i.e. b0ssman wrote earlier this year: "Those smart test are mostly meaningless. They will report a drive to be OK long after I would consider the drive to be unusable. Analysing the raw data is much more useful"
My Nas
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- Case: Fractal Design Define R2
- M/B: Supermicro x9scl-f
- CPU: Intel Celeron G1620
- RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
- PSU: Chieftec 850w 80+ modular
- Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
- O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
- Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- b0ssman
- Forum Moderator

- Posts: 2438
- Joined: 14 Feb 2013 08:34
- Location: Munich, Germany
- Status: Offline
Re: Thourough HDD drive health check?
yes. a smart test will give a pass to a drive that has reallocated sectors. this is a sign that the surface of the platter has problems.
however if that is your system drive you would normally not notice anything wrong and the drive will prob work fine for a bit longer (time to get out of warranty). its in the manufactures interest not to let customers return those drives to early.
however if that is your system drive you would normally not notice anything wrong and the drive will prob work fine for a bit longer (time to get out of warranty). its in the manufactures interest not to let customers return those drives to early.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.