[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-nfs
Subject:    Re: [NFS] problem with  umount
From:       Trond Myklebust <trond.myklebust () fys ! uio ! no>
Date:       2005-01-29 3:13:14
Message-ID: 1106968394.10024.27.camel () lade ! trondhjem ! org
[Download RAW message or body]

fr den 28.01.2005 Klokka 04:37 (-0800) skreiv mehta kiran:

> But if client stays without doing any processing ,
> everything works fine.
> I tried using umount <filesystem> -O -l
> but this does not work though man pages 
> say that even if there are reference to filesystem , 
> it will be unmounted and later do required cleanup.

>From the manpage for "umount":

      -O options
              Indicate  that  the actions should only be taken on file systems
              with the specified options in /etc/fstab.  More than one  option
              type  may  be  specified in a comma separated list.  Each option
              can be prefixed with no to specify options for which  no  action
              should be taken.

AFAIK, there is no "-l" _mount_ option, so it is extremely unlikely that
your NFS-mounted filesystems are listed in /etc/fstab as using it.
You're better off trying with "umount -l /filesystem".

Better still, fix your init scripts so that they kill whatever process
it is that is still using the NFS partition and causing the regular
"umount" to fail: *NIX does NOT allow you to unmount partitions that are
*in use*.

Cheers,
  Trond
-- 
Trond Myklebust <trond.myklebust@fys.uio.no>



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic