How do I change to NFS version 3 so that other UNIX variants may access my NFS share on my Fedora 17?

Frantisek Hanzlik franta at hanzlici.cz
Wed Nov 7 09:53:21 UTC 2012


Jerome Yanga wrote:
> Here are the files you have requested.
> 
> $ cat /etc/exports
> /data   *(rw,sync,anonuid=1000000,anongid=1000000)
> 
> NOTE:  I did not touch /etc/sysconfig/nfs.
> $ cat /etc/sysconfig/nfs
> #
> # Optinal options passed to rquotad
> RPCRQUOTADOPTS=""
> #
> # Optional arguments passed to in-kernel lockd
> #LOCKDARG=
> # TCP port rpc.lockd should listen on.
> #LOCKD_TCPPORT=32803
> # UDP port rpc.lockd should listen on.
> #LOCKD_UDPPORT=32769
> #
> # Optional arguments passed to rpc.nfsd. See rpc.nfsd(8)
> RPCNFSDARGS=""
> # Number of nfs server processes to be started.
> # The default is 8.
> RPCNFSDCOUNT=8
> # Set V4 grace period in seconds
> #NFSD_V4_GRACE=90
> #
> # Optional arguments passed to rpc.mountd. See rpc.mountd(8)
> RPCMOUNTDOPTS=""
> #
> # Optional arguments passed to rpc.statd. See rpc.statd(8)
> STATDARG=""
> #
> # Optional arguments passed to rpc.idmapd. See rpc.idmapd(8)
> RPCIDMAPDARGS=""
> #
> # Optional arguments passed to rpc.gssd. See rpc.gssd(8)
> RPCGSSDARGS=""
> #
> # Optional arguments passed to rpc.svcgssd. See rpc.svcgssd(8)
> RPCSVCGSSDARGS=""
> #
> # To enable RDMA support on the server by setting this to
> # the port the server should listen on
> #RDMA_PORT=20049
> #
> # Optional arguments passed to blkmapd. See blkmapd(8)
> BLKMAPDARGS=""
> 
> regards,
> j
> 
> On Tue, Nov 6, 2012 at 10:07 AM, Frantisek Hanzlik <franta at hanzlici.cz> wrote:
>> Jerome Yanga wrote:
>>> Thank you.
>>>
>>> Since v2, v3, and v4 are enabled by default, I have bigger issues.
>>>
>>> I am trying to access my NFS share on my Fedora 17 from an AIX 6.1.
>>> The AIX machine sees the root share but it does not see any
>>> files/folders in it.
>>>
>>> Help.
>>>
>>> regards,
>>> j
>>>
>>> On Tue, Nov 6, 2012 at 9:46 AM, Frantisek Hanzlik <franta at hanzlici.cz> wrote:
>>>> Jerome Yanga wrote:
>>>>> How do I change to NFS version 3 so that other UNIX variants may
>>>>> access my NFS share on my Fedora 17?
>>>>>
>>>>> /etc/defaults/nfs does not seem to exist anymore.  :(
>>>>>
>>>>> regards,
>>>>> j
>>>>
>>>> /etc/defaults/nfs was never NFS configfile in Fedora, it is (from cca
>>>> Fedora 6) "/etc/sysconfig/nfs".
>>>>
>>>> But this seems as in implicit configuration are all NFS v2,v3,v4 enabled.
>>>> And when You want disable some of them, then it may be with:
>>>> RPCNFSDARGS="--no-nfs-version VeRs"
>>>>
>>>> in "/etc/sysconfig/nfs".
>>
>> Can You post Your "/etc/exports" and "/etc/sysconfig/nfs" ?
>>
>> --
>> users mailing list
>> users at lists.fedoraproject.org
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>> Have a question? Ask away: http://ask.fedoraproject.org

Cannot be problem with anonuid/anongid values? You have on F17 box
user and group with these UID/GID ? As default is there only "nobody"
user with UID=GID=65534, all other ID are lower.

Other "/etc/exports" option you may try is "nohide" - may help
when You have other FS mounted in exported NFS tree.

Next, You can inspect system logs (/var/log/messages on Fedora)
on both boxes. And finally capture and analyze traffic with wireshark
network packet sniffer.



More information about the users mailing list