From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 14:01:49 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A64F16A4CF for ; Mon, 5 Apr 2004 14:01:49 -0700 (PDT) Received: from MyBox.BoxChat.net (mybox.boxchat.net [68.15.171.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93BB543D46 for ; Mon, 5 Apr 2004 14:01:48 -0700 (PDT) (envelope-from junk@boxchat.net) Received: from mybox.boxchat (router.mybox.boxchat [192.168.1.1]) by MyBox.BoxChat.net (8.12.11/8.12.9) with ESMTP id i35L3s4X001539; Mon, 5 Apr 2004 16:03:54 -0500 From: junk To: "Kenneth D. Merry" In-Reply-To: <20040405205757.GA65486@panzer.kdm.org> References: <1081198427.1470.2.camel@MyBox.BoxChat.net> <20040405205757.GA65486@panzer.kdm.org> Content-Type: text/plain Message-Id: <1081199034.1473.7.camel@MyBox.BoxChat.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 05 Apr 2004 16:03:54 -0500 Content-Transfer-Encoding: 7bit cc: freebsd-scsi@freebsd.org Subject: Re: mounting scsi tape drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 21:01:49 -0000 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: 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