We backup our OLD Tru64 UNIX system (Digital UNIX 4.0F) to DDS3 tapes using the dump
command. We want to recycle those tapes to make future backups on when they get too old. I've found the mt erase
command won't erase them, probably because the dump command puts blocks on the tape and it's no longer raw.
What's a simple way to erase the tape?
Usually with tape devices you don't have to do anything special to overwrite them - simply start writing again from the beginning of the tape, and whatever was already on there is gone.
As a FAQ for one classic backup program notes, the problem is usually the reverse: most tape devices are so keen to rewind to BOT and start overwriting their payload, that considerable design and implementation effort is expended on preventing them from doing exactly that:
(AMANDA solved that problem by simply never appending to a tape - you write everything you're going to write to that tape in a single pass during which time the device is kept locked. Draconian and wasteful, yes, but that gives you some idea how easy it is to accidentally rewind and overwrite a tape!)
I would advise against degaussing for anything except secure destruction (and I wouldn't rely on it for that, either). As Wikipedia notes:
though I freely admit I don't know whether DDS-3 is one such medium.
or you can probably use a similar tar command to create an archive on the tape device from /dev/null
Try getting hold of a degausser (you just put the tape on it switch on and in a few seconds it's erased). Saves you the time of loading tapes up just to delete them.
I don't mean to be rude but I have to ask: Are you adminstering this system through a hole in time to 1995?