Got it

Directory Cannot Be Deleted on DeviceManager

70 0 0 0 0

[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.

1


[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

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.

3

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

Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.