トップ回答者
OS破損時の記憶域プールの修復・移行

質問
-
回答
-
結論からすると、ご期待通りの挙動となります。
記憶域スペース/記憶域プールでは、スペース/プールの構成情報は全て物理HDDに保存されています。従って、OS再インストール後に記憶域プールを構成していた物理HDDを"全て"接続すれば、元の状態でOSに認識されます。
参考:Storage Spaces Frequently Asked Questions (FAQ) より引用
What happens to Storage Spaces when moving physical disks between servers?
Storage Spaces records information about pools and storage spaces on the physical disks that compose the storage pool. Therefore, your pool and storage spaces are preserved when you move an entire storage pool and its physical disks from one computer to another.
Windows Server 2012 starts storage that could potentially be shared with a cluster in a safe state. For Storage Spaces, that means the first time Windows connects to a storage pool, the pool starts as read-only and the storage spaces will start in a detached state. To access your data, you must set the storage pool to read-write and then attach the storage spaces.
These steps do not apply to Windows 8 – storage pools start as read-write and storage spaces start as attached.
ただし、上記の引用文にあるとおりWindows Server 2012の場合は以下の2点について対処が必要になる場合があります(Windows 8 の場合は不要)。
- 記憶域プールが読み取り専用になっている
Windows Server 2012に記憶域プールで利用していた物理HDDを接続すると、記憶域プールを認識しますが、プールが読み取り専用になっている場合があります。
記憶域プールが読み取り専用になっているかどうかを確認するには、PowerShellで以下のcmdletを実行してください。
Get-StoragePool {記憶域プールのフレンドリーネーム}
例えば、記憶域プールに「記憶域プール」という名前を付けている場合、以下のようになります。(記憶域プールのフレンドリーネームは省略可能です。省略すると、全ての記憶域プールの一覧が表示されます。)
「IsReadOnly」がTrueになっている場合、PowerShellを管理者権限で実行して以下のcmdletを実行することで、読み書き可能に変更してください。
Get-StoragePool | Where-Object {$_.IsReadonly –eq $True } | Set-StoragePool –IsReadonly $False
- 記憶域スペースが手動アタッチになっている。
PowerShellのから以下のcmdletを実行して、仮想ディスクの IsManualattach の値を確認してください。
Get-VirtualDisk {記憶域のフレンドリーネーム}
(記憶域のフレンドリーネームは省略可能です。省略すると、全ての記憶域の一覧が表示されます。)
IsManualAttachの値がTrueの場合、自動アタッチするように設定を変更する必要があります。
PowerShellを管理者権限で実行し、以下のcmdletを実行してください。
Get-VirtualDisk | Where-Object {$_.IsManualAttach –eq $True} | Set-VirtualDisk –IsManualAttach $False
以上が完了したら、フォルダー/ファイルへのアクセス権を再度設定しなおすことで、ファイルへのアクセスが可能になります。
ださっち
Microsoft MVP for Server Solutions - Windows Home Server
薩摩藩中仙道蕨宿別邸 http://satsumahan.blog40.fc2.com/
・参考になった/解決のヒントになった投稿には「回答としてマーク」をつけましょう。
・後から参照する人のためにも、質問した内容について解決した場合は、必ず「回答としてマーク」をお願いします。
- 編集済み Masahiko SadaMVP 2012年11月23日 10:33
- 回答としてマーク rym3 2012年11月24日 11:30
- 記憶域プールが読み取り専用になっている
すべての返信
-
結論からすると、ご期待通りの挙動となります。
記憶域スペース/記憶域プールでは、スペース/プールの構成情報は全て物理HDDに保存されています。従って、OS再インストール後に記憶域プールを構成していた物理HDDを"全て"接続すれば、元の状態でOSに認識されます。
参考:Storage Spaces Frequently Asked Questions (FAQ) より引用
What happens to Storage Spaces when moving physical disks between servers?
Storage Spaces records information about pools and storage spaces on the physical disks that compose the storage pool. Therefore, your pool and storage spaces are preserved when you move an entire storage pool and its physical disks from one computer to another.
Windows Server 2012 starts storage that could potentially be shared with a cluster in a safe state. For Storage Spaces, that means the first time Windows connects to a storage pool, the pool starts as read-only and the storage spaces will start in a detached state. To access your data, you must set the storage pool to read-write and then attach the storage spaces.
These steps do not apply to Windows 8 – storage pools start as read-write and storage spaces start as attached.
ただし、上記の引用文にあるとおりWindows Server 2012の場合は以下の2点について対処が必要になる場合があります(Windows 8 の場合は不要)。
- 記憶域プールが読み取り専用になっている
Windows Server 2012に記憶域プールで利用していた物理HDDを接続すると、記憶域プールを認識しますが、プールが読み取り専用になっている場合があります。
記憶域プールが読み取り専用になっているかどうかを確認するには、PowerShellで以下のcmdletを実行してください。
Get-StoragePool {記憶域プールのフレンドリーネーム}
例えば、記憶域プールに「記憶域プール」という名前を付けている場合、以下のようになります。(記憶域プールのフレンドリーネームは省略可能です。省略すると、全ての記憶域プールの一覧が表示されます。)
「IsReadOnly」がTrueになっている場合、PowerShellを管理者権限で実行して以下のcmdletを実行することで、読み書き可能に変更してください。
Get-StoragePool | Where-Object {$_.IsReadonly –eq $True } | Set-StoragePool –IsReadonly $False
- 記憶域スペースが手動アタッチになっている。
PowerShellのから以下のcmdletを実行して、仮想ディスクの IsManualattach の値を確認してください。
Get-VirtualDisk {記憶域のフレンドリーネーム}
(記憶域のフレンドリーネームは省略可能です。省略すると、全ての記憶域の一覧が表示されます。)
IsManualAttachの値がTrueの場合、自動アタッチするように設定を変更する必要があります。
PowerShellを管理者権限で実行し、以下のcmdletを実行してください。
Get-VirtualDisk | Where-Object {$_.IsManualAttach –eq $True} | Set-VirtualDisk –IsManualAttach $False
以上が完了したら、フォルダー/ファイルへのアクセス権を再度設定しなおすことで、ファイルへのアクセスが可能になります。
ださっち
Microsoft MVP for Server Solutions - Windows Home Server
薩摩藩中仙道蕨宿別邸 http://satsumahan.blog40.fc2.com/
・参考になった/解決のヒントになった投稿には「回答としてマーク」をつけましょう。
・後から参照する人のためにも、質問した内容について解決した場合は、必ず「回答としてマーク」をお願いします。
- 編集済み Masahiko SadaMVP 2012年11月23日 10:33
- 回答としてマーク rym3 2012年11月24日 11:30
- 記憶域プールが読み取り専用になっている