Solved

Need Tape Erase command for DLT8000 Tapes in HP Unix

Posted on 2008-10-02
4
987 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now