How do I set up a Windows NFS share so that I can view it's contents on Linux?
Posted
by hewhocutsdown
on Server Fault
See other posts from Server Fault
or by hewhocutsdown
Published on 2010-06-16T14:49:57Z
Indexed on
2010/06/16
14:53 UTC
Read the original article
Hit count: 323
My NFS server is a Windows XP SP3 box with the Microsoft Windows Services for Unix installed.
I have a share configured under C:\NFS with the share name NFS and ANSI encoding.
Anonymous access is enabled, with the anon UID/GID set to 0/0. Additionally, I've set ALL MACHINES to Read-Write, and checked the checkbox to Allow root access.
My first NFS client is a Ubuntu 10.04 box, with nfs-common installed. Running
sudo mount -t nfs 1.1.1.1:/NFS /home/user/NFS
succeeds, but when I attempt to view the folder (even as root), it tells me that I do not have the permissions necessary to view the contents of the folder.
My second NFS client is an IBM iSeries box running OS/400 V5R3. I used the mount command below:
MOUNT TYPE(*NFS) MFS('1.1.1.1:/NFS') MNTOVRDIR('/PARENT/NFS') OPTIONS('rw,nosuid,retry=5,rsize=8096,wsize=8096,timeo=20,retrans=2,acregmin=30,acregmax=60,acdirmin=30,acdirmax=60,soft') CODEPAGE(*BINARY *ASCII)
which also mounts successfully. Attempting to
WRKLNK '/PARENT/NFS'
and use Option 5 to enter the directory yields a Not authorized to object error - even though I am a security officer with the *ALLOBJ special authority.
My gut says that it's a problem with the Windows share, but I don't know what it could be. Do you have any suggestions?
© Server Fault or respective owner