Loading Posts...

VMware VSAN: Error occured while deleting a folder

VMware VSAN: Error occured while deleting a folder
Once I have completed my vsanDatastore creation I wanted to test the datastore, so I have created a Test folder called “New Folder” inside the vsanDatastore and I tried to delete the folder soon after I created it. Unfortunately It gave me the below error message saying “Cannot delete the file [vsanDatastore] New Folder” and was not able to delete it.

 

I did a quick google search and found the Blog post created by Duncan Epping in the “Yellow-Bricks.com” and I followed the steps.

I changed the directory to “/vmfs/volumes/vsanDatastore” and list the content inside the vsanDatastore

As Duncan mentioned I typed “/usr/lib/vmware/osfs/bin/osfs-rmdir <name-of-the-folder>” command and It gave me the below error message

 

As the next step instead of the “Folder Name” I typed the folder value in the command and it was successfully deleted.

I just wanted to share my experience with vsan and I would like to thank “Yellow-Bricks.com ” and Duncan Epping for saving my life as always.

VMware VSAN: Error occured while deleting a folder
Rate this post

Aruna Lakmal

Senior Virtualization Engineer at Pearson, Sri Lanka. Technology junky, enthusiast, a VMware vExpert and a blogger with more than 6 years of Experience in Information Technology more focusing on VMware Virtualization, Microsoft and Datacenter Technologies.

Get Updates Directly To Your Inbox!

   

Show one comment

Leave a Reply

Loading Posts...