From owner-freebsd-questions Sat Feb 3 21:19:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sydney.worldwide.lemis.com (unknown [192.109.197.194]) by hub.freebsd.org (Postfix) with ESMTP id 7596037B401 for ; Sat, 3 Feb 2001 21:19:00 -0800 (PST) Received: (from grog@localhost) by sydney.worldwide.lemis.com (8.11.1/8.9.3) id f141QXK27744; Sun, 4 Feb 2001 12:26:33 +1100 (EST) (envelope-from grog) Date: Sun, 4 Feb 2001 11:56:33 +1030 From: Greg Lehey To: Murray Cc: freebsd-questions@FreeBSD.ORG Subject: Tape errors (was: how to mount a tape drive?) Message-ID: <20010204115633.F27504@sydney.worldwide.lemis.com> References: <20010202130432.A357@converging.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20010202130432.A357@converging.net>; from mgd@brutus.converging.net on Fri, Feb 02, 2001 at 01:04:32PM -0700 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 2 February 2001 at 13:04:32 -0700, Murray wrote: > Reply-To: > I came to work today and found a series of errors on the console > related to the tape drive. The messages referred to device sa0 (my > drive) and ncr0 (the scsi controller). The drive is a HP-T20. I have a > script that runs everyday and which sends a log to my email account. > The log said: tar can't write to /dev/rsa0: Input/output error. The > console display also said that I had to use OFFLINE, REWIND, OR MTEOM > to bring sa0 back on line. So what were the messages? > I simply would like to look at the contents of the tape drive to see > if the tape backup worked. In addition, can you send commands to the > tape drive to determine that it is functioning properly. Depending on what the messages said, this may or may not be possible. > I tried to mount the tape using: mount /dev/rsa0 /tape and I > received the error: mount: Block device required. If I used sa0 > instead of rsa0, I received the error: no such file or directory. I > created a tape directory at root. Tapes don't have file systems, so you can't mount them. The message is wrong, though. We no longer have block devices. Put in a PR and we'll fix it. > Are there any good references on using tape devices with FreeBAD > 4.2. The Handbook is a bit skimpy on info. They're pretty straightforward. Your problem is that you appear to have ignored the information the system supplied you. Those "error messages" are all different, and they're trying to tell you something. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message