Hi all,
fast little info that is making me bang my head all day. I need to investigate who deleted a vmdk (persistent volume).
I am accused of having deleted a vmdk (persistent volume) created specifically for kubernetes with a vmware user to whom I have granted write permissions on that volume.Obviously we didn't do anything.
I need to find who deleted vmdk
On VM Task side I see this:
Reconfigure virtual machine
Status:
File [] /vmfs/volumes/xxxx/xx/xxxx.vmdk was not found
Initiator:
user to whom I granted write permission
Target:
name of the vm
Server:
xxxx
Related events:
date, time
Task: Reconfigure virtual machine
But he does not say who has canceled it, he only says that he does not find it
I searched on vpxa and hostd but I can't find anything, I only have the last 4 days but the event dates back to 15 days ago. Ideas?
Look for cli.log on the datastore that had the flat.vmdk.
That log-file may be hidden - sometimes you can find it by running
strings against the device of the datastore.
Thats something you cant do with esxi itself - I have no time to explain right now .... call me via skype or wait for a reply later.
Ulli
continuum : Could you please help me? Tried to add to skype with no success..
Br
Thanks
I have seen no skype connection requests last hours ...
Anyway - read Create a VMFS-Header-dump using an ESXi-Host in production | VM-Sickbay
Create a dump like that and copy the dump to a host that has the tool strings installed.
That can be any Linux (comes with strings installed) or Windows (then install https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=2ahUKEwib44HEotvo... )
Run strings dump-file > text.txt
Then search through text.txt - it often has a cli.log - in which manual commands are logged