Subject: Re: amanda tape changer errors
To: None <netbsd-users@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-users
Date: 07/18/2002 18:59:02
On Thu, Jul 18, 2002 at 12:50:52PM -0400, Jan Schaumann wrote:
> Manuel Bouyer <bouyer@antioche.lip6.fr> wrote:
> > On Wed, Jul 17, 2002 at 06:26:44PM -0400, Jan Schaumann wrote:
>
> > > 6001 chg-scsi RET write 24/0x18
> > > 6001 chg-scsi CALL open(0x8069420,0x2,0xbfbfdc44)
> > > 6001 chg-scsi NAMI "/dev/nrst0"
> > > 6001 chg-scsi RET open -1 errno 19 Operation not supported by device
> > > 6001 chg-scsi CALL write(0xb,0x806b000,0x23)
> > > 6001 chg-scsi GIO fd 11 wrote 35 bytes
> > > "warning open of /dev/nrst0: failed
> > >
> > > Are there any people out there that experienced the same behaviour (and
> > > hopefully solved it)?
> >
> > I have this in my chg-scsi.conf (for each config):
> > dev /dev/nrst0 # the device that is used for the tapedrive 0
> > scsitapedev /dev/enrst0
> >
> > BTW I'm running 2.4.3b3; I don't remember if these options existed in
> > 2.4.2
>
> You wouldn't happen to have patches that bring pkgsrc's amanda up to
> 2.4.3b3 ?
It's already in pkgsrc: sysutils/amanda-dev*
>
> Currently, if I add 'scsitapedev /dev/enrst0', I can perform one action,
> but afterwards it fails with
>
> 26223 chg-scsi CALL open(0x8069450,0x2,0xbfbfda08)
> 26223 chg-scsi NAMI "/dev/enrst0"
> 26223 chg-scsi RET open -1 errno 16 Device busy
Do you know at this point why it returns "device busy" ? Does something
appear in dmesg ?
>
> Again, manually ejecting the tape allows me to perform another operation
> etc.
You mean, physically on the changer, or with 'mt offline' ?
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--