IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 1 and Version 2 of HowTo_ClearingNFS_HangUps


Ignore:
Timestamp:
Oct 25, 2009, 3:38:46 PM (17 years ago)
Author:
eugene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo_ClearingNFS_HangUps

    v1 v2  
    1515Occasionally, the nfs client will have entries in the automount directory that are not listed in 'df'.  This can happen and not cause problems if the nfs entry was somehow misplaced in /etc/mtab.  However, sometimes the directory will hang on any interactions.  In these cases, a simple umount of the filesystem usually does not fix the problem.  Sometimes umount -f may fix it, but my success this was has been sporadic.  The following script seems to be generally successful (though sometimes it takes 2 or 3 tries of the script).  In this example, the nfs partition is coming from ipp009:/export/ipp009.0 and is automounted to /data/ipp009.0. 
    1616{{{
    17 mkdir -p /tmp/foo                                                                                                                                                                                                                                     
    18                                                                                                                                                                                                                                                      
    19 umount -f -v /data/ipp009.0                                                                                                                                                                                                                             
    20 mount ipp009:/export/ipp009.0 /tmp/foo                                                                                                                                                                                                                     
    21 umount /tmp/foo                                                                                                                                                                                                                                       
    22                                                                                                                                                                                                                                                      
     17mkdir -p /tmp/foo
     18
     19umount -f -v /data/ipp009.0
     20mount ipp009:/export/ipp009.0 /tmp/foo
     21umount /tmp/foo
     22
    2323ls /data/ipp009.0
    2424}}}