Skip to main content
OpenEye Knowledge Base

Raid Maintenance (Linux OS)

Follow these steps to repair a Linux-based recorder with RAID1 or RAID5 array failure(s):

Repair a RAID1 Array:

  1. Identify the Drive in the Console
    1. Log in to the local console
    2. Go to Setup > Support Tools and click Launch Support Tools
    3. Click on the Terminal icon
    4. From the terminal type in cat /proc/mdstat and hit Enter to view RAID1 status - 



      Note:   Both storage devices are listed: md126 is the container, and md127 is the root storage.
      Note:   [2/2] [UU] indicates both drives are present and active. [2/1] [_U] indicates one drive is missing and the RAID1 array is in a Degraded state.
       
    5. To Identify which drive needs to be swapped out, enter the following command: lsblk -o NAME,MODEL,SERIAL,WWN,HCTL



      Note: A RAID1 array should include two identical drives: sda and sdb
       
    6. Record the serial number of the listed drive
    7. Exit Support Tools and login. Go to Setup > Power Options and click Power Off
       
  2. Replace the Failed Drive
    1. Disconnect the power cord from the console and remove the chassis lid
    2. Locate the drives labeled 0 (zero) and 1 (one) on the SATA cables; disconnect the power and SATA cables and remove the drives.
    3. Check the serial number of each drive; the drive with the serial number matching the serial number you recorded should be reinstalled and the other drive should be replaced with an identical uninitialized drive.
    4. Reinstall the lid and reconnect the power cable.
       
  3. Use the Configuration Utility
    1. Press CTRL+I to enter the configuration utility. A banner will report the degraded volume


       
    2. Select the replacement drive to begin the rebuild


       
    3. Exit configuration utility
       
  4. Use BIOS
    1. Press DEL to enter BIOS for setup
    2. Enter password: dvr4321
    3. Select Intel® Rapid Storage Technology



      Note: The menu location of Intel RST may differ between motherboards
       
    4. Select degraded volume


       
    5. Select rebuild then select the replacement drive


       
    6. Save and exit BIOS
       
  5. Confirm Rebuild
    1. Log back in to the console
    2. Go back to Setup > Support Tools and click Launch Support Tools
    3. From the terminal, type cat /proc/mdstat and hit enter to view the raid1 status which will display the time to complete the rebuild process

      Note: Depending on the RAID size, the rebuild for the boot OS array should take approximately 15 minutes
       
    4. Allow the system to rebuild the array


       
    5. Once completed, the raid1 status will be "Normal"
       

Repair a RAID5 Array:

  1. Log in to the console
  2. Go to Setup > Support Tools and click Launch Support Tools
  3. Click on the Browser icon
  4. in the address bar, enter http://127.0.0.1:81 and log in using default credentials

    Note: Default username is admin and password is 0000
     
  5. Click or Expand SAS/SATA RAID controllers and select the system's controller


     
  6. The card configuration/status page will display the volume state of the array and list any failed drive in the Devices column



    Note: Any disk in need of replacement will be listed as "Failed." An audible beep and a red light will indicate a failed disk


     
  7. To mute audio beeper, expand System Controls and click View Event/Mute Beeper



    Note: Muting the beeper will display a log page with failure details


     
  8. Remove failed drive and install an uninitialized drive of identical make and model

    Note: Array rebuild starts as soon as drive spins up and could take hours or days dependent on the size and activity of the array
    Note: If rebuild does not automatically start see next section on how to Create a Hot Spare

  9. When the rebuild is finished, the Volume State displays as "Normal"

 

Create a Hot Spare:

Follow these steps if the automatic rebuild does not trigger after installing the replacement drive:

  1. Click RAID Set Functions
  2. Click Create Hot Spare
  3. Select the drive
  4. Select Global For All
  5. Click the Confirm the Operation checkbox and click Submit

  • Was this article helpful?