public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* Setting up NFS on Centos 6.6
@ 2014-11-15 15:07 cl
  2014-11-16  0:21 ` Jeff Layton
  0 siblings, 1 reply; 2+ messages in thread
From: cl @ 2014-11-15 15:07 UTC (permalink / raw)
  To: linux-nfs

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  ]

(I've been following the guide found here:
http://openvz.org/NFS_server_inside_container which says that "module nfsd
not found" is no problem.)

showmount -e produces:
Export list for (server):
/(directory) (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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Setting up NFS on Centos 6.6
  2014-11-15 15:07 Setting up NFS on Centos 6.6 cl
@ 2014-11-16  0:21 ` Jeff Layton
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Layton @ 2014-11-16  0:21 UTC (permalink / raw)
  To: cl; +Cc: linux-nfs

On Sun, 16 Nov 2014 00:07:23 +0900
cl@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".
> 
> 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  ]
> 
> (I've been following the guide found here:
> http://openvz.org/NFS_server_inside_container which says that "module nfsd
> not found" is no problem.)
> 
> showmount -e produces:
> Export list for (server):
> /(directory) (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?
> 

-ENODEV is what you usually get when you can't plug in nfs.ko. Perhaps
your server provider needs to plug that in as well?

-- 
Jeff Layton <jlayton@poochiereds.net>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-16  0:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-15 15:07 Setting up NFS on Centos 6.6 cl
2014-11-16  0:21 ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox