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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script keeps stopping momentarily while opening devices.

Status
Not open for further replies.

ronfarris

Programmer
Oct 25, 2000
30
US
I wrote a script to open approximately 30 tape drives consequetively over a scsi connection. I wrote this script so that I would be able to number write the rmt number of the tape drive on it as each drive opened. The script goes like this:

tapeutil -f /dev/rmt0 open &
sleep 2
tapeutil -f /dev/rmt1 open &
sleep 2
tapeutil -f /dev/rmt2 open &
sleep 2
etc. > rmt30

However, my problem is, that by the time /dev/rmt17 opens the process seems to stop, but after about 45 seconds, all of the remaining 13 drivers open at exactly the same time and the aixterm window where the drive was running seems to hang until I <Ctrl C> it.

It would be nice to have the ability for each drive to open consequitively as well as the ability to have all of the drives open precisely at the same time. Can anyone help me?

Thank you in advance.
ron
 
Could you tell me where to find the TAPEUTIL utility for Sun Solaris or an equivelent?

Any help would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top