* forced umount
@ 1999-09-09 10:03 managers account
0 siblings, 0 replies; only message in thread
From: managers account @ 1999-09-09 10:03 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-09-09 10:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-09 10:03 forced umount managers account
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox