Mirror Repair for Orphan

From Pro/Wiki

The term "orphan" refers to a failed hard disk in a raid. Since the failed disk is no longer a part of the raid array, it becomes an orphan (so to speak) and is marked JBOD_BROKEN by the operating system.

  • 1. Remove the failed disk and backup your data. (Although data should remain intact during the repair process, data backup is strongly recommended as a safety measure.)
  • 2. After installing the replacement disk, execute the following command from the ipaddress/config/debug web page.
    • co de format 100DD /reinit
    • (Note: DD is the number of the replacement disk. After reboot, this configures 100DD as a SINGLE drive and FORMATS it.)
  • 3. Reboot the Snap server.
  • 4. After the replacement disk is formatted, execute this command from the ipaddress/config/debug page:
    • co de config mirror 100SS 100DD
    • where SS is the source disk, DD is the destination disk.
    • (This step mirrors the drive with data to the drive without data.)
  • 5. Reboot the Snap. If everything works according to plan, the View Disk Status page should report 'Rebuilding backup disk' when it comes back online. Depending on the size of the disks and data, the rebuilding process may take a few hours.

Note: This only works for the same size drives. If your destination disk has a larger size, after step 3 you will need to break the mirror into single disks as noted below.

  • 3a. Execute this command from the ipaddress/config/debug page:
    • co de config individual 10000 10010
  • 3b. Reboot the Snap server.
  • 3c. Proceed to step 4 above.
    • (With this option, the usable size of the mirrored disks will be reduced to the size of the smallest drive in the set.)
  • To avoid the loss of disk capacity, skip step 3c and do the following:
  • 3d. Manually copy non-system files and folders from the source disk to the replacement disk. Alternatively, restore the backup files to the replacement disk.
    • (That's where step 1 becomes handy!)
  • 3e. Power off the Snap and remove the source disk.
  • 3f. Move the replacement disk to the top position (ID 10000).
  • 3g. In the bottom slot (ID 10010) install a new disk of the same size as the top disk.
    • (The disk in the bottom slot is now your replacement (destination) disk.)
  • 3h. Turn the Snap on and execute the following command from the ipaddress/config/debug web page:
    • co de format 10010 /reinit
  • 3j. Reboot the Snap server and then proceed to step 4 above.