-->

Unable to power on the VM- Vmware

 

I encountered the issue, while power on the VM, getting the below error on tasks/events.

" Power On virtual machine

Status

 Unable to create virtual SCSI device for scsi1:0, '/vmfs/volumes/98745sdcg1-1e3e-jskll45/testvm/testvm_2.vmdk' Failed to start the virtual machine. Module DevicePowerOn power on failed "



As part of troubleshooting process:-

> I tried the Vmotion and had no luck. While powering on, the VM returned to the same ESXi host and received the same issue.

> I attempted storage migration but received the following error.

Unable to access file /vmfs/volumes/98745sdcg1-1e3e-jskll45/testvm/testvm_2.vmdk' since it is locked"

>  Login SSH of Esxi host and run the below command

for file in *;do vmfsfilelockinfo -p "$file" | awk '{FS = "\n"; RS = ""} {print $2 , $7}';done"

> It will get all VM's lock details on esxi host.

When I discovered the problem, I put the Esxi server into maintenance mode and powered up the VM.

> Now VM is powered on without issue


Cause:- 

> The vmdk file in the esxi host has been locked.

This VM has shared scsi controllers with another VM (like bus-sharing)



Unable to power on the VM- Vmware Unable to power on the VM- Vmware Reviewed by Virtulization on May 30, 2023 Rating: 5

No comments:

Home - PageNavi (show/hide)

hide
Powered by Blogger.