Hi, All.
I'm testing a failover cluster with S2D enabled on WS2019. I have 3 VMs with 2 HDD 5GB on each. I've created failover cluster, enabled S2D and created a storage pool.
PS C:\Windows\system32> Get-ClusterS2D
CacheMetadataReserveBytes : 34359738368
CacheModeHDD : ReadWrite
CacheModeSSD : WriteOnly
CachePageSizeKBytes : 16
CacheState : Disabled
Name : s2d-cluster2
ScmUse : Cache
State : Enabled
PS C:\Windows\system32> Get-StorageSubsystem *cluster* | Get-PhysicalDisk DeviceId FriendlyName SerialNumber MediaType CanPool OperationalStatus HealthStatus Usage Size -------- ------------ ------------ --------- ------- ----------------- ------------ ----- ---- 3002 VMware Virtual disk 6000c29503bcbdb2cf84ec2867ea371b HDD True OK Healthy Auto-Select 5 GB 1002 VMware Virtual disk 6000c29a55adf0ba2fb870ad3a9dfd32 HDD True OK Healthy Auto-Select 5 GB 3001 VMware Virtual disk 6000c291b4372413c4f7feaa10fe9beb HDD True OK Healthy Auto-Select 5 GB 2002 VMware Virtual disk 6000c2993762bd6617b3cd5eef1ff9d0 HDD True OK Healthy Auto-Select 5 GB 2001 VMware Virtual disk 6000c292a3946d8f1b33bb0f716ecd44 HDD True OK Healthy Auto-Select 5 GB 1001 VMware Virtual disk 6000c294f797902a11829554da27c6ae HDD True OK Healthy Auto-Select 5 GB
Questions about space allocation:
1. After creating a pool I see only 26.9GB free space. What is AllocatedSize? And where is gone also 1.6GB?
PS C:\Windows\system32> Get-StoragePool FriendlyName OperationalStatus HealthStatus IsPrimordial IsReadOnly Size AllocatedSize ------------ ----------------- ------------ ------------ ---------- ---- ------------- Primordial OK Healthy True False 70 GB 29.9 GB S2D_4 OK Healthy False False 26.9 GB 1.5 GB Primordial OK Healthy True False 70 GB 29.9 GB
2. I try to create virtual disk 3GB with mirror. I'm expecting that pool decrease by 6GB, but really footprint is 8GB
PS C:\Windows\system32> New-VirtualDisk -StoragePoolFriendlyName "S2D_4" -FriendlyName disk1 -ResiliencySettingName Mirror -NumberOfDataCopies 2 -ProvisioningType Fixed -Size 3GB FriendlyName ResiliencySettingName FaultDomainRedundancy OperationalStatus HealthStatus Size FootprintOnPool StorageEfficiency ------------ --------------------- --------------------- ----------------- ------------ ---- --------------- ----------------- disk1 Mirror 1 OK Healthy 3 GB 8 GB 37.50% PS C:\Windows\system32> Get-StoragePool FriendlyName OperationalStatus HealthStatus IsPrimordial IsReadOnly Size AllocatedSize ------------ ----------------- ------------ ------------ ---------- ---- ------------- Primordial OK Healthy True False 70 GB 29.9 GB S2D_4 OK Healthy False False 26.9 GB 9.5 GB Primordial OK Healthy True False 70 GB 29.9 GB
3. Next I try to create virtual disk 500MB with mirror. I'm expecting that pool decrease by 1000MB, but really footprint again is 8GB
PS C:\Windows\system32> New-VirtualDisk -StoragePoolFriendlyName "S2D_4" -FriendlyName disk2 -ResiliencySettingName Mirror -NumberOfDataCopies 2 -ProvisioningType Fixed -Size 500MB FriendlyName ResiliencySettingName FaultDomainRedundancy OperationalStatus HealthStatus Size FootprintOnPool StorageEfficiency ------------ --------------------- --------------------- ----------------- ------------ ---- --------------- ----------------- disk2 Mirror 1 OK Healthy 3 GB 8 GB 37.50% PS C:\Windows\system32> Get-StoragePool FriendlyName OperationalStatus HealthStatus IsPrimordial IsReadOnly Size AllocatedSize ------------ ----------------- ------------ ------------ ---------- ---- ------------- Primordial OK Healthy True False 70 GB 29.9 GB S2D_4 OK Healthy False False 26.9 GB 17.5 GB Primordial OK Healthy True False 70 GB 29.9 GB
Another question, if I try to create virtual disk from GUI, most of options are absent and I can only set name and size of new virtual disk. For example I can't set resiliency two-way mirror.
Help please, what did I do wrong?