[Symptom]
The OceanStor 9000 has an NFS share, which is not required by the customer. All files in the share have been deleted on the Linux client. However, when the shared directory is deleted on the OceanStor 9000, a message is displayed indicating that the share cannot be deleted.
On Linux, all data in the share has been deleted. After you run the ll (alias of the ls –a) command, no file or directory is displayed, as shown in the following figure.

[Troubleshooting Roadmap]
DeviceManager can delete only empty directories that are not configured with other features. Therefore, you need to check the following points:
1. Check whether the directory to be deleted is empty.
2. Check whether the directory has shared configurations.
3. Check whether other advanced features, such as quotas and snapshots, exist in the directory.
The preceding process is as follows:
1. On DeviceManager, check whether the directory is empty. It is found that there are three directories and one file whose names start with dot.

2. The cause is found. Why is the ll command invisible on the client?
Linux hides files starting with dots. You need to run the ls -a command to view the files.
[Cause]
The directory cannot be deleted because it is not empty.
[Solution]
1.Delete the two directories and one file on the client.

2. Cancel the mounting on the client.
3. Delete a share. (Because the share can still be mounted on the client, it indicates that the share still exists and needs to be deleted.)
4. Delete a directory.
[Suggestion and Summary]
DeviceManager can delete only empty directories that are not configured with other features. Therefore, you need to check the following points:
1. Check whether the directory to be deleted is empty.
2. Check whether the directory has shared configurations.
3. Check whether other advanced features, such as quotas and snapshots, exist in the directory.
[Applicability]
ALL