Date: Fri, 2 Feb 2001 14:12:41 -0600 From: Dan Nelson <dnelson@emsphone.com> To: Murray <mgd@brutus.converging.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to mount a tape drive? Message-ID: <20010202141241.A20020@dan.emsphone.com> In-Reply-To: <20010202130432.A357@converging.net>; from "Murray" on Fri Feb 2 13:04:32 GMT 2001 References: <20010202130432.A357@converging.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 02), Murray said: > 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. > > 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. > > 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 filesystems, so you can't mount them. If you did a tar backup, run "tar tvf /dev/rsa0". If you did a dump, try "restore tvf /dev/rsa0". If it's a 3rd-party backup, use their verify program or run "tcopy /dev/rsa0" which will just print how much data is on the tape. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010202141241.A20020>