nfs issue.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers nfs issue.
# 1  
Old 08-19-2010
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.
# 2  
Old 08-19-2010
This was created by a user that has need removed, or UID# was changed.
# 3  
Old 08-19-2010
Quote:
Originally Posted by Ikon
This was created by a user that has need removed, or UID# was changed.
We have not deleted any user.
This might be because it was mounted on client machine and somebody on client machinee has created that file.But problem of hanging still occur on client end. Please help.
# 4  
Old 08-19-2010
What is your issue then?
Ikon gave you some explanation on what/why you see 501:501 rather than UID-name:GID-name but that doesnt seem to satisfy you..
# 5  
Old 08-21-2010
Here...

The file apparently is located on a filesystem mounted on remote machine. The user on remote machine that has UID 501 isn't present on your machine, therefore when "ls" formats the output, it has nothing to put in the username field, as apparently there's no corresponding user entry in /etc/passwd.

There are few ways of handling the situation, depending on many factors. The simplest way is to create user on your machine with the same UID 501 and the same username as on remote filesystem hosting machine, just for a sake of consistency. If you have just few machines, it will work for you. In a case you have more than 3 boxes, I advice to setup NIS and establish central repository of users, which would replicate all of your records to the participating machines.

You may consider Evi Nemeth's book, or "Learn Linux" DVDs training by UnixAcademy.com if you have questions like that.
This User Gave Thanks to amro1 For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

NFS mount issue

we are facing a weird NFS mount issue on one of the linux host , a NFS volume of 2.4TB is mounted in the linux host , but df only reports 131g , which exactly matches rootfilesytem size nfs mount filer_filer1:/vol/bug_test/q0 131G 116G 8.5G 94% /nas/bug_test root... (2 Replies)
Discussion started by: skamal4u
2 Replies

2. Red Hat

NFS mounting issue

The server ip is 10.2.2.24. I have installed nfs-utils package the i have edited /etc/exports i have added the following line /home 10.2.2.0/24(rw,sync,no_root_squash,no_all_squash) i have saved, i have started the nfs service, then i am trying to mount nfs sharing from client machine using... (5 Replies)
Discussion started by: ainstin
5 Replies

3. Red Hat

NFS mount issue

Hi Friends, My source server is HP and my destination is linux. I have to mount a dir thru nfs from source to destn. almost 8 servers i did the same thing and it is working fine but on the 9th server i can't able to mount. Everything i have did for nfs configuration.Even i can able to ping... (1 Reply)
Discussion started by: Mohamed Thamim
1 Replies

4. Red Hat

NFS-Mount issue

Hi, While i try to mount the NFS file system on the client linux server i am getting the error message as (4 Replies)
Discussion started by: gsiva
4 Replies

5. Red Hat

NFS Performance Issue

Hi, I have a conflict. I have 2 servers: the 1st creates an application logs and the 2nd is an empty server. I want to export (read-only) from the 1st server by NFS the directory that contains the logs to the 2nd server. Now, the question is: If in the 2nd server i'm doing a lot of... (3 Replies)
Discussion started by: moshesa
3 Replies

6. AIX

Weird nfs issue after TL upgrade

We recently upgraded 2 of our AIX 6.1 servers from TL4 to TL5. Both servers are on the same p7 780 frame, installed at the same time from the same image. Both servers are mounting the same nfs share after reboot what worked perfectly fine until the upgrade. Since the patching, one of the two... (5 Replies)
Discussion started by: zxmaus
5 Replies

7. UNIX for Dummies Questions & Answers

Copies over NFS and buffer issue

Hi All, i'm experiencing some strange behavior (at least for me) of my NFS server. In few words I have a server that exposes a directory via NFS and a client that mount it. I tested a simple copy from the client to the exposed directory of a file of 2GB and i see that on the server the file... (1 Reply)
Discussion started by: nichele
1 Replies

8. Solaris

New Member with NFS Issue

Hi Guys. Maybe someione can assist here. Solaris 9 with a NFS mount point to a Netapp Filer. NFS V3 Changes in the environment: Moved from 1 building to a new one. (All the equipment and network stayed the same) Errors: nfs: NFS read failed for server netapp: error 11 (RPC: Server... (2 Replies)
Discussion started by: Boesman
2 Replies

9. Red Hat

NFS Access Issue

Hi, I am facing issue on NFS. I have shared /data file file system on Server 192.192.192.1, added below lines in /etc/exports /data 192.192.192.2(rw,no_root_squash,sync) the owner of /data directory was test(uid 500) and same I have mounted on another server 192.192.192.2 where the... (3 Replies)
Discussion started by: manoj.solaris
3 Replies

10. Red Hat

nfs issue

Hello, I am running RHEL4 AS. /net/hostname is not always accessible. To solve the problem, I restart nfs, nfslock and portmap. in /var/log/messages, I keep on receiving: nfs_statfs: statfs error = 116 1] What does the above error mean? 2] any idea why portmap becomes dead? thanks. (1 Reply)
Discussion started by: melanie_pfefer
1 Replies
Login or Register to Ask a Question