Hi All,
I am running mad to find a solution to this. I am running ESXi 6 server with 4-5 VMs. yesterday night I had a power outage and my ESXi rebooted abruptly, when it came back all the VM were stopped except one, which is a windows server 2012 VM. It was in suspended state. Starting that gives me an error Failed to power on virtual machine Domain/VPN Server 2012. Device 'Bootstrap' is not available. I tried to power off the machine from CLI but I get an error that I cannot stop the machine since its in suspended state. I tried to copy the VMDK files to another directory to see if that would work but it does not copy and again gives an error "Failed - Cannot complete the operation because the file or folder /vmfs/volumes/569ccbd9-ee08a8f4-4702-f46d0413bcee/Server 2012 DOMAIN already exists" I am all short of ideas and googling does not give me any solution. Hence opening a new thread. Please assist as I need this VM its very important.
Regards
Sammy
no reply .... I know its a bit too soon to expect, but I am in a dire straight situation here need assistance a bit urgent ...
Hi,
You said you tried to power the VM off via the cli ? What command did you use ?
Have you checked for the process and tried to kill it that way.
I.e:
The esxcli
command can be used locally or remotely to power off a virtual machine running on ESXi 5.x or later. For more information, see the esxcli vm Commands section in the vSphere Command-Line Interface Reference.
esxcli
tool is available, either in the ESXi Shell, the vSphere Management Assistant (vMA), or the location where the vSphere Command-Line Interface (vCLI) is installed. .vmx
configuration file by running this command:esxcli vm process list
esxcli vm process kill --type= [soft,hard,force] --world-id= WorldNumber
Rich
This is also worth a shot.
Resuming a suspended virtual machine causes an access violation error (1006111) | VMware KB
Rich
Hello...!!
Wanted to check if you powered this off manually? if so, migrate the VM to another host and check the behavior.
Hi Richard, thanks fo rthe reply, below is the command I tried
.vmx
configuration file by running this command:vim-cmd vmsvc/getallvms
vim-cmd vmsvc/power.getstate VMID (replaced it with 45 my VMID)
OUTPUT ::::
Retrieved runtime info
Suspended
vim-cmd vmsvc/power.shutdown
45
output ::::
(vim.fault.InvalidPowerState) {
faultCause = (vmodl.MethodFault) null,
requestedState = "poweredOn",
existingState = "suspended",
msg = "Received SOAP response fault from [<cs p:1f2b2bb0, TCP:localhost:80>]: shutdownGuest
The attempted operation cannot be performed in the current state (Suspended)."
}
Running esxcli vm process list command does not return anything since it only returns running machines and I have no machine running except one that is suspended. It does not return status for suspended machine.
I dont have any other host available. I tried copying the VMDK files to a new folder via datastore browser but that again gives me another error ...as stated in my OP
OK richard ...
I tried following the article ....even though its for workstation and not esxi server, but non the less
RESULT :::
I did not have any .VMSS or LCK files, however I was able to edit vmx file and removed everything from checkpoint.vmState = "". THis DID clear the suspended state and VM was stopped, HOWEVER restarting it again agve me the same error Device 'Bootstrap' is not available..
Hi, Sorry or the late reply, think im on a somewhat different time zone.
Have you taken a look at this Upgraded from 5.0.0 to 6.0.0 and VMs error when powering on with message: "Device 'Bootstrap' is not...
It might be worth creating a new VM and attaching the disk now that the checkpoint.vmstate is cleared.
R