Re: [CentOS] Setting up NFS on Centos 6.6
I've been following the guide found here: http://openvz.org/NFS_server_inside_container Which says that this is no problem. On Sat, 15 Nov 2014 02:44:15 +0900 c...@qgenuity.com wrote: The server provider has loaded the nfsd module. FATAL: Module nfsd not found. Apparently not. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Setting up NFS on Centos 6.6
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. My copy of centos is running inside a virtual bubble. The server provider has loaded the nfsd module. I run: chkconfig nfs on service rpcbind start service nfs start The final command produces: # service nfs start FATAL: Module nfsd not found. FATAL: Error running install command for nfsd Starting NFS services: [ OK ] Starting NFS quotas: [ OK ] Starting NFS mountd: [ OK ] Starting NFS daemon: [ OK ] Starting RPC idmapd: [ OK ] showmount -e produces: Export list for (server): /(directory) (server address) but when I try to mount mount -t nfs -v (address):/(dir) /mnt/nfs mount.nfs: timeout set for (date) mount.nfs: trying text-based options 'vers=4,addr=::1,clientaddr=::1' mount.nfs: mount(2): No such device mount.nfs: No such device Does anyone know what I need to do to get nfs working? Thank you. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up NFS on Centos 6.6
On Sat, 15 Nov 2014 02:44:15 +0900 c...@qgenuity.com wrote: The server provider has loaded the nfsd module. FATAL: Module nfsd not found. Apparently not. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up NFS on Centos 6.6
On 11/06/2014 06:33 AM, c...@qgenuity.com 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 your exportfs file seems wrong ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up NFS on Centos 6.6
From: c...@qgenuity.com c...@qgenuity.com FATAL: Module nfsd not found. FATAL: Error running install command for nfsd Starting NFS services: exportfs: internal: no supported addresses in nfs_client uname -r locate nfsd.ko grep -v ^# /etc/sysconfig/nfs cat /etc/exports JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up NFS on Centos 6.6
Hello, Here are my outputs uname -r: 2.6.32-042stab093.5 locate nfsd.ko /lib/modules/2.6.32-431.20.3.el6.x86_64/kernel/fs/nfsd/nfsd.ko /lib/modules/2.6.32-431.20.5.el6.x86_64/kernel/fs/nfsd/nfsd.ko /lib/modules/2.6.32-431.23.3.el6.x86_64/kernel/fs/nfsd/nfsd.ko /lib/modules/2.6.32-431.29.2.el6.x86_64/kernel/fs/nfsd/nfsd.ko /lib/modules/2.6.32-504.el6.x86_64/kernel/fs/nfsd/nfsd.ko grep -v ^# /etc/sysconfig/nfs blank response # NFS Exports File /dir-to-share 127.0.0.1(rw,insecure,all_squash) Thanks! From: c...@qgenuity.com c...@qgenuity.com FATAL: Module nfsd not found. FATAL: Error running install command for nfsd Starting NFS services: exportfs: internal: no supported addresses in nfs_client uname -r locate nfsd.ko grep -v ^# /etc/sysconfig/nfs cat /etc/exports JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up NFS on Centos 6.6
On Thu, Nov 06, 2014 at 10:09:51PM +0900, c...@qgenuity.com wrote: uname -r: 2.6.32-042stab093.5 Your CentOS system is actually an OpenVZ container. Your container can't load its own kernel modules, there has to be a support in your hosting provider's kernel. I suggest contacting the admins who administer your containers and ask them about NFS support. -- Jonathan Billings billi...@negate.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up NFS on Centos 6.6
On 11/06/2014 08:09 AM, c...@qgenuity.com wrote: From: c...@qgenuity.com c...@qgenuity.com FATAL: Module nfsd not found. FATAL: Error running install command for nfsd Starting NFS services: exportfs: internal: no supported addresses in nfs_client uname -r; locate nfsd.ko ; grep -v ^# /etc/sysconfig/nfs ; cat /etc/exports Hello, Here are my outputs uname -r: 2.6.32-042stab093.5 locate nfsd.ko /lib/modules/2.6.32-431.20.3.el6.x86_64/kernel/fs/nfsd/nfsd.ko /lib/modules/2.6.32-431.20.5.el6.x86_64/kernel/fs/nfsd/nfsd.ko /lib/modules/2.6.32-431.23.3.el6.x86_64/kernel/fs/nfsd/nfsd.ko /lib/modules/2.6.32-431.29.2.el6.x86_64/kernel/fs/nfsd/nfsd.ko /lib/modules/2.6.32-504.el6.x86_64/kernel/fs/nfsd/nfsd.ko have you done something weird with your kernel? like trying to compile a new kernel from source? my system gives back... [root@nemesis ~]# uname -r 2.6.32-431.29.2.el6.x86_64 so the stab093 looks a bit unusual to me. what does your cat /boot/grub/menu.lst look like and what does yum check-update show as available? it'd also be very helpful for posterity if you didn't toppost responses to the messages. these are archived in case someone has the same problem and top posting can make things more difficult than they need to be. -- public gpg key id: AE60F64C ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Setting up NFS on Centos 6.6
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. Thank you. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up NFS on Centos 6.6
Hi, On Thu, Nov 6, 2014 at 11:03 AM, c...@qgenuity.com 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@centos.org http://lists.centos.org/mailman/listinfo/centos -- Regards Ashishkumar S. Yadav ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up NFS on Centos 6.6
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, c...@qgenuity.com 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@centos.org http://lists.centos.org/mailman/listinfo/centos -- Regards Ashishkumar S. Yadav ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up NFS on Centos 6.6
On 11/5/2014 10:19 PM, c...@qgenuity.com wrote: 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. did you follow the FIRST part of step 1, which installs nfs-utils and whatever? thats the package that provides rpc.nfsd -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up NFS on Centos 6.6
Yes, of course. nfs-utils and nfs-utils-lib are already installed. Thanks! On 11/5/2014 10:19 PM, c...@qgenuity.com wrote: 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. did you follow the FIRST part of step 1, which installs nfs-utils and whatever? thats the package that provides rpc.nfsd -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos