Solved

Need Tape Erase command for DLT8000 Tapes in HP Unix

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
llcommand 6 87
Shell script errors 10 115
How to calculate the current use of PVU on my TSM server. 4 61
How to check the PVU´s on AIX TSM servers? 3 76
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

896 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

16 Experts available now in Live!

Get 1:1 Help Now