I'm fairly new to FreeBSD and I would like to know how you folks out there test the health of a new hard disk before installing it to a NAS server (in order to avoid beginning building say a 6 HDD RAID-Z2 with 2 out of 6 drives on the verge of death).
I'd check SMART output for the drive but I don't know what else.
In GNU/Linux normally it's recommended to run badblocks on the drive which indicates if some sectors are damaged.
Or you just run dd on the new drive for a week or so to stress it and see if anything weird (noise or SMART data) happens?
What happens if some (not hundreds of) bad sectors begin to appear? Can you fix them like in GNU/Linux using badblocks (mark those blocks as unusable) or fsck? Or are there some other tricks?
I'd check SMART output for the drive but I don't know what else.
In GNU/Linux normally it's recommended to run badblocks on the drive which indicates if some sectors are damaged.
Or you just run dd on the new drive for a week or so to stress it and see if anything weird (noise or SMART data) happens?
What happens if some (not hundreds of) bad sectors begin to appear? Can you fix them like in GNU/Linux using badblocks (mark those blocks as unusable) or fsck? Or are there some other tricks?