View tape Info?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers View tape Info?
# 8  
Old 05-20-2003
Does the device drive /dev/tape exist on your machine? Often, it is a symbolic link to specific device driver.

Please post the output of the command:

ls -l /dev/tape

Neo
# 9  
Old 05-26-2003
No it does not exist.

# ls -l /dev/tape
/dev/tape not found


How/what do I need to do to rectify this?
# 10  
Old 05-27-2003
I think that you're taking PxT too literally here. I think that you were supposed to replace /dev/tape with the name of your tape drive. The actual naming convention varies from system to system. In your case, /dev/nrmt0h seems to be the anwser. I am guessing that the n means "no-rewind" and the h means high density.

Not all tape drivers can handle all possible options of the mt command. The driver does not know how to erase your dds-1 tape. Drivers sometimes set the wrong (or at least not the best) error code.

IIRC, DDS-1 tapes are very easy to destroy since they can't read past the end of data.

dd if=/dev/null of=/dev/nrmt0h

should do it.
# 11  
Old 05-27-2003
Cheers Perderabo,

Using dd if=/dev/null of=/dev/nrmt0h obs=516

Works without error and gives the result

0+0 records in
0+0 records out


Sadly however the contents of the tape can still be read.
# 12  
Old 05-28-2003
What command do you use to read the tape? Since you say the tape can be read, please post the command you used (in your post above) to read it, thanks.
# 13  
Old 05-29-2003
Neo,

We were ....

@ 06:47
MessageVdump to write the tape
Vrestore to read it


later on ...

@ 07:07
MessageCam

I had a trawl of the internet.
Looks like the scu (SCSI Utility program) is the way to go

scu -f /dev/nrmt0h mt erase

I am testng, looks like it is working, take a long time though.

Jim


I hate and love how there are sooo many ways to skin these cats.
# 14  
Old 05-29-2003
Not withstanding that we've found one solution, what other way could we have solved this??
 
Login or Register to Ask a Question

Previous Thread | Next Thread

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
Login or Register to Ask a Question