help with tape drive on aix 5.1


 
Thread Tools Search this Thread
Operating Systems AIX help with tape drive on aix 5.1
# 1  
Old 01-07-2004
help with tape drive on aix 5.1

I have a dlt tape drive on a AIX 5.1 machine, I have no idea how to backup to this thing, would I just mount it can copy over to it, not sure the commands or where to begin? Can anyone help, or point me to documentation....
# 2  
Old 01-07-2004
actuall this is how prtconf lists it


+ rmt0 40-60-00-0,0 SCSI 8mm Tape Drive (20000 MB)
# 3  
Old 01-07-2004
ok, after some research i got this far


I have come to a wall.
Im trying to copy files to a 8mm tape drive on hostname, using the cpio command. Something like this

ls_*.c_|_cpio_-ov_>/dev/rmt0

I keep getting this

Cannot write to disk

Can anyone help?
# 4  
Old 01-07-2004
Does /dev/rmt0 exist? I don't know AIX, but it may be /dev/rmt/0. The file must exist and be a special file that points to the tape drive.
# 5  
Old 01-07-2004
First - let me mention I don't have an AIX system to test with

But, you should be able to use the following commands to see if the system can use the tape drive. Check your documentation (man pages) for proper use of commands given.

List tape drives:
$ ls -l /dev/rmt

Get status of tape drive (put a tape in the tape drive)

$ mt -f /dev/rmt/0 status

To see if you can backup files to it - cvf means create, verbose, file to backup to (normally not needed when using /dev/rmt/0 but I usually put it in anyway)
$ cd /var/adm
$ tar cvf /dev/rmt/0 .
# 6  
Old 01-07-2004
yes, /dev/rmt0 is there, and if i run

# lsdev -Cc tape
rmt0 Available 40-60-00-0,0 SCSI 8mm Tape Drive


this leads me to believe it is available

what command is this?

mt -f /dev/rmt/0 status

specifically the mt command?
# 7  
Old 01-07-2004
ignore the part about mt in my previous post, i got this

# mt -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
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