Monday to Saturday 8:00–19:00, Sunday closedFree courier pickup all over Austria · drop-off point in Vienna by appointment

Business

Windows Storage Spaces: pool read-only, virtual disk detached or offline

Storage Spaces is popular on small Windows file servers because it needs no RAID controller. Its weak spot is that the layout of the data on the disks is only known to the pool metadata. If that metadata or too many disks are lost, the volume cannot simply be put back together by hand. Here is what to check, and what to avoid.

Published 3 min readBy Mirush Murataj

Cover of the RecData guide: Windows Storage Spaces: pool read-only, virtual disk detached or offline
Detached or read-only is often a protective state, not a failure: check the reason before acting.

In short

  • Detached or read-only is often a protective state, not a failure: check the reason before acting.
  • Never reset, clear or remove a physical disk from a pool that is not healthy.
  • Storage Spaces spreads data in 256 MB slabs; a recovery needs the pool metadata from the disks.

How the data is laid out

A storage pool combines physical disks. In the pool you create virtual disks (spaces) with a resiliency setting: simple, two-way or three-way mirror, or parity. Windows does not write a classic RAID pattern; it allocates the virtual disk in slabs of 256 MB, spread over the disks according to the number of columns, and records the mapping in pool metadata on every disk. That is why a recovery of a damaged space depends on reading this metadata, not on guessing a stripe pattern.

Read the state with PowerShell

As administrator, without changing anything:

  • Get-StoragePool -IsPrimordial $false | Format-List FriendlyName, OperationalStatus, HealthStatus, IsReadOnly, ReadOnlyReason
  • Get-VirtualDisk | Format-Table FriendlyName, ResiliencySettingName, NumberOfColumns, OperationalStatus, HealthStatus, DetachedReason
  • Get-PhysicalDisk | Format-Table FriendlyName, SerialNumber, OperationalStatus, HealthStatus, Usage
  • Get-StorageJob: repair or rebalance jobs that are running or stuck.

Save the output. The fields ReadOnlyReason and DetachedReason usually say why Windows protected the pool.

Common states and what they mean

StateMeaningUsual next step
Pool read-only, ReadOnlyReason "By policy"Set read-only by an administrator or after an upgradeClear the flag if the pool is otherwise healthy
Virtual disk detached, reason "By policy"IsManualAttach is set; the space waits to be attachedConnect-VirtualDisk if all disks are healthy
Virtual disk detached, "Majority disks unhealthy"Too many disks missing for the resiliency settingDo not force anything; find the missing disks
Physical disk "Lost Communication"The disk, cable, HBA or enclosure is not respondingCheck hardware; do not remove the disk from the pool
Virtual disk "No Redundancy" or "Degraded"Running without protectionBack up the data first, then replace the failed disk

Steps that destroy data

  • Reset-PhysicalDisk or Clear-Disk on a member: wipes its pool metadata and data.
  • Removing a "lost" disk from the pool while the space is degraded: Windows forgets it ever held data.
  • Creating a new pool or space on the remaining disks.
  • Running chkdsk /f or a ReFS repair on a space that is still degraded or missing disks.

After a Windows reinstall

The pool lives on the disks, not in Windows. After reinstalling the same or a newer Windows Server version, the pool usually appears in Server Manager, possibly read-only. Clear read-only and attach the virtual disk only after Get-PhysicalDisk shows all members healthy. Do not upgrade the pool version (Update-StoragePool) before the data is backed up: older systems can then no longer read it.

Example: parity space with two weak disks

A law firm in Bregenz runs a Windows Server with a parity space on five disks behind a simple HBA. One disk fails and is replaced; during the repair job a second disk reports "Lost Communication" and the virtual disk detaches with "Majority disks unhealthy". The administrator is about to remove the lost disk from the pool. Instead, all six disks, the old failed one included, are imaged. From the pool metadata on the images, the slab map of the space is rebuilt, the parity is recalculated where one disk has gaps, and the NTFS volume with eleven years of client files is extracted completely.

See server data recovery, RAID data recovery and RAID explained: what each level survives and how arrays really fail.

Frequently asked questions

Can Storage Spaces disks be read in another computer?

Yes, Windows recognises the pool on another machine with a compatible Windows version. Connect all disks, check their state, and attach read-only first if possible.

Is Storage Spaces parity like RAID 5?

Similar in effect, but the layout is managed in 256 MB slabs through pool metadata, so standard RAID tools cannot reconstruct it.

What about Storage Spaces Direct in a cluster?

The principles are the same, but data is spread across several servers. Keep every node and disk, and do not evict nodes or disks from the cluster before the data is secured.

Official sources and useful links

Is your data important?

Do not try anything that could make the fault worse. The diagnosis is free and you get a fixed quote before any work starts.

Request a free diagnosis Server data recovery

Your device has stopped responding? Switch it off and talk to us.

Calculate the cost