windows-server-2016 – S2D警告:找不到用于缓存的磁盘

我有一个由2个Windows Server 2016 Datacenter组成的存储群集,配置了一个存储池,其中3个虚拟磁盘由以下物理磁盘组成.

 MediaType    : HDD FriendlyName : HP EG0900JFCKB BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : HDD FriendlyName : HP EG0900JFCKB BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : SSD FriendlyName : ATA VK0120GFDKE BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : HDD FriendlyName : HP EG0900JFCKB BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : HDD FriendlyName : HP EG0900JFCKB BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : HDD FriendlyName : HP EG0900JFCKB BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : SSD FriendlyName : ATA VK0120GFDKE BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : HDD FriendlyName : HP EG0900JFCKB BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : HDD FriendlyName : HP EG0900JFCKB BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : HDD FriendlyName : HP EG0900JFCKB BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : SSD FriendlyName : ATA VK0120GFDKE BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : HDD FriendlyName : HP EG0900JFCKB BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : HDD FriendlyName : HP EG0900JFCKB BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select
 MediaType    : SSD FriendlyName : ATA VK0120GFDKE BusType      : SAS    
 HealthStatus : Healthy Usage        : Auto-Select

当我运行Get-ClusterStorageSpacesDirect命令时,我收到以下警告:

WARNING: 2018/01 / 16-11: 11: 38.574 Node DB1: No disks found to be used for cache  
WARNING: 2018/01 / 16-11: 11: 38.580 Node DB2: No disks found to be used for cache

CacheMetadataReserveBytes: 34359738  
CacheModeHDD: ReadWrite  
CacheModeSSD: WriteOnly  
CachePageSizeKBytes: 16  
CacheState: Enabled  
State: Enabled 

我注意到,当我复制文件时,我只能达到80 – 90 MB之间的速度

为什么我得到的错误是没有为缓存找到磁盘但是CacheState和State是否已启用?
这可能是复制速度只有大约90 MB的原因吗?

谢谢您的帮助

最佳答案
您需要执行以下步骤:

1)备份您的数据.

2)禁用S2D调用Disable-ClusterS2D cmdlet.

3)清洁磁盘.您需要从此处运行脚本:

https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/hyper-converged-solution-using-storage-spaces-direct

icm(Get-Cluster -Name | Get-ClusterNode){
更新StorageProviderCache
Get-StoragePool | ? IsPrimordial -eq $false | Set-StoragePool -IsReadOnly:$false -ErrorAction SilentlyContinue
Get-StoragePool | ? IsPrimordial -eq $false | Get-VirtualDisk | Remove-VirtualDisk -Confirm:$false -ErrorAction SilentlyContinue
Get-StoragePool | ? IsPrimordial -eq $false | Remove-StoragePool -Confirm:$false -ErrorAction SilentlyContinue
Get-PhysicalDisk |重置 – PhysicalDisk -ErrorAction SilentlyContinue
Get-Disk | ?数字-ne $null | ? IsBoot -ne $true | ? IsSystem -ne $true | ? PartitionStyle -ne RAW | %{
$_ | Set-Disk -isoffline:$false
$_ | Set-Disk -isreadonly:$false
$_ | Clear-Disk -RemoveData -RemoveOEM -Confirm:$false
$_ | Set-Disk -isreadonly:$true
$_ | Set-Disk -isoffline:$true
}
Get-Disk |?数字-ne $null |? IsBoot -ne $true |? IsSystem -ne $true |? PartitionStyle -eq RAW | Group -NoElement -Property FriendlyName
} |排序-Property PsComputerName,Count

5)重新启用S2D调用Enable-ClusterS2D cmdlet.

6)恢复您的生产数据.

这应该可以解决问题.

附:在将双节点S2D集群投入生产之前要三思而后行:恢复能力并不存在,它不能承受连续第二次磁盘故障,或者在一个节点停机以进行修补或任何其他情况下的任何(节点或磁盘)故障.微软最初启动S2D有4个节点是有充分理由的,VMware vSAN在这里与S2D在同一页面上.

转载注明原文:windows-server-2016 – S2D警告:找不到用于缓存的磁盘 - 代码日志