LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Nfs issue. (https://www.linuxquestions.org/questions/linux-newbie-8/nfs-issue-827182/)

pinga123 08-19-2010 06:16 AM

Nfs issue.
 
Hi whenever i execute ls -ltr i get following entry.
But there is no such user as 501 .What is the issue.

Code:

#ls -ltr
drwxrwxrwx  2  501  501      3896 Aug 19 10:46 File1

Code:

# cat /etc/passwd | grep 501
The problem is this folder is mouted on client machine using nfs.But after mouting client machine get hang when i run df -h.

AlucardZero 08-19-2010 06:22 AM

The file is owned by user 501. It doesn't matter that there's no 501 locally, it can still be owned by the number.

It probably hangs because the NFS mount goes stale. How quickly does this happen? Are you removing the server's exports or is it going down or something?

pinga123 08-19-2010 06:40 AM

Quote:

Originally Posted by AlucardZero (Post 4071127)
The file is owned by user 501. It doesn't matter that there's no 501 locally, it can still be owned by the number.

It probably hangs because the NFS mount goes stale. How quickly does this happen? Are you removing the server's exports or is it going down or something?

You got me there It work for same time say 5 min after that it hangs.How would i avoid such scenario.

server export file looks like following.
Code:

# cat /etc/exports
/OVS/NFS_Shared_Storage *(rw,sync)



All times are GMT -5. The time now is 06:58 AM.