Dell VxRail: After deleting VM from disk, there are VM folders remaining in the data store which could not be deleted manually

Summary: After deleting VM from disk, there are VM folders remaining in the data store which could not be deleted manually.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



-After deleting a VM from disk, the VM folder remains and is not deleted as should be.
-Trying to remove the VM folder reports an error:
 
/usr/lib/vmware/osfs/bin/osfs-rmdir DR-Apps-2
Deleting directory 64ca255d-86c0-e871-6492-e4434b2dada0 in container id 52ecc171a3679e2938b116392ba56640 backed by vsan (force=False)
Failed. Search VMkernel log and osfsd log for opID 'osfsIpc-1578468929.8393154'.

Cause

The VM folder remains and is not deleted as should be.

Resolution

Get the VM folder UUID:
 
/vmfs/volumes/vsan:52ecc171a3679e29-38b116392ba56640 ls -la

lrwxr-xr-x 1 root root 36 Jan 9 07:06 DR-Apps-2 -> 64ca255d-86c0-e871-6492-e4434b2dada0



Remove the folder with UUID using the below command:
/usr/lib/vmware/osfs/bin/objtool delete -u 64ca255d-86c0-e871-6492-e4434b2dada0 -f

Additional Information

This content is translated in 15 different languages: 
https://downloads.dell.com/TranslatedPDF/DE_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/ES_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/ES-XL_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/FR_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/IT_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/JA_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/KO_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/NL_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/PT_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/PT-BR_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/RU_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/SV_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/ZH-CN_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/ZH-TW_KB540419.pdf
https://downloads.dell.com/TranslatedPDF/AR_KB540419.pdf

Affected Products

VMware VSAN

Products

VxRail Appliance Family
Article Properties
Article Number: 000052028
Article Type: Solution
Last Modified: 27 Nov 2024
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.