다음을 통해 공유


Modifying a Storage Pool that has a Read-Only Configuration

This topic discusses how to modify a storage pool that has a read-only configuration on a computer running Windows Server 2012 R2 or Windows Server 2012.
If you try to use Server Manager to extend, rename or delete a virtual disk in a storage pool that has a read-only configuration, you receive one of the following error messages:

  • Error deleting virtual disk: failed to find a server that has Read-Write access to this storage pool.
  • Error deleting virtual disk: The storage pool could not complete the operation because its configuration is read-only.

The first error can occur if Server Manager has outdated information about the storage pool. If that's the case, refreshing Server Manager should resolve the issue. However, if refreshing doesn't fix the problem, it's likely because the storage pool has become read-only. This can occur if the storage pool pool loses its “quorum”, which means that the majority of disks in the pool have failed or are offline for some reason. When a pool loses its quorum, Storage Spaces automatically sets the pool configuration to read-only until enough disks become available again.

When the quorum is lost, Storage Spaces also sets the pool to read-only access, which means that the computer can only read data from the pool. A storage pool can be set to read-only access for the following reasons:

  • The pool loses its quorum
  • The pool is removed from its cluster resource group
  • An administrator uses Windows PowerShell to set the pool to read-only access
  • Windows is reinstalled

Set a storage pool to read-write access

You can use the following procedure to configure the storage pool for read-write access, permitting data to be written to virtual disks in the pool.

On the Storage Pools page of Server Manager, right-click the storage pool, click Set Read-Write Access, and then select the appropriate server. The Set Read-Write Access option is available only on a pool that is currently set to read-only access. (In the case of a shared pool, the option is shown only if the pool has read-only access on all the nodes in Server Manager’s management list.)

Note

To set a storage pool to read-write access by using Windows PowerShell, type Get-StoragePool <PoolName> | Set-StoragePool -IsReadOnly $false

Deleting a storage pool that has a read-only configuration

To delete a storage pool that has a read-only configuration, use the following procedure.

  1. Set the pool to read-write access (as described in the Set a Storage Pool to Read-Write Access section).
  2. Backup the data on any existing virtual disks in the pool and then delete the virtual disks. If you cannot delete the virtual disks, you must use Windows PowerShell to remove the storage pool.
  3. On the Storage Pools page of Server Manager, right-click the storage pool and then click Delete Storage Pool.

To delete a storage pool that has a read-only configuration from an elevated Windows PowerShell window, type the following:

Get-StoragePool <_PoolName_>| Remove-StoragePool

See Also

Storage Spaces Frequently Asked Questions (FAQ)
Storage Cmdlets in Windows PowerShell