Veritas-bu

[Veritas-bu] 'header' problems with used tapes

2001-08-29 17:35:30
Subject: [Veritas-bu] 'header' problems with used tapes
From: AhrensJ AT psi DOT ca (Jason Ahrens)
Date: Wed, 29 Aug 2001 17:35:30 -0400
> -----Original Message-----
> I tried a 'echo > /dev/rmt/0m' on another box that had a 
> standalone drive, and that wasn't good enough.
> 
> What would the preferred syntax be?

'mt' often has an 'erase' option, but this can take awhile.

Something more meaningful coult be (I've used this on occasion to ensure a
header was nuked)

dd if=/dev/zero of=/dev/rmt/0m bs=1024 count=1024

If your drive has compression, you may want to use /dev/random (if it
exists), or maybe a file large enough (I use a meg to be thorough)...

Jason