The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can I use Any DSS Tape in My Drive ? AIX122 AIX 2 11-12-2007 01:27 PM
tape drive alisevA3 UNIX for Dummies Questions & Answers 4 04-24-2006 02:53 AM
4MM Tape Drive joeweisser AIX 1 08-18-2005 05:44 AM
second tape drive on SCO 505 franruiz UNIX for Dummies Questions & Answers 1 06-15-2004 10:11 AM
Tape Drive SCO 5.0.7 josramon UNIX for Advanced & Expert Users 2 07-03-2003 09:28 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-07-2004
Registered User
 

Join Date: Sep 2003
Location: Arlington, VA
Posts: 160
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....
Reply With Quote
Forum Sponsor
  #2  
Old 01-07-2004
Registered User
 

Join Date: Sep 2003
Location: Arlington, VA
Posts: 160
actuall this is how prtconf lists it


+ rmt0 40-60-00-0,0 SCSI 8mm Tape Drive (20000 MB)
Reply With Quote
  #3  
Old 01-07-2004
Registered User
 

Join Date: Sep 2003
Location: Arlington, VA
Posts: 160
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?
Reply With Quote
  #4  
Old 01-07-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
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.
Reply With Quote
  #5  
Old 01-07-2004
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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 .
Reply With Quote
  #6  
Old 01-07-2004
Registered User
 

Join Date: Sep 2003
Location: Arlington, VA
Posts: 160
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?
Reply With Quote
  #7  
Old 01-07-2004
Registered User
 

Join Date: Sep 2003
Location: Arlington, VA
Posts: 160
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
cpio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:48 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0