help with tape drive on aix 5.1


 
Thread Tools Search this Thread
Operating Systems AIX help with tape drive on aix 5.1
# 8  
Old 01-07-2004
I, like Perderabo, have not seen anything like /dev/rmt0 before - I just figured it was a typo.

Since the mt command worked, try the tar command - just change it to /dev/rmt0 instead of /dev/rmt/0.

Then to see if it truely worked

$ tar tvf /dev/rmt0

That should give you a listing of what is on the tape. Always check the commands given versus what AIX may have especially since we have seen the one difference in how AIX vs others looks at tape drives.
# 9  
Old 01-07-2004
here is the command from aix doc

For example, to list the files that have been saved onto a diskette with the cpio command, type:


cpio -itv </dev/rfd0

Im assuming that i can replace the word diskette with tape and
/dev/rfd0 with /dev/rmt0

when I run this i get

Cannot read from device

maybe i cant replace rfd0 with rmt0.......
# 10  
Old 01-07-2004
But you don't have a tape that was written by an earlier run of cpio. Try to write a tape, not read one.

You will need to put a tape in the drive and make sure that it is writable. For 8mm, there is a little tab that you slide open to make the tape writable.

And tar is much more simple than cpio. Try that tar command RTM gave you. Once you have that working you can move on to cpio if you really must.
# 11  
Old 01-08-2004
When I run tar tvf /dev/rmt0, it just hangs there.....

Maybe the tape isnt rewound, I can actually get to the server, its in a remote location....

Is there a way to rewind the tape from the command line?
# 12  
Old 01-08-2004
it came out of the hang with this

tar tvf /dev/rmt0
tar: 0511-193 An error occurred while reading from the media.
There is an input or output error.
# 13  
Old 01-08-2004
You should have someone at the remote site verify the tape is still in the drive.

Also you can use
$ mt -f /dev/rmt0 rewind
to rewind the tape (check your documentation to see if this is valid with AIX mt command)
# 14  
Old 01-13-2004
ok, so i had the guy in my team who is onsite at the data center pop in a new tape




Per your request I tried popping in other tape.

Here is what I got:

When I tried putting in other tape I got "clean drive" msg.
So I cleaned drive.
Put back in orig tape thinking that's all it was.
Tried to do simple copy and got "Cannot write to Device:"
So went back up and tried other tape .. got "clean drive" msg again
Cleaned drive again.
Put in other tape.
Tried doing simple copy and got same msg .. ie Cannot write .. etc

Ran cmd below and figured drive ok .. but not sure ..

You guys have any ideas/suggestions?
thx


# tctl -f /dev/rmt0 status
rmt0 Available 40-60-00-0,0 SCSI 8mm Tape Drive
attribute value description user_settable

mode yes Use DEVICE BUFFERS during writes True
block_size 1024 BLOCK size (0=variable length) True
extfm no Use EXTENDED file marks True
ret no RETENSION on tape change or reset True
density_set_1 39 DENSITY setting #1 True
density_set_2 39 DENSITY setting #2 True
compress yes Use data COMPRESSION True
size_in_mb 20000 Size in Megabytes False
ret_error no RETURN error on tape change or reset True
#




Our only other theory is maybe the density of the tape is incorect? any other ideas?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. HP-UX

TAPE drive

I have used ioscan -fnC tape and the system identified the tape drive. what is the command to show a listing of what is on the tape? I have used ls /dev/rmt/rmt0 to no avail. can anyone help? Thanks in advance (10 Replies)
Discussion started by: Randydog
10 Replies

2. AIX

Testing the dds tape drive on AIX

Hi I need to make some restore tapes for our old AIX systems I have purchased some DDS2 tapes and cleaning tapes The tape drive is rmt0 what commands can I enter to run the cleaning tape through the drive and are the any commands I can enter to test these drives prior to using... (2 Replies)
Discussion started by: madmacher
2 Replies

3. AIX

AIX 4.2.1 Tape Drive Problem

Hi, The problem I have is I want to restore my AIX machine. I have created a mksysb tape from my tape drive rmt0 and I changed the bootlist using this command "bootlist -m normal rmt0 hdisk0". However, when I display the bootlist "bootlist -om normal", it shows '-' hdisk0. I googled and... (2 Replies)
Discussion started by: AixNoob87
2 Replies

4. 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

5. AIX

SUN StorageTek tape drive with AIX 5.1

Hi, I have recently purchase a SUN Storage Tek desktop LTO 4 HH tape drive and connected to a IBM AIX 5.1 server. The server can detect the tape device. Can someone please advice urgently. Thanks (4 Replies)
Discussion started by: Caully
4 Replies

6. AIX

How to mount internal tape drive of sun machine in AIX 5.3

Hi, Help required! How to mount internal tape drive of sun machine in AIX 5.3 (0 Replies)
Discussion started by: ashwin.krishna
0 Replies

7. AIX

Replacing tape drive in RS/6000 7025 F40 running AIX 4.2.1?

I've just landed in a situation where an old IBM RS/6000 7025 F40 running AIX 4.2.1 has had it's tape drive fail. The tape drive in question is an HP C1533A 4mm 4GB/8GB DAT drive. It repeatedly gets write failures, and my trusty techique of whacking the cleaning tape in hasn't worked. Unfortunately... (2 Replies)
Discussion started by: phaedrus
2 Replies

8. AIX

AIX Tape Drive Backup

Currently I have a Dell Ultrium LTO 2 Tape Drive. I am going to have a IBM AIX server. Just wonder if it is possibe to connect this tape drive to the aix server? I have Brightstor Arcserver installed on another win 2003 server. Is it possible to install the arcserve agent on the aix and use the... (1 Reply)
Discussion started by: ming413
1 Replies
Login or Register to Ask a Question