[CentOS] NFS still serving old directory after rename

Stephen Harris lists at spuddy.org
Mon Mar 14 16:12:29 UTC 2011


On Mon, Mar 14, 2011 at 10:33:11AM -0500, neubyr wrote:
> Thanks for the reply Nico.  I unmounted dir in a clean manner. I made
> sure that no other process is trying to access that mounted dir on
> client side. Not sure what was the problem, but it seems to be working

NFS shares are done via inode number so renaming the directory is
inadequate.  You need to unexport the directory, rename, create the
new then re-export.

-- 

rgds
Stephen



More information about the CentOS mailing list