| Previous | Next |
| ERROR_SPACES_ENCLOSURE_AWARE_INVALID | ERROR_SPACES_NUMBER_OF_GROUPS_INVALID |
ERROR_SPACES_WRITE_CACHE_SIZE_INVALID
WriteCacheSize configures Storage Spaces write-back cache, not the OS file cache
ERROR_SPACES_WRITE_CACHE_SIZE_INVALID means the requested cache size falls outside the provider's valid range for this pool and layout. Storage Spaces can choose a write-back cache automatically based on media and configuration; explicit values are constrained by available cache/journal resources.
The setting is not equivalent to a disk's hardware cache, the Windows system cache, or application buffering. A value that worked in another pool may fail when media types, parity, journal disks, or default policies differ.
Diagnose the cache resource separately
- Read the pool's write-cache defaults before supplying an explicit size.
- Confirm that sufficient eligible SSD or journal capacity exists.
- Check whether the virtual disk uses Simple, Mirror, or Parity resiliency.
- Use
Autoor omit the override to observe provider-selected behavior. - Record whether the requested value is bytes and whether zero has special semantics.
- Do not disable drive write-cache policies as a substitute for fixing this parameter.
References
- Microsoft: CreateVirtualDisk WriteCacheSize
- Microsoft: New-VirtualDisk write-back cache
- Microsoft: Storage Spaces overview
Looking for a different code? Search another status or error code.