mounting NFS server from windows 2012 to centos 7 cliient

Issues related to applications and software problems
Post Reply
saikrishna.a
Posts: 1
Joined: 2015/07/01 09:43:04

mounting NFS server from windows 2012 to centos 7 cliient

Post by saikrishna.a » 2015/07/01 11:00:44

Hi ,

I am using windows server 2012 as my NFS server storage (Network attached storage) having NFS version 4.1. and I am planing to mount in Centos 7 client systems. I am able to see exported file in the centos.
but after mounting it is showing as follows
# ls -l /test/
drwxr-xr-x 6 4294967294 4294967294 92 2010-01-01 20:21 logs
drwxr-xr-x 2 4294967294 4294967294 20 2009-12-23 01:14 monit.d

it is showing the pid and gid in the forms of numbers and local root doesn't have a control to change the group and user permission of the files. my centos by default is taking NFS version 3 when i am mounting.

so I need a solution that root account of local centos systems should have full permission over the any file created under NFS share.

Any suggestions will be appreciated

Regards,
Sai Krishna

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: mounting NFS server from windows 2012 to centos 7 cliie

Post by gerald_clark » 2015/07/01 12:58:07

You need to export with no_root_squash and have user mapping.
You really need to take this to a Windows forum.

Post Reply