cmh
Explorer
- Joined
- Jan 7, 2013
- Messages
- 75
Was on vacation, back now. Starting to work through the drives and just wanted to confirm this command line:
Have a little extra stuff around that in the script but that's the key part. Have only started the first drive so if this isn't the best option, then lemme know.
Also, the test system is an old Intel Atom-based system with an eSATA port which I connected to an external eSATA drive bay. Also have a USB drive bay but since ZFS recommends against USB in pools, I figured the eSATA was better.
Code:
sudo badblocks -vsw -b 4096 "$drive"
Have a little extra stuff around that in the script but that's the key part. Have only started the first drive so if this isn't the best option, then lemme know.
Also, the test system is an old Intel Atom-based system with an eSATA port which I connected to an external eSATA drive bay. Also have a USB drive bay but since ZFS recommends against USB in pools, I figured the eSATA was better.