Path: utzoo!attcan!uunet!cme!cam!sims From: sims@cam.nist.gov (Jim Sims) Newsgroups: comp.sys.sgi Subject: Re: Force dismount NFS partitions? Message-ID: <5415@fs2.cam.nist.gov> Date: 17 Oct 90 03:29:41 GMT Reply-To: sims@fs2.UUCP () Distribution: na Organization: National Institute of Standards & Technology, Gaithersburg, MD Lines: 25 In article <870@ki.UUCP> dwatts@ki.UUCP (Dan Watts) writes: >Does anyone know of a way to force dismount of an NFS mounted >partition? Assuming the mounts are hard, the only way I know of to force dismounts is to reboot! :=) >I've got some partitions mounted from a remote Sun which is now down. >Unfortunately, now I can't do a 'df'. It just hangs waiting for the >missing NFS mounts. There is a trick to get around the df hanging problem. df gets its information for mounted file systems from /etc/mtab, so you can edit /etc/mtab to remove the lines pertaining the file systems from the server which is down. This will trick df into thinking the file systems are not mounted, when in fact they are. Unfortunately, a cd to the file systems from the down server will still hang. ----------------------------------------------------------------------- NAME: James S. Sims TELE: (301) 975-2710 USMAIL: National Institute of Standards and Technology (formerly National Bureau of Standards) ARPA,BITNET: sims@enh.nist.gov