I'm having a few problems with ESXi

Hi guys,

I ran Hassio on UNraid for over a year now without any real problems. I recently purchase a used NUC to dedicate to HA only, but I ended up installing ESXi 6.7 on it and running Hassio as it’s only VM.

Downloaded the VMDK from this site, and restored by latest snapshot. HA is working OK now… but,

Here are my issues so far:

  1. I can’t do snapshots when the VM is turned on. it tells me the file is locked. (works when the VM is off)
  2. I can’t grow the disk (even if it’s powered off) it says “Failed to reconfigure virtual machine Hassio3. Invalid operation for device ‘1’.”

Here are the ESXi logs:

2020-05-02T16:48:33.341Z| vmx| I125: Log for VMware ESX pid=2099610 version=6.7.0 build=build-8169922 option=Release
2020-05-02T16:48:33.341Z| vmx| I125: The process is 64-bit.
2020-05-02T16:48:33.341Z| vmx| I125: Host codepage=UTF-8 encoding=UTF-8
2020-05-02T16:48:33.341Z| vmx| I125: Host is VMkernel 6.7.0
2020-05-02T16:48:33.320Z| vmx| I125: VTHREAD 37369047040 "vmx" wid 2099610
2020-05-02T16:48:33.320Z| vmx| I125: Msg_SetLocaleEx: HostLocale=UTF-8 UserLocale=NULL
2020-05-02T16:48:33.320Z| vmx| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory.
2020-05-02T16:48:33.320Z| vmx| I125: ConfigDB: Failed to load /usr/lib/vmware/config
2020-05-02T16:48:33.320Z| vmx| I125: DictionaryLoad: Cannot open file "//.vmware/config": No such file or directory.
2020-05-02T16:48:33.320Z| vmx| I125: ConfigDB: Failed to load ~/.vmware/config
2020-05-02T16:48:33.330Z| vmx| I125: OBJLIB-LIB: ObjLibPlugins_Load: Loading plugin directory '/usr/lib64/vmware/plugin/objLib'
2020-05-02T16:48:33.330Z| vmx| I125: OBJLIB-LIB: ObjLibLoadPlugin: Loading plugin 'objLib/vsanObjBE.so'
2020-05-02T16:48:33.332Z| vmx| I125: PluginLdr_Load: Loaded plugin 'objLib/vsanObjBE.so' from '/usr/lib64/vmware/plugin/objLib/vsanObjBE.so'
2020-05-02T16:48:33.332Z| vmx| I125: ObjLibPluginInit: Initialized plugin
2020-05-02T16:48:33.332Z| vmx| I125: VsanBackend_GetAPI: Received request for API [email protected]
2020-05-02T16:48:33.332Z| vmx| I125: OBJLIB-LIB: ObjLib_RegisterDynamicBE: Back-end 'vsan' found and registered as type 3
2020-05-02T16:48:33.332Z| vmx| I125: 2099610:VVOLLIB : VVolLib_IpcInit:208: IPC timeouts set to: connect = 30 sec, send = 30 sec, receive = 200 sec
2020-05-02T16:48:33.332Z| vmx| I125: 2099610:VVOLLIB : VVolLib_GetSoapContext:379: Using 30 secs for soap connect timeout.
2020-05-02T16:48:33.332Z| vmx| I125: 2099610:VVOLLIB : VVolLib_GetSoapContext:380: Using 200 secs for soap receive timeout.
2020-05-02T16:48:33.332Z| vmx| I125: OBJLIB-LIB: Objlib initialized.
2020-05-02T16:48:33.332Z| vmx| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory.
2020-05-02T16:48:33.332Z| vmx| I125: DictionaryLoad: Cannot open file "//.vmware/config": No such file or directory.
2020-05-02T16:48:33.332Z| vmx| I125: DictionaryLoad: Cannot open file "//.vmware/preferences": No such file or directory.
2020-05-02T16:48:33.340Z| vmx| I125: lib/ssl: OpenSSL using FIPS_drbg for RAND
2020-05-02T16:48:33.340Z| vmx| I125: lib/ssl: protocol list tls1.2
2020-05-02T16:48:33.340Z| vmx| I125: lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)
2020-05-02T16:48:33.340Z| vmx| I125: lib/ssl: cipher list !aNULL:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES
2020-05-02T16:48:33.341Z| vmx| I125: FILE: FileCreateDirectoryEx: Failed to create /tmp. Error = 17
2020-05-02T16:48:33.341Z| vmx| I125: FILE: FileCreateDirectoryEx: Failed to create /tmp/vmware-root. Error = 17

it looks like some config files are missing.

When you download the VMDK from here, it doesn’t come with the VMX file that’s needed to register the VM. so you have to create one… I’m wondering if this is where things went wrong.

Google vmkfstools, you can convert the vm from workstation to esxi and then you can do snapshot and bakcup etc.

This is the guide I followed and everything worked out perfectly.

https://www.lucastechblog.com/home-automation/setup-hassos-vm-in-esxi/

1 Like

Thank you. I recreated the VM folowing this guide and it worked perfect.