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

Tape command problem

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have configured a SCSI tape drive for SCO Openserver 5.0.6, but when I tried to use the tape command to check the status of the tape drive I got this error:

-# tape -s status
tape: unable to do 'status' command on '/dev/xct0' : Invalid argument

The tape device exist and there is no confilts at all.

any suggestions?

Ereg
 
Ereg

You need to specify the device which should be /dev/rStp0 for the first SCSI tape drive.

tape -s status /dev/rStp0

Roy
 
Thanks Royt, but when I exeec that command, this is the output I got:-

# tape -s status /dev/rStp0
tape: can't open '/dev/rStp0': No such device or address

I did check if there is rStp0:-

# ls -l /dev/rStp0
crw-rw-rw- 5 root root 46, 0 Mar 21 10:22 /dev/rStp0


any suggestions?
 
I haven't actually used a scsi tape in 5.0.6 but rStp0 works for 5.0.5. Are there any other devices such as rStp1?

If you
# mkdev tape
choose 1. Configure a SCSI...
then choose 6. View Current...

This won't give the name but it will tell you what is installed

Also try # hwconfig

If there is no entry for the tape then it certainly won't work

Roy
 

The device node may exist but is it correct? hwconfig -h will show the resources that the tape uses. Check controller #, bus #, lun #, and SCSI ID

James
 
There is generic tape stuff loaded on install by earlier versions that give some of the same problems. Solution on them was mkdev tape , remove scsi device, regen kernel, reboot, mkdev tape, add a scsi tape, regen & reboot.
I've seen the problem from 4.2 thru 5.0.5 so it wouldn't surprise me if it is in 5.0.6.
And no matter what I did, until I got rid of the generic then added specific, it plain didn't work. Don't know if this will help, but is offered as my observation. Ed Fair
efair@atlnet.com

Any advice I give is my best judgement based on my interpretation of the facts you supply.

Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.

 
I´m having the exakt problem as above but on 5.0.5 instead.
I can however do tape status but not tape xstatus or getspeed.

REALLY URGENT!!

Ideas anyone?

as far as I can see, the lun, bus, scsi-id and so on looks fine.

/Sören
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top