NFS Doesn't Exist Error
Ralf Corsepius
rc040203 at freenet.de
Wed Aug 17 06:13:55 UTC 2005
On Wed, 2005-08-17 at 14:52 +0900, Mark Sargent wrote:
> Hi All,
>
> ok, I added a new user, coolboarderguy, to the server, and gave it
> ownership of /home/batmanbegins/nfsshare and then mounted it onto the
> client and did a check of the ownership of the dir from on the client...
>
> [root at localhost ~]# ls -ld /home/coolboarderguy/nfsshare
> drwxr-xr-x 2 coolboarderguy coolboarderguy 4096 Aug 16 15:23
> /home/coolboarderguy/nfsshare
> [root at localhost ~]# mount 192.168.168.10:/home/batmanbegins/nfsshare
> /home/coolboarderguy/nfsshare
> [root at localhost ~]# ls -ld /home/coolboarderguy/nfsshare drwxr-xr-x 2
> root root 4096 Aug 16 15:03 /home/coolboarderguy/nfsshare
> [root at localhost ~]# umount /home/coolboarderguy/nfsshare You have new
> mail in /var/spool/mail/root
>
> below is after I made the changes on the server..
>
> [root at localhost ~]# mount 192.168.168.10:/home/batmanbegins/nfsshare
> /home/coolboarderguy/nfsshare
> [root at localhost ~]# ls -ld /home/coolboarderguy/nfsshare drwxr-xr-x 2
> mysql mysql 4096 Aug 16 15:03 /home/coolboarderguy/nfsshare
> [root at localhost ~]# umount /home/coolboarderguy/nfsshare
> [root at localhost ~]# ls -ld /home/coolboarderguy/nfsshare
> drwxr-xr-x 2 coolboarderguy coolboarderguy 4096 Aug 16 15:23
> /home/coolboarderguy/nfsshare
> [root at localhost ~]# mount 192.168.168.10:/home/batmanbegins/nfsshare
> /home/coolboarderguy/nfsshare
> [root at localhost ~]# ls -ld /home/coolboarderguy/nfsshare drwxr-xr-x 2
> mysql mysql 4096 Aug 16 15:03 /home/coolboarderguy/nfsshare
> [root at localhost ~]#
>
> why on earth is it showing mysql as the owner after mounting..? Weird.
Your uids/gids seem out of sync between client and server, i.e. you need
to synchronize your client's and server's uid/gid system (c.f.
nsswitch.conf).
I.e. you typically will have to synchonize /etc/passwd and /etc/groups
and might want to add a network wide passwd/groups system, such as
nis/yp.
Ralf
More information about the fedora-list
mailing list