tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: managers account <managers () 2100-1 ! mcb ! net>
To: tru64-unix-managers
Subject: forced umount
Date: Thu, 09 Sep 1999 10:03:52 +0000	[thread overview]
Message-ID: <96079072815985.tru64-unix-managers.marc@archive.invalid> (raw)


I want to relocate the mail service from one machine to the backup. The
stop script reads:
/sbin/init.d/sendmail stop
umount /mailmnt

This fails because - within the script time of 2 mins - there are still
files open on /mailmnt.   LSOF shows dozens open.  ps -e shows many forked
sendmail processes busy trying to deliver mail to remote hosts.

I have tried the following:

ps -e | grep sendmail | awk '{print $1} | xargs -i kill -KILL {}

which reduces files open but does not eliminate them and u also see a few
sendmails left over even after executing the kill??


What I would like is an option for umount which means

	try to unmount the disk gracefully but - after a specified? time -
unmount it anyway.

man umount doesnt offer anything useful.  Can anybody suggest a solution
please?


TIA
stuart mckenzie

                 reply	other threads:[~1999-09-09 10:03 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