Error "storage containers rejected because: They are part of a Datastore Cluster containers" when creating shared named disk in VCD
book
Article ID: 371899
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
Creating a shared named disk fails with an error : The operation failed because no suitable resource was found. Storage containers were rejected for the following reasons: storage containers rejected because: They are part of a Datastore Cluster containers
Environment
VMware Cloud Director 10.x
Cause
Creation of shared named disks are supported only in standalone datastores and not on datastores that are part of a SDRS cluster.
Resolution
Create shared named disk on standalone datastore using the steps below
On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore and under Storage, from the left panel, select Named Disks.
Click New.
Enter a name and, optionally, a description of the disk.
Select the storage policy from the Storage Policy drop-down menu.
(Optional) If you select a VMware Cloud Director IOPS storage policy, set an IOPS reservation for the VM.
Enter the size of the named disk.
Select the bus type and subtype, from the Bus Type and Bus Sub-Type drop-down menus, respectively.
Select a Sharing type.
When the sharing type is None, you can attach the disk to only one VM.
The Disk sharing type creates an underlying independent persistent disk in vSphere with multi-writer mode enabled. The multi-writer option shares the named disk at the disk level so that up to eight VMs across hosts can lock it at the same time. You cannot use WSFC configurations with disk level sharing.
The Controller sharing type creates a shared disk through physical SCSI bus sharing and supports configurations like WSFC. With the controller level sharing, up to eight VMs can access the same virtual disk simultaneously. A Windows cluster can have up to five VMs. To avoid simultaneous writes, the guest OS functionality chooses the node that can write on the shared disk.