[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Need Tape Erase command for DLT8000 Tapes in HP Unix

Posted on 2008-10-02
4
Medium Priority
?
1,032 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 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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…
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.:
Suggested Courses
Course of the Month18 days, 4 hours left to enroll

830 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