SUMMARY: forcing umount

From: shrchin@reading.ac.uk
Date: Mon Nov 01 1993 - 16:31:04 CST


Original query:
> Given that it seems sensible to umount a partition before dumping it,
> how does one force the umount?
>
> In particular, the partition is exported for use by NFS.
>
> I had thought that "exportfs -u <fs>" followed by "umount <dev>"
> should work but this is not the case. If some process on the server
> is using something on the partition, the umount fails.
> Doing "fuser <fs>" to locate the process(es) fails unless
> the process is using the exact same path (unlikely).
>
> The machines involved run SunOS 4.1.[12] in case it matters.

Answer:
Get `ofiles'. Better still, get `lsof'. Use in place of `fuser' to find
the processes accessing the partition. Can be found using archie.

Comments:
"Mike Rafferty" <miker@il.us.swissbank.com> claimed that I don't need to
umount before I dump.

baumann@proton.llumc.edu (Michael Baumann) suggested that my problem was
more in how to do a safe backup and to check out Backup-Copilot.

"LDC - Luis E. Mun~oz" <lem@usb.ve> suggested I use `lsof'.
He advised that hard locks on the filesystem cause trouble.

glenn@uniq.com.au (Glenn Satchell) also suggested `lsof'.

I received some other email asking to know the results, but I can't
find it to email the individuals. Sorry guys. This is all you get...
Apologies, too, for the delay in posting the summary.

Finally, I am somewhat embarrassed to discover that something similar
to my question has been asked before on this list and that I could have
found the summaries in the archive via gopher/WWW/wais had I checked
carefully enough.

-jonathan

--
Jonathan H N Chin, 5 kyu | Dept. of Cybernetics, | "Respondeo, etsi mutabor"
                         | University of Reading |
 shrchin@reading.ac.uk   | Box 225, Whiteknights |   < Rosenstock-Huessy >
cybjhnc@cyber.rdg.ac.uk  | Reading, RG6 2AY, UK. |



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:28 CDT