Files mounted over NFSv3 are owned by 4294967294 [closed]
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have a windows 2016 server which I added "server for nfs" role on and shared a folder using nfs permissions.
On my Centos 6.4 server I have mounted the directory which I have shared on windows 2016 server.
but there is a problem that on my linux machine it says the files are owned by user 4294967294 and group 4294967294 with no read/write/execute permission. each time a file created in this mount folder I change the ownership of the files manually.
Is there anyway that I can set to use root as user and group by default ?
This is my fstab for the mounted location:
192.168.5.146:/Transfer /transfer nfs rw,hard,nosuid 0 0
And this is my nfsstat result:
/transfer from 192.168.5.146:/Transfer
Flags: rw,nosuid,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.5.146,mountvers=3,mountport=2049,mountproto=udp,local_lock=none,addr=192.168.5.146
centos mount nfs
closed as off-topic by sourcejedi, RalfFriedl, n.st, Stephen Harris, Archemar Dec 5 at 6:14
- This question does not appear to be about Unix or Linux within the scope defined in the help center.
add a comment |
up vote
1
down vote
favorite
I have a windows 2016 server which I added "server for nfs" role on and shared a folder using nfs permissions.
On my Centos 6.4 server I have mounted the directory which I have shared on windows 2016 server.
but there is a problem that on my linux machine it says the files are owned by user 4294967294 and group 4294967294 with no read/write/execute permission. each time a file created in this mount folder I change the ownership of the files manually.
Is there anyway that I can set to use root as user and group by default ?
This is my fstab for the mounted location:
192.168.5.146:/Transfer /transfer nfs rw,hard,nosuid 0 0
And this is my nfsstat result:
/transfer from 192.168.5.146:/Transfer
Flags: rw,nosuid,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.5.146,mountvers=3,mountport=2049,mountproto=udp,local_lock=none,addr=192.168.5.146
centos mount nfs
closed as off-topic by sourcejedi, RalfFriedl, n.st, Stephen Harris, Archemar Dec 5 at 6:14
- This question does not appear to be about Unix or Linux within the scope defined in the help center.
1
This post might be helpful: blogs.msdn.microsoft.com/sfu/2007/04/19/…
– Haxiel
Dec 4 at 11:22
the link you provided is for windows server 2003, what I asked is about windows server 2016
– Ali Golestan
Dec 4 at 12:20
the "who's 4294967294" link doesn't work for me (i have JS disabled tho), the correct link seems to be blogs.msdn.microsoft.com/sfu/2007/04/19/whos-4294967294
– sourcejedi
Dec 4 at 13:50
1
I'm voting to close this question for the reason: instructions for setting up Windows Server correctly (for interop with a given Linux system), or troubleshooting why it is not set up correctly, are not on-topic for Unix & Linux stackexchange. If you can show that the problem is not on the Windows side, feel free to edit accordingly...
– sourcejedi
Dec 4 at 14:00
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a windows 2016 server which I added "server for nfs" role on and shared a folder using nfs permissions.
On my Centos 6.4 server I have mounted the directory which I have shared on windows 2016 server.
but there is a problem that on my linux machine it says the files are owned by user 4294967294 and group 4294967294 with no read/write/execute permission. each time a file created in this mount folder I change the ownership of the files manually.
Is there anyway that I can set to use root as user and group by default ?
This is my fstab for the mounted location:
192.168.5.146:/Transfer /transfer nfs rw,hard,nosuid 0 0
And this is my nfsstat result:
/transfer from 192.168.5.146:/Transfer
Flags: rw,nosuid,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.5.146,mountvers=3,mountport=2049,mountproto=udp,local_lock=none,addr=192.168.5.146
centos mount nfs
I have a windows 2016 server which I added "server for nfs" role on and shared a folder using nfs permissions.
On my Centos 6.4 server I have mounted the directory which I have shared on windows 2016 server.
but there is a problem that on my linux machine it says the files are owned by user 4294967294 and group 4294967294 with no read/write/execute permission. each time a file created in this mount folder I change the ownership of the files manually.
Is there anyway that I can set to use root as user and group by default ?
This is my fstab for the mounted location:
192.168.5.146:/Transfer /transfer nfs rw,hard,nosuid 0 0
And this is my nfsstat result:
/transfer from 192.168.5.146:/Transfer
Flags: rw,nosuid,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.5.146,mountvers=3,mountport=2049,mountproto=udp,local_lock=none,addr=192.168.5.146
centos mount nfs
centos mount nfs
asked Dec 4 at 5:29
Ali Golestan
138214
138214
closed as off-topic by sourcejedi, RalfFriedl, n.st, Stephen Harris, Archemar Dec 5 at 6:14
- This question does not appear to be about Unix or Linux within the scope defined in the help center.
closed as off-topic by sourcejedi, RalfFriedl, n.st, Stephen Harris, Archemar Dec 5 at 6:14
- This question does not appear to be about Unix or Linux within the scope defined in the help center.
1
This post might be helpful: blogs.msdn.microsoft.com/sfu/2007/04/19/…
– Haxiel
Dec 4 at 11:22
the link you provided is for windows server 2003, what I asked is about windows server 2016
– Ali Golestan
Dec 4 at 12:20
the "who's 4294967294" link doesn't work for me (i have JS disabled tho), the correct link seems to be blogs.msdn.microsoft.com/sfu/2007/04/19/whos-4294967294
– sourcejedi
Dec 4 at 13:50
1
I'm voting to close this question for the reason: instructions for setting up Windows Server correctly (for interop with a given Linux system), or troubleshooting why it is not set up correctly, are not on-topic for Unix & Linux stackexchange. If you can show that the problem is not on the Windows side, feel free to edit accordingly...
– sourcejedi
Dec 4 at 14:00
add a comment |
1
This post might be helpful: blogs.msdn.microsoft.com/sfu/2007/04/19/…
– Haxiel
Dec 4 at 11:22
the link you provided is for windows server 2003, what I asked is about windows server 2016
– Ali Golestan
Dec 4 at 12:20
the "who's 4294967294" link doesn't work for me (i have JS disabled tho), the correct link seems to be blogs.msdn.microsoft.com/sfu/2007/04/19/whos-4294967294
– sourcejedi
Dec 4 at 13:50
1
I'm voting to close this question for the reason: instructions for setting up Windows Server correctly (for interop with a given Linux system), or troubleshooting why it is not set up correctly, are not on-topic for Unix & Linux stackexchange. If you can show that the problem is not on the Windows side, feel free to edit accordingly...
– sourcejedi
Dec 4 at 14:00
1
1
This post might be helpful: blogs.msdn.microsoft.com/sfu/2007/04/19/…
– Haxiel
Dec 4 at 11:22
This post might be helpful: blogs.msdn.microsoft.com/sfu/2007/04/19/…
– Haxiel
Dec 4 at 11:22
the link you provided is for windows server 2003, what I asked is about windows server 2016
– Ali Golestan
Dec 4 at 12:20
the link you provided is for windows server 2003, what I asked is about windows server 2016
– Ali Golestan
Dec 4 at 12:20
the "who's 4294967294" link doesn't work for me (i have JS disabled tho), the correct link seems to be blogs.msdn.microsoft.com/sfu/2007/04/19/whos-4294967294
– sourcejedi
Dec 4 at 13:50
the "who's 4294967294" link doesn't work for me (i have JS disabled tho), the correct link seems to be blogs.msdn.microsoft.com/sfu/2007/04/19/whos-4294967294
– sourcejedi
Dec 4 at 13:50
1
1
I'm voting to close this question for the reason: instructions for setting up Windows Server correctly (for interop with a given Linux system), or troubleshooting why it is not set up correctly, are not on-topic for Unix & Linux stackexchange. If you can show that the problem is not on the Windows side, feel free to edit accordingly...
– sourcejedi
Dec 4 at 14:00
I'm voting to close this question for the reason: instructions for setting up Windows Server correctly (for interop with a given Linux system), or troubleshooting why it is not set up correctly, are not on-topic for Unix & Linux stackexchange. If you can show that the problem is not on the Windows side, feel free to edit accordingly...
– sourcejedi
Dec 4 at 14:00
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
1
This post might be helpful: blogs.msdn.microsoft.com/sfu/2007/04/19/…
– Haxiel
Dec 4 at 11:22
the link you provided is for windows server 2003, what I asked is about windows server 2016
– Ali Golestan
Dec 4 at 12:20
the "who's 4294967294" link doesn't work for me (i have JS disabled tho), the correct link seems to be blogs.msdn.microsoft.com/sfu/2007/04/19/whos-4294967294
– sourcejedi
Dec 4 at 13:50
1
I'm voting to close this question for the reason: instructions for setting up Windows Server correctly (for interop with a given Linux system), or troubleshooting why it is not set up correctly, are not on-topic for Unix & Linux stackexchange. If you can show that the problem is not on the Windows side, feel free to edit accordingly...
– sourcejedi
Dec 4 at 14:00