Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 2004 17:30:10 -0500
From:      junk <junk@boxchat.net>
To:        freebsd-scsi@freebsd.org
Subject:   Re: mounting scsi tape drive
Message-ID:  <1081204210.1755.3.camel@MyBox.BoxChat.net>
In-Reply-To: <1081199364.1484.10.camel@MyBox.BoxChat.net>
References:  <1081198427.1470.2.camel@MyBox.BoxChat.net> <20040405205757.GA65486@panzer.kdm.org> <1081199034.1473.7.camel@MyBox.BoxChat.net> <1081199364.1484.10.camel@MyBox.BoxChat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok, i got the drive working, but im not sure why I can't write to it.

[root@cpr]/home/techie(163): camcontrol tur sa0 -v
Unit is ready

[root@cpr]/home/techie(164): mt status
Mode      Density              Blocksize      bpi      Compression
Current:  0x41:DLTapeIV(40GB)    variable       98250    disabled
---------available modes---------
0:        0x41:DLTapeIV(40GB)    variable       98250    none
1:        0x41:DLTapeIV(40GB)    variable       98250    none
2:        0x41:DLTapeIV(40GB)    variable       98250    none
3:        0x41:DLTapeIV(40GB)    variable       98250    none
---------------------------------
Current Driver State: at rest.
---------------------------------
File Number: 0  Record Number: 0        Residual Count 28




I am gettin this in dmesg after i try to write to it:

(sa0:ahc0:0:5:0): WRITE FILEMARKS. CDB: 10 0 0 0 2 0
(sa0:ahc0:0:5:0): ILLEGAL REQUEST asc:24,0
(sa0:ahc0:0:5:0): Invalid field in CDB
(sa0:ahc0:0:5:0): failed to write terminating filemark(s)
(sa0:ahc0:0:5:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM
command to clear this state.

Sorry to keep bothering you all. I'm new to scsi tape drives. :/

Thanks.


On Mon, 2004-04-05 at 16:09, junk wrote:
> Well after trying my 3rd tape, it finally works.
> Who would have thought I'd get two tapes in a row bad. 
> 
> Thanks
> Wade
> 
> On Mon, 2004-04-05 at 16:03, junk wrote:
> > Yes, I have a tape in it.
> > 
> > [root@cpr]/etc(195): mt status
> > mt: /dev/nsa0: Invalid argument
> > 
> > [root@cpr]/etc(196): camcontrol tur sa0 -v
> > Unit is not ready
> > (pass2:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
> > (pass2:ahc0:0:5:0): ILLEGAL REQUEST asc:80,81
> > (pass2:ahc0:0:5:0): Vendor Specific ASC
> > 
> > 
> > 
> > On Mon, 2004-04-05 at 15:57, Kenneth D. Merry wrote:
> > > On Mon, Apr 05, 2004 at 15:53:48 -0500, junk wrote:
> > > > I am having a problem mounting a scsi tape drive.
> > > > The kernel sees it , but it wont mount.
> > > > 
> > > > >From dmesg:
> > > > 
> > > > sa0 at ahc0 bus 0 target 5 lun 0
> > > > sa0: <CONNER CTT8000-S 1.17> Removable Sequential Access SCSI-2 device
> > > > sa0: 5.000MB/s transfers (5.000MHz, offset 15)
> > > > 
> > > > When i try to mount it:
> > > > 
> > > > [root@cpr]/dev(184): mount /dev/sa0 /mnt/tape/
> > > > mount: /dev/sa0: Block device required
> > > > 
> > > > even tried:
> > > > [root@cpr]/dev(185): mount /dev/nsa0 /mnt/tape/
> > > > mount: /dev/nsa0: Block device required
> > > 
> > > You can't mount a tape drive like that.  mount only works for disk devices
> > > with filesystems.
> > > 
> > > > [root@cpr]/dev(186): mt rewind
> > > > mt: /dev/nsa0: Invalid argument
> > > 
> > > Do you have a tape in the drive?  What happens when you type 'mt status'?
> > > 
> > > Try this:
> > > 
> > > camcontrol tur sa0 -v
> > > 
> > > Ken
> > 
> > _______________________________________________
> > freebsd-scsi@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"
> 
> _______________________________________________
> freebsd-scsi@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1081204210.1755.3.camel>