pchettri
asked on
CentOS 7 NFS
I mounted the shared but when I try to enable NFS service I keep getting following error -
[root@FCNAS /]# service nfs start
Redirecting to /bin/systemctl start nfs.service
Job for nfs-server.service failed. See 'systemctl status nfs-server.service' and 'journalctl -xn' for details.
[root@FCNAS /]# systemctl status nfs-server.service
nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/n fs-server. service; disabled)
Active: failed (Result: exit-code) since Wed 2015-08-26 17:20:58 MST; 2min 56s ago
Process: 21429 ExecStartPre=/usr/sbin/exp ortfs -r (code=exited, status=1/FAILURE)
Aug 26 17:20:58 FCNAS exportfs[21429]: exportfs: /etc/exports:1: unknown ke...h"
Aug 26 17:20:58 FCNAS systemd[1]: nfs-server.service: control process exite...=1
Aug 26 17:20:58 FCNAS systemd[1]: Failed to start NFS server and services.
Aug 26 17:20:58 FCNAS systemd[1]: Unit nfs-server.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
[root@FCNAS /]# service nfs start
On Putty session it shows following error -
directory.
[root@FCNAS bin]# service nfs restart
Redirecting to /bin/systemctl restart nfs.service
Job for nfs-server.service failed. See 'systemctl status nfs-server.service' and 'journalctl -xn' for details.
[root@FCNAS bin]#
[root@FCNAS /]# service nfs start
Redirecting to /bin/systemctl start nfs.service
Job for nfs-server.service failed. See 'systemctl status nfs-server.service' and 'journalctl -xn' for details.
[root@FCNAS /]# systemctl status nfs-server.service
nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/n
Active: failed (Result: exit-code) since Wed 2015-08-26 17:20:58 MST; 2min 56s ago
Process: 21429 ExecStartPre=/usr/sbin/exp
Aug 26 17:20:58 FCNAS exportfs[21429]: exportfs: /etc/exports:1: unknown ke...h"
Aug 26 17:20:58 FCNAS systemd[1]: nfs-server.service: control process exite...=1
Aug 26 17:20:58 FCNAS systemd[1]: Failed to start NFS server and services.
Aug 26 17:20:58 FCNAS systemd[1]: Unit nfs-server.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
[root@FCNAS /]# service nfs start
On Putty session it shows following error -
directory.
[root@FCNAS bin]# service nfs restart
Redirecting to /bin/systemctl restart nfs.service
Job for nfs-server.service failed. See 'systemctl status nfs-server.service' and 'journalctl -xn' for details.
[root@FCNAS bin]#
ASKER
10.0.0.0/24(rw,sync,no_all _sqash,no_ root_squas h)
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
share directory is in /mnt/VDPNFS/NFSshasre. I was able to get VDPNFS mounted and access it from ESX. I may have to change 10.0.0.0/24(rw,sync,no_all _sqash,no_ root_squas h) to list of ESX IP address and vcenter in 4 lines instead of letting it accessed by entire network.
Thanks for your help it was spelling mistake on sqash that was squashing me.
Thanks for your help it was spelling mistake on sqash that was squashing me.
ASKER
One more thing that I was surprised with is the 12 tb partition on Centos showing as only 10.82 tb. It chews more than a 1 tb to present as datastore in VMFS
I don't use VMware, so I have no idea.
HTH,
Dan