Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX-Anyone know how to load a tape cartridge with a shell script com

Status
Not open for further replies.

ronfarris

Programmer
Oct 25, 2000
30
US
Hi:
Can anyone tell me how to load a tape cartridge in AIX with a shell script command.
It is over a scsi connection and I would also like to know how to simultaneously eject and then simultaneously load all of the tapes on the scsi chain.
 
Hi Ronfarris.

I have used tctl -command in such cases you described, have you tried it ?

Arsi
 
Hi Arsi:
Yes i tried tctl, however there is not a command to load the tape, just rewoff1 and offline to unload it.
tctl -f /dev/rmt* offline or rewoff1.

Do you know of any other command that might load the tape?
I can get them to load by using serial commands if I connect a serial cable to the tapedrives serial port from a PC, however, I cannot figure out how to load them automatically.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top