acdcfanbill

joined 11 months ago
[โ€“] acdcfanbill@alien.top 1 points 9 months ago (2 children)

I think 8192 is high enough, since 4096 only breaks after something like 16TB.

[โ€“] acdcfanbill@alien.top 2 points 9 months ago (1 children)

when 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.