« Return to Thread: Using SCSI tapes

Re: Using SCSI tapes

by amateurgo :: Rate this Message:

Reply to Author | View in Thread

Hercules 3.06 so it's about as current as possible.  
Running as root  (mainly to eliminate permissions issues on the network adapter access, but I assume it should also eliminate any possible permission problems with /dev/nst0  )
I've just been installing the binaries..  would recompiling from source really make any difference?
Thanks

--- In hercules-390@..., "pfg504" <pfg504@...> wrote:

>
> I have been using scsi tapes on linux... are you running hercules as root? What are the permissions of /dev/nst0 ?
>
> What version of hercules? You should download the latest sources and recompile...
>
> Paul
>
>
> --- In hercules-390@..., "amateurgo" <amateurgo@> wrote:
> >
> > Is there something special you have to do to use a SCSI tape drive??  
> > I'm trying to help a friend try to use a SCSI tape drive (SDLT) on Hercules (3.06 on Linux) but we keep ending up with the tape drive "device or resource busy".  
> > Prior  to starting hercules I can use mt to control the tape drive (/dev/nst0) with no problem, but as soon as we try to use  it from Herc we get the  resource busy error, with lots of messages such as:
> > 08:46:39 HHCTA024E Error opening 0:0560=/dev/nst0; errno=16: Device or resource busy
> > 08:46:39 HHCCP048I 0560:CCW=07400001 00000000=>000A0000 00900074 40404040 F0F04040 ........    00  
> > 08:46:39 HHCCP075I 0560:Stat=0E00 Count=0001
> > 08:46:39 HHCCP076I 0560:Sense=50420022 00000020 00000000 00000000 00000000 00000000
> > 08:46:39 HHCCP077I 0560:Sense=INTREQ EQC ITF WRI
> > The device is defined as:
> > 0560      3480    /dev/nst0 --no-erg --blkid-32
> >
> > Any suggestions?
> >
>


 « Return to Thread: Using SCSI tapes