df Command Is Suspended and the NFS Fails to Be Started
Symptom
- Run the df –h command, and the command is suspended.

- Run the strace df –h command to locate the problem. The following information is displayed:

- The following information is displayed after the NFS service is restarted.
[....] Restarting nfs-kernel-server (via systemctl): nfs-kernel-server.serviceJob for nfs-server.service canceled failed!

Possible Causes
- Check the NFS share configuration.
cat /etc/exports

- View the corresponding shared directory.

Causes
Run the cat /etc/exports command to view the NFS share configuration.

The shared directory does not exist.

Solution
- Create the corresponding directory.
mkdir /data/atlas_dls
- Restart the NFS service.
sudo /etc/init.d/nfs-kernel-server start

- Run the df –h command.
Execution succeeded.

Parent topic: NFS