1824169 Members
3195 Online
109669 Solutions
New Discussion юеВ

NFS Mount option

 
blal
Frequent Advisor

NFS Mount option

Hello ,

I have an application using NFS share (From EMC NAS)

Using nfs mount the file NFS file System (from NAS) is mounted on a unix and a windows server.

Windows server is wrting the files , and the application running on unix can not read and execute these files . All the files are appearing with unknown user ID and Group id on unix server . I believe this is the root cause .

Is there any specific mount option which I can use so that the Application running on unix can read and execute these files .

Appriciate your help .
Thank You,
Baiju.
Live and let live.
3 REPLIES 3
Sundar_7
Honored Contributor

Re: NFS Mount option

Baiju,

This will need to be configured at the NAS end. Ask your NAS administration about the Windows User/group mapping. He/She can map the Window user to a specific user/group, such that your UNIX user has read/execute permissions.

Sundar.
Learn What to do ,How to do and more importantly When to do ?
Steven E. Protter
Exalted Contributor

Re: NFS Mount option

Shalom,

No special mount options I know of. In general these issues came from users/permissions problems on the files.

If a common user name, preferably with the same numeric user id is used these problems can be overcome.

You could also use samba/cifs integration, this requires a common user and not using NFS. Most of these NAS devices support Samba/CIFS mounts. Our EMC does.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
A. Clay Stephenson
Acclaimed Contributor

Re: NFS Mount option

You need a mechanism to handle common UID's and GID's. Some Windows NFS packages are able to use NIS; I haven't seen one that is able to use NIS+. Almost all NFS clients have some form of Windows Users to UNIX user mapping and that is what you need to investigate.

You could also write a daemon to periodically fix up the uid's, gid's, and modes of the file but user mapping is a better option.

If it ain't broke, I can fix that.