tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: jain () smuhep1 ! physics ! smu ! edu (Rakesh Jain)
To: tru64-unix-managers
Subject: SUMMARY: how to kill tape drive jobs
Date: Wed, 16 Aug 1995 16:41:07 +0000	[thread overview]
Message-ID: <96075322406612.tru64-unix-managers.marc@archive.invalid> (raw)


hi there,

	This is the summary of responses I got. First off all I had already
tried to eject the tapes maually etc., but it does not work. None of the
suggestions worked. I also tried to access the database for information from
DEC, but of no use. I presume that there is a lock set for the tape device in 
kernel and it is not released for some reason. I think there must be a way
to delete the lock entry without actually have to shutdoen the machine.
Anyway if anyone has any better idea, I am listening.

Thanks everyone.
Rakesh

---------------------------------------------------------------------

From what i have seen with unix boxes, it occurs that the tape drive
gets stuck and that the process holding it have it's "parent process
id" to 1. This means that you can't kill that process. The only hope is
to let the process finish.

The stock process is very often related to "remote backup" that uses
special remote program to receive the result of the backup.

i never experienced problem by-passing such limitations this way

<local backup command(output to stdout)> | \
rsh <remote machine> dd  of=/dev/rmt1h

Good luck !

Michel Cyr
Michel.Cyr@sidoci.qc.ca

---------------------------------------------------------------------

Try to manually unmount the tape by pressing the eject button on the
tapedrive. Then you should be able to kill yor jobs.
---------------------------------------------------------------------

There may be other child processes running/forked out by the parent 
process, use 'ps' to find out if it is the case.  Kill the child process 
first and then the parent process.  Not sure if this is the case.

Dustin Fu
xxfdh@omega.uta.edu
---------------------------------------------------------------------

	This typically indicates a bug in the tape driver.  I know
	that the tapes on DEC 7000 and KZMSA can have this problem.
	The driver is waiting at an uninterruptable priority for
	the tape to complete an operation.  For whatever reason,
	the tape either has completed the operation and the driver
	didn't notice or the tape won't ever complete the operation.

	The tape drive is open, so it is genuinely busy and the
	process can't be killed because it is in the a uninterrupt-
	able wait in the kernel.

	This sort of thing isn't supposed to happen which is why
	a driver bug is likely.  Check with the CSC or MCS Web
	server to see what patches might be available:

		http://www.service.digital.com

                 reply	other threads:[~1995-08-16 16:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox