Failed to Execute df -h and Failed to Start NFS
Symptom
- Run the df -h command, and the command is suspended.

- Run the strace df -h command to locate the problem. Command output is as follows:

- Restart the NFS service. The following information is displayed:
[....] Restarting nfs-kernel-server (via systemctl): nfs-kernel-server.serviceJob for nfs-server.service canceled failed!
Cause Analysis
- Check the NFS share configuration.
cat /etc/exports

- View the corresponding shared directory.

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.
The command is executed successfully.

Parent topic: Faults During Use