Subject: unkillable mt(1) process
To: None <netbsd-users@netbsd.org>
From: Geert Hendrickx <ghen@telenet.be>
List: netbsd-users
Date: 05/14/2007 09:41:59
Hi,
I've found references to this problem in the archives, and discussions on
how this should theoretically be solves, but no practical solution or
workaround except "reboot".
I have a cron script that performs nightly backups to tape with dump(8).
It worked fine until our filesystems exceeded the size of a single tape.
The backup is aborted because there's no tty, but some process seems to
keep /dev/nrst0 open (fstat doesn't show any, but "mt status" says
"/dev/nrst0: Device busy". The next morning, an operator ejects the
tape, inserts a new one, but from that moment on, a hanging "mt" process
is unkillable, and the (new) tape is not accessible until I reboot the
machine. The only other useful suggestion I found is "scsictl scsibus0
reset" [1] but that doesn't help either.
Any other ideas? The system is NetBSD 3.0.2.
Geert
[1] http://mail-index.netbsd.org/port-i386/2002/01/25/0002.html