KB Logo

TOLIS Group Knowledge Base

Browse KB by category:
Go to KB #:
Glossary
Email   Bookmark



How do I save time erasing tapes in Linux?

Views: 28523
Votes: 13
Posted: 11 Jul, 2007
Every time I run an erase command using MT in Linux, the process takes hours.  Is there a way to make this faster?

Under Linux, when you run the erase command, it performs a long erase function which can take several hours, especially on todays larger tapes such as LTO .  If you would like to run an erase on a tape under Linux, but don't have the time it takes to complete a full erase, you can run the following command that gives you a short erase.

From a terminal window, run:

$ sudo dd if=/dev/zero of=/dev/st0 bs=512 count=1
 
This will run the equivalent of an erase on the tape by writing null blocks to the first 512k of the tape, thus making the tape appear to be deleted and saving hours of time.
Others in this Category
document I would like to submit information for the TOLIS Group Knowledgebase, submit a feature request, or provide feedback, how can I do that?
document How to get OS X to mount drives on boot rather than login and leave them mounted when you logout
document I have an ??? size backup, how long will it take BRU to back it up?
document Linear Tape File System (LTFS) Caveats
document Apple SIP prevents access to special folders causing "Permission denied" errors
» More Articles



RSS
Powered by KnowledgebasePublisher
Page Load Time: 0.031608 seconds / 31.608 milliseconds.
Page File Size: 19643 bytes.