Tape Drive Configuration

Dear All,

I have a tape drive which has worked for offer 3yrs properly on SCO Openserver Release = 3.2v5.0.5. I tried to clean it all invain. I did a fresh installation of unix of the same OS and did the configuration still didn't bear fruits. The tape is a scsi and the configuration is as follows:

  • Attached to adaptec 2940U2W - 7800 family
    mkdev tape
  1. Scsi tape drive
  2. Scsi host adapter - blad for blad325
  3. blad scsi host adapter - 0
  4. scsi bus - 0
  5. target id - 6
  6. LUN of id - 0
    and then updates the kernel.

When i try to backup or list contents of the tape drive using this command :- tar cvfb /dev/rStp0 20 /u i get this error:- tar: cannot open: /dev/rStp0
Please give a hand on this since am supposed to do full system backup.
Joseph Njoroge
:confused:

Can you show us the contents of /etc/conf/cf.d/mscsi and the contents of /usr/adm/messages, only for the last boot.

thanks for your reply. mscsi file is as follows: -

  •   ha    = device name of SCSI host adapter driver e.g. ad
    

*ha attach number ID lun bus
wd Srom 1 0 0 0
blad Stp 0 6 0 0
messages report is as follows:-
device address vec dma comment
---------------------------------------------------------------------------
%adapter 0xCC00-0xCCFF 5 - type=blad ha=0 bus=0 id=7 fts=sto
%tape - - - type=S ha=0 id=6 lun=0 bus=0 ht=blad
mem: total = 261364k, kernel = 14464k, user = 246900k
swapdev = 1/41, swplo = 0, nswap = 786000, swapmem = 393000k
rootdev = 1/42, pipedev = 1/42, dumpdev = 1/41
kernel: Hz = 100, i/o bufs = 6652k

regards,
Njoroge

If you run "mkdev tape", and display the current configuration, does it only show one tape drive. There were some issues with either 5.04 or 5.0.5
Did you make this tape the default tape.
What is the output of "tape status"
Is the hard drive attached to the same controller?

It has been a while since I've used tape so consider the source.

IIRC, mkdev created 3 devices when it made tape. Are there other devices in /dev that could be your tape, or links to your tape.

On earlier versions you could modify /etc/default/tar to change the default line to point to the one device you use.

messages indicates that it found the drive, so I would anticipate that the issue is the name.