Visit Our UNIX and Linux User Community


View tape Info?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers View tape Info?
# 1  
Old 08-07-2001
View tape Info?

Does anyone know the UNIX command to view and/or erase data that is on an 8-track tape? Thanks for your help! Linda
# 2  
Old 08-07-2001
thats kind of a wide angled question.

1) what command was the data written with?
2) what OS was used?
# 3  
Old 08-07-2001
View tape info

Thanks for your help! Wow what a quick response! Well, I don't know what command that data was written with and I can't be sure about the OS on them. You see we have about 150 8-track tapes that we don't use, they have been in our computer room for years and the purchasing department wants to send them to auction. I work for the local government and we don't throw anything away - we sell it. Before the tapes can be sent to auction I need to make sure all data has been erased. I was thinking if there was a command in UNIX that would allow me to view the contents of the tape and then erase it. Or even view the data and move it elsewhere. Thanks, Linda
# 4  
Old 08-07-2001
the only problem i see with what your trying to do is you dont know the command that wrote to the tape if anything is on them at all.

We make it a pollicy to not toss anything out for at least 1-1.5 years after it is no longer in use. IE tapes. then we send them to a disposale company that specializes in destroying data. I would just say hey have a bon fire one night. Used tapes wont bring much if anything in an auction.


if your on a solaris machine you can try the erase command.

Code:
man mt


NAME
     mt - control magnetic tape drive operation

SYNOPSIS
     mt [-V] [-f device]  [--file=device]  [--version]  operation
     [count]

Misc. Reference Manual Pages
erase
          Erase the tape.

# 5  
Old 08-07-2001
If you just want to erase the data:

dd if=/dev/random of=/dev/tape obs=x


Where x is the capacity of your tape in bytes. If you don't have /dev/random on your system (such as HP-UX), use /dev/null instead.

# 6  
Old 05-16-2003
OS: Tru64 Unix - Ver 4.0f - DEC 3000(M800).

When I tried to erase some tapes (std DDS(1) 125) on a newly reinstalled OS with the following command ...

# mt -f /dev/nrmt0h erase

And returned the following error ...

Dev erase 1 failed - no such device or address

Little confused as we (myself and a college) were able to vdump the contents of the /var directory to tape with success.

Any suggestions ??? Will try the dd if=/dev/random of=/dev/tape obs=x in the meantime.
# 7  
Old 05-19-2003
Hi again,

Tried : dd if=/dev/null of=/dev/tape obs=516 with no success.

Contents of the tape could still be read.

Any other suggestions to erasing the tape??
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #570
Difficulty: Medium
The C programming language allows you to pass a parameter to a function by providing its memory address instead of the value stored in it.
True or False?

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

Moving from Desktop View to Mobile View

See attached video for a demo on how to move back and forth from the desktop view to the mobile view. Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on. Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies

2. AIX

Ejecting tape on AIX & Some Tape commands

I am trying to use this command to eject the tape mt -f /dev/rmt/0 unload but it gives me error mt -f /dev/rmt/0 unload mt: 0511-575 unload is not a recognized subcommand. Usage: mt Subcommand Valid subcommands are: weof eof fsf bsf ... (5 Replies)
Discussion started by: filosophizer
5 Replies

3. UNIX for Dummies Questions & Answers

View tape backup files on RHEL5 Operating System

I have an AIX server with a tape Library residing on it. I intend to restore the data backed up to the tape on Red Hat Enterprise Linux 5. First , i would want to view the contents of the tape on RHEL 5(x86) but seems to be giving an input output error. I observed that if i backup to tape on... (20 Replies)
Discussion started by: optimum
20 Replies

4. AIX

View tape backup files on RHEL5 Operating System

I have an AIX server with a tape Library residing on it. I intend to restore the data backed up to the tape on Red Hat Enterprise Linux 5. First , i would want to view the contents of the tape on RHEL 5(x86) but seems to be giving an input output error. I observed that if i backup to tape on... (1 Reply)
Discussion started by: optimum
1 Replies

5. Red Hat

How to view all files on DAT tape

I'm using tar and so far so good, but how can I view ALL files without having to fast forward and rewind the tape? Let's say I append 100 files onto the tape. Having to fast forward 100 times until I find the file I want is kinda tedious. (3 Replies)
Discussion started by: sdotsen
3 Replies

6. SCO

Tape Status shows 2 Hard errors and 5 Underruns on new tape

when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several: Status : ready beginning-of-tape soft errors : 0 hard errors: 2 underruns: 5 My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Discussion started by: psytropic
5 Replies

7. UNIX for Dummies Questions & Answers

Mounting DLT tape and to backup file to tape

Hi there: I'm new here Can anyone help me: I have DS15 Alpha server : Unix 5.1B Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit. What is the exact comman to mount the DLTape IV?? How do i make backuo @ copy file to the tape? Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies

8. UNIX for Advanced & Expert Users

Space free on tape /delete a single file on tape

Hi, I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape. Thanks DOMENICO (3 Replies)
Discussion started by: Minguccio75
3 Replies

9. UNIX for Dummies Questions & Answers

? View A Backup Tape

I AM A NEWBIE PLEASE HELP!! IF YOU HAVE KSH YOU SHOULD USE A TAR COMMAND HOW DO YOU VIEW A TAPE WITH JUST AN SH. MY MIS CRASHED AND I KEEP GETTING AN ERROR MESSAGE CANNOT FORK: TOO MANY PROCESSES :confused: (3 Replies)
Discussion started by: NOT A CLUE
3 Replies

Featured Tech Videos