VMware Cloud Community
IntegraComp
Contributor
Contributor

Trying to delete Dumpfile

I am trying to delete my dumpfile and unable to

I am SSH in the correct Host

[root@localhost:~] esxcli system coredump file list

Path                                                                                                                Active  Configured        Size

------------------------------------------------------------------------------------------------------------------  ------  ----------  ----------

/vmfs/volumes/5b1009ba-306ed33a-6742-782bcb1d7dda/vmkdump/4C4C4544-0036-4810-8054-B1C04F443432-1658847232.dumpfile   false       false  1658847232

/vmfs/volumes/5b1009ba-306ed33a-6742-782bcb1d7dda/vmkdump/4C4C4544-0039-3010-8056-B6C04F4E5131-2463105024.dumpfile   false       false  2463105024

[root@localhost:~] esxcli system coredump file remove -F -f /vmfs/volumes/5b1009ba-306ed33a-6742-782bcb1d7dda/vmkdump/4C4C4544-0036-4810-8054-

B1C04F443432-1658847232.dumpfile

Unlink of file /vmfs/volumes/5b1009ba-306ed33a-6742-782bcb1d7dda/vmkdump/4C4C4544-0036-4810-8054-B1C04F443432-1658847232.dumpfile failed: Device or resource busy

I get a Device Busy,  what am i doing wrong?

Reply
0 Kudos
4 Replies
davidhungnguyen
Contributor
Contributor

I have the same issue and like to know the resolution.  Can we get update?

Reply
0 Kudos
continuum
Immortal
Immortal

Look wh is actually using it with
lsof
then try to kill the .world / process using it
ps
When you done that the webinterface maybe more cooperative ....

 

Ulli


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
davidhungnguyen
Contributor
Contributor

Thanks for response.

I run lsof and look like nothing is using it.  I had even reboot the esx and gave it a try and still see same issue.

[root@dal00phesx505:~] esxcli system coredump file list
Path Active Configured Size
------------------------------------------------------------------------------------------------------- ------ ---------- ----------
/vmfs/volumes/59bc0b89-18a0f560-4e85-0025b540a025/vmkdump/5CA23EDA-0FDC-E611-4000-000000000012.dumpfile false false 6286213120
[root@dal00phesx505:~]
[root@dal00phesx505:~]
[root@dal00phesx505:~] lsof | grep -i dumpfile

[root@dal00phesx505:~] esxcli system coredump file set -u
[root@dal00phesx505:~]

[root@dal00phesx505:~] esxcli system coredump file remove -f /vmfs/volumes/59bc0b89-18a0f560-4e85-0025b540a025/vmkdump/5CA23EDA-0FDC-E611-4000-000000000012.dumpfile
--force
Unlink of file /vmfs/volumes/59bc0b89-18a0f560-4e85-0025b540a025/vmkdump/5CA23EDA-0FDC-E611-4000-000000000012.dumpfile failed: Device or resource busy

Reply
0 Kudos
WEPA-ITadmin
Contributor
Contributor

same problem here, lsof shows nothing like "dumpfile".

any other idea anyone?

Thanks!

Reply
0 Kudos