Page 1 of 1

[SOLVED] nfs only run ipv6

PostPosted: May 23rd, '13, 23:06
by jemartins
Hi,

I just installed Mageia 3 on my server. I have a problem in nfs server is running only in ipv6 protocol. See the output above:
Code: Select all
# rpcinfo -s localhost
   program version(s) netid(s)                         service     owner
    100000  2,3,4     local,udp,tcp,udp6,tcp6          portmapper  superuser
    100024  1         tcp6,udp6,tcp,udp                status      superuser
    100003  4,3,2     udp6,tcp6                        nfs         superuser
    100227  3,2       udp6,tcp6                        nfs_acl     superuser
    100021  4,3,1     tcp6,udp6,tcp,udp                nlockmgr    superuser
    100005  3,2,1     tcp6,udp6,tcp,udp                mountd      superuser


I need run nfs in ipv6 protocol. Anybody knows how to do this?

Regards.

----
Eduardo

Re: nfs olny run ipv6

PostPosted: May 24th, '13, 07:12
by isadora
~topic moved by moderator

Re: nfs olny run ipv6

PostPosted: May 24th, '13, 17:41
by wintpe
do you mean you want the nfs server to run in ipv4 as its only running in ipv6.

then have you installed the package nfs-server

urpmi nfs-server

you may also want nfs-utils, and autofs

let us know if this is the case.

if you have look at the file /etc/sysconfig/nfs

this has many nfs options in it.

including what nfs version to use.

regards peter

Re: nfs olny run ipv6

PostPosted: May 24th, '13, 18:05
by jemartins
Thank you Peter for your reply.

Sorry. I had write ipv6. The correct is ipv4.

I had all these packages you said. I fix this problem uninstalling all nfs packages, clearing /var/lib/nfs and reinstall them.

Now I get the correct behavior in nfs server:

Code: Select all
$ sudo rpcinfo -s localhost
[sudo] password for jemartins:
   program version(s) netid(s)                         service     owner
    100000  2,3,4     local,udp,tcp,udp6,tcp6          portmapper  superuser
    100024  1         tcp6,udp6,tcp,udp                status      superuser
    100003  4,3,2     udp6,tcp6,udp,tcp                nfs         superuser
    100227  3,2       udp6,tcp6,udp,tcp                nfs_acl     superuser
    100021  4,3,1     tcp6,udp6,tcp,udp                nlockmgr    superuser
    100005  3,2,1     tcp6,udp6,tcp,udp                mountd      superuser


Regards.

---
Eduardo

Re: nfs olny run ipv6

PostPosted: May 27th, '13, 20:53
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks