Running a freshly installed esxi 8.0 with 1 vm on local datastore in my homelab for some testing purposes. That VM has my LSI controller passed through and is running zfs on Archlinux.
I exported an NFS 4 share no_root_squash and using root credentials from ESX to mount the NFS share. It works and I can upload files from the ESX console using the datastore browser.
When I create a VM, it creates it fine but on power on it fails with the following message:
I found an article about this error and I can assert this is the issue described there:
I can follow the article to fix corrupt disk descriptors, but the issue is that every VM I create, has this problem.
I tried dabbling with permissions on the datastores, applying root explicitly admin permissions, but that didn't help.
I removed the disk and deleted it from the datastore, and mounted a bootable ISO. The VM still fails to power on, this time with this error:
This tells me all the files are actually corrupt.
One other thing I tested is to force sync writes on the NFS share. DIdn't help.
So Im at a loss, this has taken me several days now and I could really use some help .
SInce I picked up this idea somewhere on these forums, I am hoping someone here has an idea how to fix this?
Thanks!
I exported an NFS 4 share no_root_squash and using root credentials from ESX to mount the NFS share. It works and I can upload files from the ESX console using the datastore browser.
When I create a VM, it creates it fine but on power on it fails with the following message:
Code:
Failed - The file specified is not a virtual disk
Errors The file specified is not a virtual disk
Cannot open the disk '/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test.vmdk' or one of the snapshot disks it depends on.
Module 'Disk' power on failed.
Failed to start the virtual machine.
Code:
[root@esxi:/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test] vmkfstools -v6 -d thin -i test.vmdk test_clone.vmdk
DISKLIB-VMFS : "/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test-flat.vmdk" : open successful (269) size = 4096, hd = 0. Type 3
DISKLIB-VMFS : "/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test-flat.vmdk" : closed.
DISKLIB-VMFS : "/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test-flat.vmdk" : open successful (14) size = 17179869184, hd = 1056288. Type 3
Destination disk format: VMFS thin-provisioned
Cloning disk 'test.vmdk'...
DISKLIB-LIB_CLONE : DiskLibCreateNativeClone: Incompatible object type 'file' specified.
DISKLIB-LIB_CLONE : DiskLibCloneGrowInt: Failed to clone disk using Object Cloning.
Clone: 9% done.DISKLIB-VMFS : "/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test_clone-flat.vmdk" : open successful (33554433) size = 4096, hd = 0. Type 3
DISKLIB-VMFS : "/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test_clone-flat.vmdk" : closed.
DISKLIB-VMFS : VmfsExtentCommonOpen: possible extent truncation (?) realSize is 0, size in descriptor 33554432.
DISKLIB-VMFS : "/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test_clone-flat.vmdk" : failed to open (The file specified is not a virtual disk): Size of extent in descriptor file larger than real size. Type 3
DISKLIB-LINK : DiskLinkOpen: Failed to open '/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test_clone.vmdk': : The file specified is not a virtual disk
DISKLIB-CHAIN : DiskChainOpen: "/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test_clone.vmdk": failed to open: The file specified is not a virtual disk.
DISKLIB-LIB : Failed to open 'test_clone.vmdk' with flags 0x8208 The file specified is not a virtual disk (15).
DISKLIB-LIB_CLONE : DiskLibCloneGrowInt: Failed to open: The file specified is not a virtual disk
DISKLIB-VMFS : "/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test_clone-flat.vmdk" : open successful (1115137) size = 0, hd = 0. Type 3
DISKLIB-VMFS : "/vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test_clone-flat.vmdk" : closed.
DISKLIB-LIB : DiskLibUnlinkInt: Disk delete successfully completed { result:0, Msg: 'The operation completed successfully', fileName:'test_clone.vmdk'}
Failed to clone disk: The file specified is not a virtual disk (15).
I tried dabbling with permissions on the datastores, applying root explicitly admin permissions, but that didn't help.
I removed the disk and deleted it from the datastore, and mounted a bootable ISO. The VM still fails to power on, this time with this error:
Code:
State Failed - Module 'Nvman' power on failed.
Errors Module 'Nvman' power on failed.
NVRAM file open /vmfs/volumes/60549f42-58c23f57-0000-000000000000/test/test.nvram (One of the parameters supplied is invalid).
Failed to start the virtual machine.
One other thing I tested is to force sync writes on the NFS share. DIdn't help.
So Im at a loss, this has taken me several days now and I could really use some help .
SInce I picked up this idea somewhere on these forums, I am hoping someone here has an idea how to fix this?
Thanks!