You are here

How to replace a failed disk

Affects product: 
Airlock WAF
Affects version(s): 
4.2 all versions

 

Detection of a failed disk

A disk failure can be detected on different ways.

... over Log Viewer (or if configured sent over syslog) with the following log message:

Dec 30 11:36:55 airlock System Health ds_check[14479]: [ID 702911 user.error] m:SY-dschk-400 c:H : DISK needs REPLACE c1t0d0


... or over the Configuration Center with the following alert:

Under "System Admin" in the block "Disk Mirroring" one can see the state of the disk synchronisation. In case of disk failure it looks like follows:


Replace a failed disk

To replace a failed disk, follow these steps:

  • remove the failed disk
    Important: do NOT shut down your system, do it online
  • insert the new disk
  • login to the Configuration Center
  • after login go to "System Admin" and start the resynchronisation process by clicking the "Resync" button. Then the Disk Mirroring State should change to:

    If the resynchronisation does not start properly (maybe the state changes to "Disk failed"), reboot the system then start the resynchronisation process again.
  • logout of the Configuration Center

To check if the new disk is successfully replaced and synchronized, do the following:

  • login to the Configuration Center. As soon the Disk Mirroring State has changed to "OK. Disks are in sync.", the synchronisation was successfully.
  • to be sure, login to the console with the user "root" and use the command metastat to view the disk state. You should see something like:
    root@airlock:/[501] # metastat
    d50: Mirror
    Submirror 0: d51
    State: Okay
    Submirror 1: d52
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 55119015 blocks (26 GB)

    d51: Submirror of d50
    State: Okay
    Size: 55119015 blocks (26 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1d0s5 0 No Okay Yes

    d52: Submirror of d50
    State: Okay
    Size: 55119015 blocks (26 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c2d0s5 0 No Okay Yes
    ...
    ...
    ...
    State of the corresponding disk should be "Okay" or "Resyncing".
  • to see the progress of synchronisation use the command:

    # metastat | grep progress
Knowledge Base Categories: