I too have had the same issues with hosts locking VM disks and have solved these in the past. But the situations were where a host had failed, locking the disks although the VM's were HA'd to another host, but these were running VMs.
Original Message:
Sent: Aug 06, 2024 02:52 AM
From: Steven Van Hauwermeiren
Subject: I don't think these two VMs are configured correctly for disk sharing
Hi,
In the past, we had a locking problem and the article gave us the solution. Also VMware supported us perfectly, but it was not Broadcom then :-)
Indeed, SQL Always On uses his own disks, every SQL data is on every server and in Sync.
We als have an Always On SQL Cluster running on VMware.
Not optimal, but this is the config:
1/ VM01: 2 disks
disk1 OS: Thin Provision - No Sharing - Dependent - SCSI(0:0)
disk2 DATA: Thin Provision - No Sharing - Dependent - SCSI(0:1)
SCSI Controller 0: LSI Logic SAS - Sharing: None
2/ VM02: 2 disks
disk1 OS: Thin Provision - No Sharing - Dependent - SCSI(0:0)
disk2 DATA: Thin Provision - No Sharing - Dependent - SCSI(0:1)
SCSI Controller 0: LSI Logic SAS - Sharing: None
We also have Windows Failover Clusters on VMware configured for SQL.
But that is a more complex config, because of the shared disks...
Original Message:
Sent: Aug 05, 2024 10:20 PM
From: JDMils_Interact
Subject: I don't think these two VMs are configured correctly for disk sharing
I have 2 VMs which my customer says are sharing disks for clustering however when I looked at the configurations of each VM, I cannot figger out how this can be working. Here's what i can tell you:
- The 2 VMs are BEMS02 & BEMS03. and both run Windows Server 2012.
- BEMS02 is on Host03 which is running VMware ESXi, 7.0.3, 21930508, ESXi 7.0 Update 3n.
- BEMS03 is on Host06 which is running VMware ESXi, 7.0.3, 20328353, ESXi 7.0 Update 3g.
- Host10 & Host07 were patched to VMware ESXi, 7.0.3, 23794027, VMware ESXi 7.0 Update 3q.
BEMS02 & BEMS03 were powered off and migrated to new hosts:
- BEMS02 was migrated to Host10
- BEMS03 was migrated to Host07
When I tried to power on the VMs, I got this error:
For BEMS02:Cannot use non-thick disks with clustering enabled (sharedBus='virtual'). The disk for 'scsi1:0' is of the type 'zeroed thick'. Failed to start the virtual machine. Module DevicePowerOn power on failed. Unable to create virtual SCSI device for scsi1:0, '/vmfs/volumes/########-a3c9e8cb/BEMS02/BEMS03_1.vmdk' Powering on the new Virtual Machine System 3 ms 08/05/2024, 10:14:36 PM 08/05/2024, 10:14:39 PM 2 s For BEMS03:Cannot use non-thick disks with clustering enabled (sharedBus='virtual'). The disk for 'scsi1:0' is of the type 'zeroed thick'. Failed to start the virtual machine. Module DevicePowerOn power on failed. Unable to create virtual SCSI device for scsi1:0, '/vmfs/volumes/########-a3c9e8cb/BEMS03_1/BEMS03_1.vmdk'
I don't understand what's going on here. I then moved the VMs back to their original hosts and they powered up OK?!?
Here's the disk setup for BEMS02:
Hard disk 1 60GB Thick Provision Eager Zeroed No Sharing [MyStorage_sl_0002] BEMS02/BEMS03_1.vmdk SCSI(1:0) Hard Disk 1Hard disk 2 80GB Thick Provision Eager Zeroed No Sharing [MyStorage_sl_0002] BEMS02/BEMS02.vmdk SCSI(0:0) Hard Disk 2Hard disk 3 1GB Thick Provision Eager Zeroed No Sharing [MyStorage_sl_0002] BEMS02/BEMS03_2.vmdk SCSI(2:0) Hard Disk 3Host:Host03 VMware ESXi, 7.0.3, 21930508 ESXi 7.0 Update 3nSCSI Controllers:SCSI controller 0 LSI Logic SAS SCSI Bus Sharing = NoneSCSI controller 1 LSI Logic SAS SCSI Bus Sharing = VirtualSCSI controller 2 LSI Logic SAS SCSI Bus Sharing = Virtual
Here's the disk setup for BEMS03:
Hard disk 1 80GB Thick Provision Eager Zeroed No Sharing [MyStorage_sl_0002] BEMS03_1/BEMS03.vmdk SCSI(0:0) Hard Disk 1Hard disk 2 60GB Thick Provision Eager Zeroed No Sharing [MyStorage_sl_0002] BEMS03_1/BEMS03_1.vmdk SCSI(1:0) Hard Disk 2Hard disk 3 1GB Thick Provision Eager Zeroed No Sharing [MyStorage_sl_0002] BEMS03_1/BEMS03_2.vmdk SCSI(2:0) Hard Disk 3Host:tfasl1ivmhp06 VMware ESXi, 7.0.3, 20328353 ESXi 7.0 Update 3gSCSI Controllers:SCSI controller 0 LSI Logic SAS SCSI Bus Sharing = NoneSCSI controller 1 VMware Paravirtual SCSI Bus Sharing = VirtualSCSI controller 2 VMware Paravirtual SCSI Bus Sharing = Virtual
Please correct me if I am wrong, but both VMs are using different disks, none shared, BEMS02 is using the wrong controller types and the disks are setup for "No Sharing"? Is this a configuration issue with the VMs or a bug in ESXi 7.0u3q?
Here are excerpts from the logs:
Host10:hostd.log:2024-08-05T12:14:39.121Z verbose hostd[2099895] [Originator@6876 sub=Vigor.Vmsvc.vm:/vmfs/volumes/########-a3c9e8cb/BEMS02/BEMS02.vmx opID=lym79tev-1629243-auto-yx4s-h5:70373278-10-01-01-01-01-a1-09ce] Power On message: Cannot use non-thick disks with clustering enabled (sharedBus='virtual'). The disk for 'scsi1:0' is of the type 'zeroed thick'.--> Unable to create virtual SCSI device for 'scsi1:0' (/vmfs/volumes/########-a3c9e8cb/BEMS02/BEMS03_1.vmdk).--> Module 'DevicePowerOn' power on failed.--> Failed to start the virtual machine.-->vmware.log2024-08-05T12:13:46.428Z In(05)+ vmx - Power on failure messages: Cannot use non-thick disks with clustering enabled (sharedBus='virtual'). The disk for 'scsi1:0' is of the type 'zeroed thick'.2024-08-05T12:13:46.428Z In(05)+ vmx - Unable to create virtual SCSI device for 'scsi1:0' (/vmfs/volumes/########-a3c9e8cb/BEMS02/BEMS03_1.vmdk).2024-08-05T12:13:46.428Z In(05)+ vmx - Module 'DevicePowerOn' power on failed.2024-08-05T12:13:46.428Z In(05)+ vmx - Failed to start the virtual machine.2024-08-05T12:13:46.428Z In(05)+ vmx -