Solved

Need Tape Erase command for DLT8000 Tapes in HP Unix

Posted on 2008-10-02
4
999 Views
Last Modified: 2013-12-06
Dear All,
how can I erase the contents of a tape in order to take a new backup on this tape?
I have hp unix 11.0 and DLT8000 Tape drive ..Please le me know soon

Thanks
Jay
swatujct@hotmail.com
0
Comment
Question by:swatujct
  • 3
4 Comments
 
LVL 12

Expert Comment

by:TapeDude
ID: 22623511
You don't need to erase them - if you just start writing to them from BOT (beginning of tape) the old data will be overwritten. At the end of the write operation, two tape marks will be automatically written to the drive and any (standard) DLT drive will refuse to read beyond them - thus ensuring that any previously written data that extends beyond that point will not be accessible.

There are modified drives in a few data recovery bureaus that will read beyond that point but they're very rare indeed.

0
 
LVL 12

Expert Comment

by:TapeDude
ID: 22623579
Sorry,

...."two tape marks will be automatically written to the drive and any (standard) DLT drive will refuse to read beyond them"....

Should read:

...."two tape marks will be automatically written to the tape, which will be taken as EOD (end of data) by any (standard) DLT drive, which will refuse to read beyond that point"....
0
 

Author Comment

by:swatujct
ID: 22623824
Thanks for your reply. Still if you can give me a format command that would be great.Regards-Jay
0
 
LVL 12

Accepted Solution

by:
TapeDude earned 500 total points
ID: 22624961
When you do a 'format' of a DLT tape, you are sending the drive a SCSI 'erase' command, which requests the drive to overwrite a short section at the beginning of the tape with blank data. Unlike the old QIC tape, DLT's aren't formatted per se. The amount of blank data written to the tape would be less than you'd typically write if you were just to write another backup to the tape - in which case, you'd be over-writing the 'formatted' section anyway.

However, if you insist on 'formatting' the tapes first, there should be a command similar to linux's mt. I'm not familiar with HP Unix, but in linux you'd use:

       mt -f <device file> erase
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question