[98943] in RedHat Linux List
RE: SCSI tape.
daemon@ATHENA.MIT.EDU (Doug McNash)
Wed Nov 11 09:22:49 1998
From: "Doug McNash" <dmcnash@computone.com>
To: <redhat-list@redhat.com>
Date: Wed, 11 Nov 1998 09:31:25 -0500
In-Reply-To: <Pine.LNX.3.96.981109091957.31252A-100000@celt.network1.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
> DUMP: dumping (Pass III) [directories]
> DUMP: End of tape detected
> DUMP: Closing /dev/nst0
> DUMP: Change Volumes: Mount volume #2
> DUMP: fopen on /dev/tty fails: No such device or address
> DUMP: The ENTIRE dump is aborted.
>
> what the hell does "fopen on /dev/tty fails: No such device or address"
> mean??
Your tape backup program "wants" to communuicate the fact that it needs you
to insert a second tape by opening and writing to the pseudo device
"/dev/tty." Apparently this program is not running "on" a terminal (i.e.
cron) so /dev/tty is not "connected" and as such fopen returns ENODEV. A
better approach would be to write to /dev/console which should exist (I
assume Linux has a /dev/console!) This should be configurable or it's part
of a bug(feature) report.
>
> also I get:
>
> /dev/nst0: I/O error
>
> ... when I try to 'mt -f /dev/nst0 offline'
>
> This only happens some of the time, and it doesn't seem to be with any
> particular tape(s)... Any ideas?
>
Your tape driver looks like it does not want to eject a tape that has not
been rewound. Try rewoffl or whatever it really is or use /dev/st0.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.