All files on NFS4 mount are owned by 4294967294:4294967294
I have mounted an NFS4 filesystem shared by a Solaris 10 cluster environment and am able to browse all of the files, but I cannot touch anything on the filesystem because of all of the user and group permissions being off. Here's my fstab entry: cnfs:/export /nfsnfs4 rw When I first umount and mount the filesystem, permissions seem to be working properly. Users in our NIS environment have their home directories on /nfs and, for example, are able to create files in their homes. Once I try to touch a file in a directory other than my home, I get a Permission denied error and I am no longer able to even touch files in my own home directory. Is there a way that I can get permissions to show up correctly? Thank you, -Mike -- View this message in context: http://www.nabble.com/All-files-on-NFS4-mount-are-owned-by-4294967294%3A4294967294-tp18852544p18852544.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: All files on NFS4 mount are owned by 4294967294:4294967294
mikeco wrote: I have mounted an NFS4 filesystem shared by a Solaris 10 cluster environment and am able to browse all of the files, but I cannot touch anything on the filesystem because of all of the user and group permissions being off. Here's my fstab entry: cnfs:/export /nfsnfs4 rw When I first umount and mount the filesystem, permissions seem to be working properly. Users in our NIS environment have their home directories on /nfs and, for example, are able to create files in their homes. Once I try to touch a file in a directory other than my home, I get a Permission denied error and I am no longer able to even touch files in my own home directory. Is there a way that I can get permissions to show up correctly? Thank you, -Mike The NFSv4 client currently in FreeBSD is old and unmaintained. If you can't find an answer to this, try NFSv3 or the new implementation recently posted to fs@ Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: All files on NFS4 mount are owned by 4294967294:4294967294
I've tried mounting it as nfs rather than nfs4, but it just scrolls an error until I send a break: mount -t nfs cnfs:/export /nfs [udp] cnfs:/export: NFSPROC_NULL: RPC: Timed out An rpcinfo of the NFS server shows that it should support versions 2-4: $ rpcinfo -p cnfs | grep nfs 132 udp 2049 nfs 133 udp 2049 nfs 1002272 udp 2049 nfs_acl 1002273 udp 2049 nfs_acl 132 tcp 2049 nfs 133 tcp 2049 nfs 134 tcp 2049 nfs 1002272 tcp 2049 nfs_acl 1002273 tcp 2049 nfs_acl I don't mind what version of NFS I end up using, so long as users are able to access the share properly. I'll also take a look at fs. -Mike Kris Kennaway-3 wrote: mikeco wrote: I have mounted an NFS4 filesystem shared by a Solaris 10 cluster environment and am able to browse all of the files, but I cannot touch anything on the filesystem because of all of the user and group permissions being off. Here's my fstab entry: cnfs:/export /nfsnfs4 rw When I first umount and mount the filesystem, permissions seem to be working properly. Users in our NIS environment have their home directories on /nfs and, for example, are able to create files in their homes. Once I try to touch a file in a directory other than my home, I get a Permission denied error and I am no longer able to even touch files in my own home directory. Is there a way that I can get permissions to show up correctly? Thank you, -Mike (trimmed)try NFSv3 or the new implementation recently posted to fs@ Kris -- View this message in context: http://www.nabble.com/All-files-on-NFS4-mount-are-owned-by-4294967294%3A4294967294-tp18852544p18853160.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: All files on NFS4 mount are owned by 4294967294:4294967294
mikeco wrote: I've tried mounting it as nfs rather than nfs4, but it just scrolls an error until I send a break: mount -t nfs cnfs:/export /nfs [udp] cnfs:/export: NFSPROC_NULL: RPC: Timed out That says the server is failing to respond to the client's mount request. You could try TCP mounts in case they are less broken on the server side. They are recommended anyway. Kris An rpcinfo of the NFS server shows that it should support versions 2-4: $ rpcinfo -p cnfs | grep nfs 132 udp 2049 nfs 133 udp 2049 nfs 1002272 udp 2049 nfs_acl 1002273 udp 2049 nfs_acl 132 tcp 2049 nfs 133 tcp 2049 nfs 134 tcp 2049 nfs 1002272 tcp 2049 nfs_acl 1002273 tcp 2049 nfs_acl I don't mind what version of NFS I end up using, so long as users are able to access the share properly. I'll also take a look at fs. -Mike Kris Kennaway-3 wrote: mikeco wrote: I have mounted an NFS4 filesystem shared by a Solaris 10 cluster environment and am able to browse all of the files, but I cannot touch anything on the filesystem because of all of the user and group permissions being off. Here's my fstab entry: cnfs:/export /nfsnfs4 rw When I first umount and mount the filesystem, permissions seem to be working properly. Users in our NIS environment have their home directories on /nfs and, for example, are able to create files in their homes. Once I try to touch a file in a directory other than my home, I get a Permission denied error and I am no longer able to even touch files in my own home directory. Is there a way that I can get permissions to show up correctly? Thank you, -Mike (trimmed)try NFSv3 or the new implementation recently posted to fs@ Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: All files on NFS4 mount are owned by 4294967294:4294967294
Where is it specified whether to use UDP or TCP for NFS clients? I never explicitly set it to one or the other. Kris Kennaway-3 wrote: You could try TCP mounts in case they are less broken on the server side. They are recommended anyway. -- View this message in context: http://www.nabble.com/All-files-on-NFS4-mount-are-owned-by-4294967294%3A4294967294-tp18852544p18853603.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: All files on NFS4 mount are owned by 4294967294:4294967294
mikeco wrote: Where is it specified whether to use UDP or TCP for NFS clients? I never explicitly set it to one or the other. See the manpage. It defaults to UDP in 7.0 and older, although the default will soon change to TCP mounts since UDP mounts are no longer appropriate in most cases. Kris Kris Kennaway-3 wrote: You could try TCP mounts in case they are less broken on the server side. They are recommended anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: All files on NFS4 mount are owned by 4294967294:4294967294
I changed the NFS back to v3, set it to use TCP rather than UDP in fstab, and everything is happy now. Kris Kennaway-3 wrote: mikeco wrote: Where is it specified whether to use UDP or TCP for NFS clients? I never explicitly set it to one or the other. See the manpage. It defaults to UDP in 7.0 and older, although the default will soon change to TCP mounts since UDP mounts are no longer appropriate in most cases. Kris -- View this message in context: http://www.nabble.com/All-files-on-NFS4-mount-are-owned-by-4294967294%3A4294967294-tp18852544p18854355.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]