IBM Support

How to replace a failed SAS disk (pdisk) in a RAID 0 array

How To


Summary

This document shows the step-by-step procedure to replace a failed SAS disk (pdisk) that is part of a RAID 0 array.

When you replace a failed pdisk that is a member of a RAID 0 array, there are some additional steps necessary that need to be done. The extra steps are needed since the removal or replacement of a disk in a RAID 0 array always results in the destruction of all of the data in the array. So here is some information that can be of assistance in cases where the replacement of a failed pdisk is required.

A pdisk that is a member of a RAID 0 array cannot be replaced via the diag Hot Plug Task (It fails with device busy) since replacing the pdisk destroys all data in the array.
So to accomplish the replacement one must first delete the array via the diag menus. This array deletion accomplishes two things:
1) It instructs the adapter firmware to delete the array; and
2) It removes the hdisk device name associated with it from the ODM.

Steps

RAID 0 disk replacement steps:

STEP 1: Delete the RAID-0 Array:
NOTE: Deleting RAID array causes the data on that RAID array to be destroyed.
Use utmost care when you select which RAID array to delete.
  • Enter diagnostics menu by entering "diag" command.
  • Select option "Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)"
  • Select option "RAID Array Manager"
  • Select option "IBM SAS Disk Array Manager"
  • Select option "Delete a SAS Disk Array"
  • Select the appropriate controller from the list of available controllers.
  • Select the appropriate SAS Disk Array to delete the array.
  • Follow the prompts and press Enter at the last screen.
STEP 2: Replace the failed disk:
Use the following steps:
  • Enter diagnostics menu by entering "diag" command. (If you are not already in that menu)
  • Select option "Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)"
  • Select option "RAID Array Manager"
  • Select option "IBM SAS Disk Array Manager"
  • Select option "Diagnostics and Recovery Options".
  • Select option "SCSI and SCSI RAID Hot Plug Manager".
  • Select option "Identify a Device Attached to an SCSI Hot Swap Enclosure Device".
  • Choose the slot corresponding to the pdisk. The visual indicator on the device flashes at the Identify rate. This step assists the IBM service representative to identify the appropriate drive.
  • Select the option "Replace/Remove a Device Attached to an SCSI Hot Swap Enclosure Device". The visual indicator on the device flashes at the Remove rate. This step also assists the IBM service representative to identify the appropriate drive.
  • Have the IBM service representative identify the disk with LED flashing at Remove Rate and replace the disk.
  • Exit out of the Smitty menu
  • Run cfgmgr. Check the status of the disk by using the following command:
    # sissasraidmgr -Ll sissasX -j3 (Replace X with appropriate sissas adapter number)
STEP 3: Create the RAID 0 array on the replace disk:
Once the disk is replaced, create the RAID 0 array
  • See whether
  • The new disk is an Array Candidate or not in the sissasraidmgr -Ll sissasX -j3 output.
  • If the disk is NOT an Array Candidate, use the following steps to make it an Array Candidate.
    • Enter diagnostics menu by entering "diag" command. (If you are not already in that menu)
    • Select option "Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)"
    • Select option "RAID Array Manager"
    • Select option "IBM SAS Disk Array Manager"
    • Select option "Create an Array Candidate pdisk and Format to RAID block size"
    • Select the appropriate controller from the list of available controllers.
    • Select the appropriate SAS Disk (pdisk) that needs to be formatted as an Array Candidate.
    • The format of the pdisk starts and the status bar with Format in progress can be seen.
  • If the disk is already an Array Candidate, the preceding steps used to create an Array Candidate can be skipped
  • Create RAID 0 array with the following instructions:
    • From the IBM SAS DISK ARRAY MANAGER menu, Select option "Create a SAS Disk Array"
    • Select the appropriate controller from the available list of controllers.
    • Select a RAID level
    • Select a Stripe Size. The recommended stripe size is identified on the screen when you create the disk array.
    • Select the disks that you want to create a RAID array on. In this case, it would be the disk that was replaced
    • Check the status of the RAID array creation by using the following command:
      # sissasraidmgr -Ll sissasX -j3 (Replace X with appropriate sissas adapter number)

Document Location

Worldwide

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"Component":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
26 March 2020

UID

ibm11274560