acdcfanbill@alien.topBtoData Hoarder@selfhosted.forum•Got my HDDs delivered. How can I test them all before putting real data on them?English
2·
11 months agowhen I get new hdds, i open a tmux instance with one pane per hdd, then i do:
- smartctl -t short /dev/sdX
- smartctl -t conveyance /dev/sdX
- badblocks -b 4096 -ws /dev/sdX
- smartctl -t long /dev/sdX
And if it passes all those, then I put them into a zpool.
edit: for bigger drives, you might need to increase the block size for badblocks, 65535 for example.
I think 8192 is high enough, since 4096 only breaks after something like 16TB.