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

Jerome Yanga jerome.yanga at gmail.com
Thu Nov 8 19:21:16 UTC 2012


Nope.  Selinux is disabled.

# getenforce
Disabled

Regards,
j

On Thu, Nov 8, 2012 at 10:11 AM, Jack Craig <jack.craig.aptos at gmail.com> wrote:
> As you are seeing PERM issues, is  selinux on and interfering? just a wag,
> ...
>
>
>
>
> On Thu, Nov 8, 2012 at 9:54 AM, Jerome Yanga <jerome.yanga at gmail.com> wrote:
>>
>> The anonuid/anongid are valid UID/GID.
>>
>> The nohide option didn't work.
>>
>> Here is the logs from /var/log/messages of the Fedora machine while
>> the AIX machine performed a "ls".
>>
>> Nov  8 09:44:31 fedora1 kernel: [515749.246015] device em1 entered
>> promiscuous mode
>> Nov  8 09:44:34 fedora1 rpc.mountd[28150]: authenticated mount request
>> from 10.49.6.40:784 for /data (/data)
>> Nov  8 09:44:34 fedora1 rpc.mountd[28150]: authenticated mount request
>> from 10.49.6.40:789 for /data (/data)
>> Nov  8 09:44:34 fedora1 rpc.mountd[28150]: authenticated mount request
>> from 10.49.6.40:794 for /data (/data)
>> Nov  8 09:44:37 fedora1 kernel: [515755.643377] device em1 left
>> promiscuous mode
>>
>> Here is the error I found from the network trace.
>>
>> 344     3.088711        10.10.10.1      10.10.10.2      NFS     102     V3
>> FSINFO Reply (Call In
>> 343) Error:NFS3ERR_PERM
>>
>> Regards,
>> j
>>
>>
>> On Wed, Nov 7, 2012 at 1:53 AM, Frantisek Hanzlik <franta at hanzlici.cz>
>> wrote:
>> > 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.
>> >
>> > --
>> > 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
>> --
>> 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
>
>
>
> --
> 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
>


More information about the users mailing list