Hot-swapping a drive

You can replace a failed drive nondisruptively in an NS224 drive shelf that is powered on, and while I/O is in progress.

Before you begin

About this task

The following video provides an overview of the physical removal and insertion portions of the drive hot-swap procedure.

Steps

  1. If you want to manually assign drive ownership for the replacement drive, you need to disable drive ownership automatic assignment if it is enabled.
    Note: You need to manually assign drive ownership if drives in the shelf are owned by both controller modules in the HA pair.
    Note: You manually assign drive ownership and then reenable drive ownership automatic assignment later in this procedure.
    1. Verify whether drive ownership automatic assignment is enabled: storage disk option show
      You can enter the command on either controller module.
      If drive ownership automatic assignment is enabled, the output shows on in the "Auto Assign" column (for each controller module).
    2. If drive ownership automatic assignment is enabled, disable it: storage disk option modify -node node_name -autoassign off
      You must disable drive ownership automatic assignment on both controller modules.
  2. Properly ground yourself.
  3. Physically identify the failed drive.
    When a drive fails, the system logs a warning message to the system console indicating which drive failed. Additionally, the attention (amber) LED on the drive shelf operator display panel and the failed drive illuminate.
    Note: The activity (green) LED on a failed drive can be illuminated (solid), which indicates that the drive has power, but should not be blinking, which indicates I/O activity. A failed drive has no I/O activity.
  4. Remove the failed drive:
    1. Press the release button on the drive face to open the cam handle.
    2. Slide the drive out of the shelf using the cam handle and supporting the drive with your other hand.
  5. Wait a minimum of 70 seconds before inserting the replacement drive.
    This allows the system to recognize that a drive was removed.
  6. Insert the replacement drive:
    1. With the cam handle in the open position, use both hands to insert the replacement drive.
    2. Push until the drive stops.
    3. Close the cam handle so that the drive is fully seated into the mid plane and the handle clicks into place.
      Be sure to close the cam handle slowly so that it aligns correctly with the face of the drive.
  7. Verify that the drive's activity (green) LED is illuminated.
    When the drive's activity LED is solid, it means that the drive has power. When the drive's activity LED is blinking, it means that the drive has power and I/O is in progress. If the drive firmware is automatically updating, the LED blinks.
  8. If you are replacing another drive, repeat step 3 through step 7.
  9. If you disabled drive ownership automatic assignment in step 1, manually assign drive ownership, and then reenable drive ownership automatic assignment if needed:
    1. Display all unowned drives: storage disk show -container-type unassigned
      You can enter the command on either controller module.
    2. Assign each drive: storage disk assign -disk disk_name -owner owner_name
      You can enter the command on either controller module.
      You can use the wildcard character to assign more than one drive at once.
    3. Reenable drive ownership automatic assignment if needed: storage disk option modify -node node_name -autoassign on
      You must reenable drive ownership automatic assignment on both controller modules.