在存储页面里面无法删除(删除点击后没用反应)
一、
将目录更改为 /vmfs/volumes/vsanDatastore
在 /vmfs/volumes/vsanDatastore 中运行“ls -l”,找到要删除的文件夹
运行“/usr/lib/vmware/osfs/bin/osfs-rmdir <name-of-the-folder>”即可删除该文件夹
这个方法如果提示
/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'.
二、
/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
会显示出文件夹的UUID
/usr/lib/vmware/osfs/bin/objtool delete -u 64ca255d-86c0-e871-6492-e4434b2dada0 -f
即可删除