Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Can't Delete More Than 4096 Directory Entries at Once on a VMFS Volume

Details

You can't use rm -rf to delete more than 4096 directory entries at once on a VMFS volume.

Solution

Use one of the following workarounds:
  • Delete the directories through VirtualCenter's datastore browser.

  • Use rm -rf  multiple times, until all the entries are deleted. Each invocation of rm -rf will delete at most 4096 entries.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback


Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
Actions
KB: