none
WSE2012 ミラーリングHDDの交換手順 RRS feed

  • 質問

  • 初めて質問いたします。

    クライアントPC4台(すべてWin7Pro)にWSE2012の組み合わせで運用しています。

    1TBのHDD2機でサーバーバックアップをミラーリング設定しています。今回、そのうちの1機に異音が発生し、完全不動となる前に交換を考えていますが、適当な説明が見つけられず、

    本フォーラムにて諸兄のご意見を頂きたく投稿します。記憶域プールの作成方法についてはweb上にたくさんの説明があるのですが、いざ故障となった時の交換方法が見当たりません。

    どうぞよろしくお願い致します。

    尚、情報不足である場合は、その旨ご指摘ください。

    2013年3月27日 6:57

回答

  • 手順としては、以下の流れになります。(PowerShellは管理者権限で実行してください)

    1. 新しい物理HDDを接続して記憶域スペースに追加
    2. Powershellから取り外したい物理HDDの属性を Retired に変更(こうすることで、記憶域プール内で使用されないHDDとなります)
    3. Powershellから記憶域プールの修復を行う(新しく追加したHDDに必要なデータが修復され、記憶域が正常になります)
    4. PowerShellから取り外したい物理HDDを削除します。

    取り外しの手順について詳細は、過去にブログで書いたことがありますので、参考になれば。

    http://satsumahomeserver.com/blog/1757

    ほぼ同様の内容ですが、FAQ(英語)にも記載があります。

    How do I replace a physical disk?

    Removing a physical disk by using Windows PowerShell
    1. Open a Windows PowerShell session as an administrator.

    2. Type the following command, replacing <diskname> with the friendly name of the disk:

      Set-PhysicalDisk -FriendlyName <diskname> -Usage Retired

      If the pool is clustered, you will need to run this command on the cluster node which has the cluster resource for the pool online.

    3. Type the following command for each storage space that depended on the old disk, replacing <virtualdiskname> with the friendly name of the storage space:

      Repair-VirtualDisk -FriendlyName <virtualdiskname>

      If the pool is clustered, run this command on the cluster nodes that have the individual storage spaces’ cluster resource online and then run it again on the cluster node that has the pool’s cluster resource online.

    4. Prior to performing step 5, you must wait for all active repair jobs to complete. To monitor the status of repair jobs, type the following command:

      Get-StorageJob
    5. Type the following command:

      Remove-PhysicalDisk -FriendlyName <diskname> 
    6. Physically disconnect the old disk.



    ださっち
    Microsoft MVP for Server Solutions - Windows Home Server
    薩摩藩中仙道蕨宿別邸 http://satsumahan.blog40.fc2.com/
    ・参考になった/解決のヒントになった投稿には「回答としてマーク」をつけましょう。
    ・後から参照する人のためにも、質問した内容について解決した場合は、必ず「回答としてマーク」をお願いします。



    2013年3月29日 12:50

すべての返信

  • 手順としては、以下の流れになります。(PowerShellは管理者権限で実行してください)

    1. 新しい物理HDDを接続して記憶域スペースに追加
    2. Powershellから取り外したい物理HDDの属性を Retired に変更(こうすることで、記憶域プール内で使用されないHDDとなります)
    3. Powershellから記憶域プールの修復を行う(新しく追加したHDDに必要なデータが修復され、記憶域が正常になります)
    4. PowerShellから取り外したい物理HDDを削除します。

    取り外しの手順について詳細は、過去にブログで書いたことがありますので、参考になれば。

    http://satsumahomeserver.com/blog/1757

    ほぼ同様の内容ですが、FAQ(英語)にも記載があります。

    How do I replace a physical disk?

    Removing a physical disk by using Windows PowerShell
    1. Open a Windows PowerShell session as an administrator.

    2. Type the following command, replacing <diskname> with the friendly name of the disk:

      Set-PhysicalDisk -FriendlyName <diskname> -Usage Retired

      If the pool is clustered, you will need to run this command on the cluster node which has the cluster resource for the pool online.

    3. Type the following command for each storage space that depended on the old disk, replacing <virtualdiskname> with the friendly name of the storage space:

      Repair-VirtualDisk -FriendlyName <virtualdiskname>

      If the pool is clustered, run this command on the cluster nodes that have the individual storage spaces’ cluster resource online and then run it again on the cluster node that has the pool’s cluster resource online.

    4. Prior to performing step 5, you must wait for all active repair jobs to complete. To monitor the status of repair jobs, type the following command:

      Get-StorageJob
    5. Type the following command:

      Remove-PhysicalDisk -FriendlyName <diskname> 
    6. Physically disconnect the old disk.



    ださっち
    Microsoft MVP for Server Solutions - Windows Home Server
    薩摩藩中仙道蕨宿別邸 http://satsumahan.blog40.fc2.com/
    ・参考になった/解決のヒントになった投稿には「回答としてマーク」をつけましょう。
    ・後から参照する人のためにも、質問した内容について解決した場合は、必ず「回答としてマーク」をお願いします。



    2013年3月29日 12:50
  • ださっち様

    ご回答ありがとうございます。

    参考になればと思い、ださっち様のブログは精査したつもりでしたが、不十分だったようです。

    上記回答を参考に問題可決を図りたいと思います。

    解決途上で又ご質問をするかもしれません。よろしくお願い致します。

    個人的には、WHS2011頃からサーバー管理の垣根が下がったのではと運用を開始したのですが、将来を見据えてWSE2012に置き換えてからというもの、

    そのハードルの高さにおののく毎日です。

    新米サーバー管理者ですが今後も宜しくお願いします。

    2013年4月1日 2:57
  • Mizushibukiです。

    ださっち様にご意見をいただき、HDDの入れ替えが成功いたしましたのでご報告いたします。

    ご提示いただいた手順通りに進めたところ、なんの問題なく完了いたしました。 

    尚、取り外したHDDを別途クライアントで確認したところ全く問題なく動作しており、HDDの異音発生の原因究明に手間取りました。

    結果として、自作したPCのATX電源が不安定だったようで、電源の入れ替えを行ったところ取り外したHDDがすべて正常に認識され、且つ、異音発生もありません。

    記憶域プールを新規作成しても、全く問題なく稼働しています。

    ハード面における電源の重要性を再認識したトラブルでした。

    ださっち様 ありがとうございました。

    2013年4月3日 5:09