From owner-freebsd-questions Tue Jul 11 14:45:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 14DBF37B6E3 for ; Tue, 11 Jul 2000 14:45:16 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id QAA15489; Tue, 11 Jul 2000 16:43:23 -0500 (CDT) (envelope-from dan) Date: Tue, 11 Jul 2000 16:43:22 -0500 From: Dan Nelson To: Keith M Ives - Contractor - ASIM Tech Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Looking for the tape drive Message-ID: <20000711164322.A14607@dan.emsphone.com> References: <396B92FC.7D4B9195@sorta.kelly.af.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.5i In-Reply-To: <396B92FC.7D4B9195@sorta.kelly.af.mil>; from "Keith M Ives - Contractor - ASIM Tech" on Tue Jul 11 16:34:53 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jul 11), Keith M Ives - Contractor - ASIM Tech said: > Hello, > Yes, I am a newbie to FreeBSD, but not to UNIX. > I want to see the tape drive status. When I use the "mt status" > (defaults to /dev/nrsa0), the system echos back: > mt: /dev/nrsa0: Device not configured. > I can see the device in dmesg: > sa0 at ahc0 bus 0 target 4 lun 0 > sa0: Removable Sequential Access SCSI-2 device > sa0: 10.000MB/s transfers (10.000MHz, offset 15) > > I do not have a tape loaded, and this is where (in Solaris for example) > I would expect "...tape not loaded or drive offline". > Do I need to load a tape to get a status, or do I have bigger problems? > Thanks Yes and No, in that order. :). The sa device returns the same error codes for "tape drive not present" and "tape not present", which is why you get a "device not configured" error. You can use the /dev/rsa0.ctl device to get status when there is no tape in the drive. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message