LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NFS Mount (https://www.linuxquestions.org/questions/linux-newbie-8/nfs-mount-921984/)

Cedrik 01-06-2012 09:33 AM

Why is your prompt like:
Code:

4294967294@cs
You created an user with 4294967294 as user name ?

kbscores 01-06-2012 10:02 AM

That is bugged nfsnobody uid -

you won't be able to mount as nfsnobody but once root mounts it you should be able to access device as nfsnobody.

whoever has window's side set up doesn't have uid/gid set up correctly - Are you using any maps? Also translation files sometimes can cause access issues as well.

dorlack 01-06-2012 12:30 PM

[root@cs /]# service nfs status
rpc.svcgssd is stopped
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped

dorlack 01-06-2012 12:36 PM

at one point in this forum someone asked me to create a user 4294967294 and try to mount

Cedrik 01-06-2012 02:36 PM

No, I suggested to create an user with any name you want, but with uid=4294967294 and gid=4294967294
(uid is user identification number, gid is group identification number)

It is just for testing... You could name it nfsnobody

Do you already have a nfsnobody user set in your /etc/passwd file ?
Check with : grep nfsnobody /etc/passwd
...if it returns something

kbscores 01-06-2012 02:53 PM

nfs service does not need to be running on client to mount file system.

Cedrik 01-06-2012 03:05 PM

No, but dorlack has no problem to mount the nfs share, he just can not access it

dorlack 01-08-2012 09:20 PM

Sorry for the confusion Cedrik. Thanks for being patient with me. I will get you feed back tomorrow A.M.

How are we able to tell that I was actually mounting the share? Just wondering for future information...

kbscores 01-09-2012 06:50 AM

if you type :

Code:

# mount
It should appear on the list of mounted devices or by reviewing /etc/mtab.

dorlack 01-09-2012 06:52 AM

[root@cs /]# grep nfsnobody /etc/passwd
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin

kbscores 01-09-2012 07:20 AM

Usually in /etc/group is where it is messed up, but it shouldn't impact ability to access networked drive. Most likely - if you are able to mount device - it is issue on Windows end.

Jot down a few things: You don't have to write what you get here just use information to double check setup:

Which accounts on UNIX machine are you trying to access NFS share with?
What are UID and GID of those accounts?
Verify on Windows NFS Share that those UID/GID are permitted.
Verify correct UNIX Hosts are permitted. (most likely correct since you can mount device)
Verify NTFS permissions are set to Full.
Double check NFS Share has read/write and root access permissions.

Right click the share and select properties. Click the permissions TAB and select NFS permissions. Select the client unix computer / server that you entered and verify UID GID.


All times are GMT -5. The time now is 08:30 PM.