Can't umount a NFS filesystem

Can't umount a NFS filesystem

Post by Richard Olve » Tue, 05 Nov 1996 04:00:00



Help Help I've crashed and can't get all the way back up.

Actually, we've got a couple of 390's, and one crashed over the
weekend.  (No UPS protection, but that's a Dilbert story).
I've got a couple of directories, residing on the machine that
crashed, mounted on the machine that didn't crash.  All but one
of these filesystems remounted ok when we came back up.
The 'bad' filesystem is ok on the machine that crashed, but on
the machine that didn't crash it shows (df) a size of 0.  And I
can't access it.   When I tried to umount it, it tells me the
device is busy.  When I look into the directory (ls) where it is
mounted it says it is not found.

ANy ideas on how I can umount this system.  I can't reboot for a
couple of days.  Or any ideas on how I can find out why the
filesystem is busy.  I'm the only one signed on, and nothing is
running.

Thanks for your help

Rich OLver

 
 
 

Can't umount a NFS filesystem

Post by Paul Reimol » Tue, 05 Nov 1996 04:00:00


Try the fuser command (refer to man pages for sytax) to determine users
and processes that are accessing the NFSfile system and kill them. This
works 75% to unmount a file system that is busy.

--
**      Paul J. Reimold         UNIX Administrator      **      
**              General Accident Insurance              **
**      436 Walnut Street       Phila, PA  19106        **


 
 
 

Can't umount a NFS filesystem

Post by James P. Ega » Wed, 06 Nov 1996 04:00:00



> Help Help I've crashed and can't get all the way back up.

> Actually, we've got a couple of 390's, and one crashed over the
> weekend.  (No UPS protection, but that's a Dilbert story).
> I've got a couple of directories, residing on the machine that
> crashed, mounted on the machine that didn't crash.  All but one
> of these filesystems remounted ok when we came back up.
> The 'bad' filesystem is ok on the machine that crashed, but on
> the machine that didn't crash it shows (df) a size of 0.  And I
> can't access it.   When I tried to umount it, it tells me the
> device is busy.  When I look into the directory (ls) where it is
> mounted it says it is not found.

> ANy ideas on how I can umount this system.  I can't reboot for a
> couple of days.  Or any ideas on how I can find out why the
> filesystem is busy.  I'm the only one signed on, and nothing is
> running.

> Thanks for your help

> Rich OLver


Did you try to do a mount -f to force the mount?

/Jim/
--

Integrated Architectures, Inc.  | http://www.iai.com
300 East Main Street, Suite 207 | Tel: 508-634-3200 x209
Milford, MA  01757              | Fax: 508-634-8381
Use PGP for more secure email

 
 
 

Can't umount a NFS filesystem

Post by Mark Tayl » Thu, 07 Nov 1996 04:00:00



Quote:>Try the fuser command (refer to man pages for sytax) to determine users
>and processes that are accessing the NFSfile system and kill them. This
>works 75% to unmount a file system that is busy.

lsof is better than fuser for NFS mounts.  It's not provided with AIX
but you can get it from anon ftp sites.

-----------------------------------------------------------------------
| Mark Beauchamp Taylor  -  physicist trapped in a chemist's body.    |

| Department of Chemistry, University of Bristol, UK                  -------
-----------------------------------------------------| ... It's the future! |
                                                     ------------------------

 
 
 

1. I can't umount a NFS filesystem

The prelude:

I've several DS20, with 4.0F version, wich exports an specific
directory by NFS. I've a 500au Workstation, with 4.0F too, wich import
the specific directory from one of the servers in a concrete mounting
point.

options of the mount command: rw, bg, noac, soft

The nude:

If I shutdown the DS20 server or if I take out the ethernet from it, my
Workstation try to umount (with -f option) the directory but this
command hangs. If I execute a "df" command, it hangs for several
minutes and finally returns all mounted points except the NFS point
but....
If I try to mount, in the same point of the Workstation, the NFS
directory of another (visible) server, I can't do it because the mount
point is still in use. Probably the first umount command did not work
so....

The question:

How can I umount the NFS directory in the workStation when the servers
fail down or its network doesn`t work? or
How can I mount in the same mounting point of the Workstation another
directory from another server)

Thanks

Sent via Deja.com http://www.deja.com/
Before you buy.

2. FTAPE - No such device??

3. shutting down a server without umounting NFS filesystems

4. HELLLLLLLLLLLLLLLLLLLLLLLLLLLLP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

5. forcing umount of NFS mounted filesystem

6. 2.1.5 XFree86 bogus?

7. How to umount NFS filesystem?

8. PCMCIA now working!

9. Force umount of NFS filesystem on Solaris 2.6

10. shutting down a server without umounting NFS filesystems

11. How to umount a hung NFS filesystem??

12. Mounting PC's filesystem as UNIX filesystem with NFS

13. HELP: can't umount filesystem on shutdown!