[CentOS] NFS still serving old directory after rename

Mon Mar 14 14:54:11 UTC 2011
neubyr <neubyr at gmail.com>

Seems like some clients (especially new connections) are mounting the
new dir correctly. Not sure what's the problem though.

--
thanks,
neuby.


On Mon, Mar 14, 2011 at 9:49 AM, neubyr <neubyr at gmail.com> wrote:
> Howdy,
>
> I have renamed a directory on NFS ver 3 server and then created a new
> directory again with the same name.
> # mv dir dir-hosed
> # mkdir dir
>
> The directory is auto-mounted on client side. I had unmounted
> directories on client side before making above changes. Now when I try
> to mount back 'dir', I still see old files and not new empty dir. Am I
> missing something here in the NFS config? Is it caching old directory
> contents? Any help?
>
> thanks,
> neuby.
>