Re: Setting up NFS on Centos 6.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Ashishkumar,

Thank you for the advice.

Unfortunately, the final part of "step one" from the link that you gave
(service nfs start) is what causes the error that I listed in my initial
email.

---

FATAL: Module nfsd not found.
FATAL: Error running install command for nfsd
Starting NFS services:  exportfs: internal: no supported addresses in
nfs_client
exportfs: 127.0.0.1:/dir-to-share: No such file or directory

                                                           [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Starting NFS daemon: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No
such file or directory).
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart
rpc.nfsd to correct the problem
---


Thanks!

> Hi,
>
> On Thu, Nov 6, 2014 at 11:03 AM, <cl@xxxxxxxxxxxx> wrote:
>
>> Hello,
>>
>> I'm having an unusual amount of trouble setting up Centos 6.6 as an NFS
>> server. I have already created my exportfs file and run "chkconfig nfs
>> on".
>>
>> When I try to start the nfs service with "service nfs start", I get
>>
>> FATAL: Module nfsd not found.
>> FATAL: Error running install command for nfsd
>> Starting NFS services:  exportfs: internal: no supported addresses in
>> nfs_client
>> exportfs: 127.0.0.1:/dir-to-share: No such file or directory
>>
>>                                                            [  OK  ]
>> Starting NFS quotas:                                       [  OK  ]
>> Starting NFS mountd:                                       [  OK  ]
>> Starting NFS daemon: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2
>> (No
>> such file or directory).
>> Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart
>> rpc.nfsd to correct the problem
>>
>> When I run "mount -t nfsd nfsd /proc/fs/nfsd", I get
>>
>> mount: unknown filesystem type 'nfsd'
>>
>> Does anyone know what I need to do to get nfs working? My thinking is
>> that
>> I need to load a module or two, but I don't know where or how to do this
>> in Centos. I've seen a few posts referencing Ubuntu which ask the user
>> to
>> apt-get particular packages, but its not clear that this is the right
>> approach for Centos.
>>
>
> Please refer this for more information, it is quite easy guide for setting
> NFS server in CentOS.
>
> <
> https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-centos-6
>>
>
>
>>
>> Thank you.
>>
>>
>>
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS@xxxxxxxxxx
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>
>
> --
> Regards
> Ashishkumar S. Yadav
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux