wipe_tapes.pl
June 21st, 2007Here’s a little script I whipped up in perl to sequentially load and erase all the tapes in an auto loader. Hopefully it is of some use to others.
Here’s a little script I whipped up in perl to sequentially load and erase all the tapes in an auto loader. Hopefully it is of some use to others.
I recently converted from Arkeia (a horribly overpriced and buggy piece of software) to Bacula (a free, stable, higher performance alternative). At the same time I upgraded my backup server to Debian Etch and started having a problem where my tape library would alternatively show up as either /dev/sg0 or /dev/sg2 depending on what order things were powered up. Obviously that presents a problem if certain pieces of software expect your auto changer to located at a certain device node in /dev.
This can be fixed by making a custom udev rule…
Well here it is. I’ve finally converted to the dark side.
Ill be moving content over from the old site Real Soon Now(tm).