Does anyone have any ideas about how to set up automatic detection and conditional formatting of a LOT of HDDs?
I tried posting this on TomsHardwareForums, but I don't think the responder read my question.
Anyway, I would like to try to set up some kind of a linux system for testing these drives. If any grizzled HDD savvy linux admins here have experience with this, I would love a pointer or two.
I'm currently running CentOS on some old hardware and using a USB interface to a hot swap bay for testing these, but it's not really an ideal solution.
I'd like to assign each bay to a specific /dev location, and use modprobe to automatically detect the drives, check whether they pass the SMART test (and whether they have prefail values that indicate further testing), format them or DoD wipe them if they have data on them, then indicate this status somewhere for easy removal. I have this about half-way done, so far. I've heard good things about ldadm.
P.S. The link to my post on tomshardwareforum follows : http://www.tomshardware.com/forum/336332-31-automatically-testing-formatting-multiple-hdds-masse