N
N
neonox2014-03-21 22:50:31
NFS
neonox, 2014-03-21 22:50:31

How to mount an NFS drive on CentOS 6.5?

Given:
1. Windows Server 2012 with a disk shared via NFS
2. VMware virtual machine with CentOS 6.5 on board It is
required to mount a network drive.
On the server is webmin. Tried through it, got an error

Failed to save mount options : NFS error - mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use '-o nolock' to keep locks local, or start statd. mount.nfs: an incorrect mount option was specifie d

Move on
[[email protected] dev]# service nfs start
Starting NFS services: [ OK ]
Starting NFS mountd: [FAILED]
Starting NFS daemon: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
rpc.nfsd: unable to set any sockets for nfsd
[FAILED]


[[email protected] dev]# tail -f /var/log/messages
Mar 21 23:29:57 localhost kernel: svc: failed to register nfsdv2 RPC service (errno 97).
Mar 21 23:29:57 localhost kernel: svc: failed to register nfsaclv2 RPC service (errno 97).
Mar 21 23:29:57 localhost kernel: nfsd: last server has exited, flushing export cache
Mar 21 23:45:49 localhost rpc.mountd[31670]: mountd: could not create listeners
Mar 21 23:45:49 localhost kernel : svc: failed to register nfsdv2 RPC service (errno 111).
Mar 21 23:45:49 localhost kernel: svc: failed to register nfsaclv2 RPC service (errno 111).
Mar 21 23:45:49 localhost kernel: nfsd: last server has exited, flushing export cache
Mar 21 23:45:49 localhost kernel: svc: failed to register nfsdv2 RPC service (errno 97).
Mar 21 23:45:49 localhost kernel: svc: failed to register nfsaclv2 RPC service (errno 97).
Mar 21 23:45:49 localhost kernel: nfsd: last server has exited, flushing export cache

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
P
Puma Thailand, 2014-03-22
@neonox

for nfs, the rpc service still needs to be running
, I run service rpcbind start

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question