Skip to main content

HDD Replacement

Summary

This KB explains how to use the StorONE CLI application to identify, remove and replace array drives  These commands will require the StorONE Advanced support mode password after logging into the StorONE CLI as an administrator.

Requirements

    StorONE CLI applicationArrayapplication StorONE version 3.7 and below
      For HDD replacement instructions on version 3.8 and above, see HDD Replacement (v3.8+).
      Array administration user and passwordStorONEpassword StorONE advanced support password

      Steps

      1. Identifying and ejecting the failing drive

      2. Illuminating JBOD LEDs for drive replacement

      3. Adding SED password (Optional)

      4. Adding replacement drive to pool

      5. Turning off JBOD LEDs

      Identifying and removing a failed or failing drive

      1. Using the CLI application, log into the array as an administrator.

      2. Enter the password for “advanced support mode”

      3. Enter the command: settings output --table

      4. Enter the command: resource drives list to list the status, serial number, drive ID, device name, Drive vendor, model, self encrypting drive status.  and drive firmware version  All of this information will be needed when replacing a new drive

      Example:

      demo-array1 [AdvancedSupport]> resources drives list

      image.pngimage.png

      NOTE: the Resource Status: Missing

      Enter command: setting output --tree

      Enter command: resource drives list –details –ids <drive-ID>

      Example: resource drives list –details –ids 199

      image.pngimage.png

      NOTE: This disk has a status of missing, meaning it is already ejected by the array and needs to be replaced.

      If the disk is in the process of failing and needs to be removed from the array, then illuminating the LED and physically removing the drive is recommended.  Proceed to “Illuminating LED for drive replacement” to light the correct LED to remove the drive.

      To check a drive for smart errors:

      settings output --tree

      resource drives smart –node <node-name> --driveid <drive-id>

      Example: resource drives smart –node CSE90 --driveid 198

      This will display the smart errors for the requested drive.  A range of drives can also be selected with this command

      Example: resource drives smart –node CSE90 --driveid 19[3-6]

      The above command will return smart results for drives 193 through 196.

      image.pngimage.png


      Illuminating JBOD LED for drive replacement

      To Illuminate the JBOD light for an ejected drive.

      1. resource drives led --on --driveid <drive-id>

      Example: resource drives --led --ids 213

      image.pngimage.png

      Adding SED password for replacement drive (Optional)

      If SED drives are in use, and the SED is activated, then before adding the replacement drive to a pool, we must first set the SED password for the new drive.

      How to determine if SED is in use

      setting output --tree

      nodes list --sed

      image.pngimage.png

      If the field “Is SED Password Supplied”, is “True” then the array is using some SED capable drives.

      To view the drive SED status:  resource drives list --details

      The example below shows SED enabled for the HDD drives, since we are replacing an HDD in this example, we need to initialize the SED for the new HDD

      image.pngimage.png

      To initialize the SED for the replaceme drive:

      resources drives sed initialize --driveIds <disk-id> --password <cusstomer-password> --confirmPassword <customer-password>

      Example: resource drives sed initialize --driveids 199 --password abcd1234 --confirmPassword abcd1234

      Adding replacement drive to pool

      With the SED initialized if used, we can now add the replacement drive to the existing pool.

      To verify the drive pools in use: resource drives pool list --drives

      image.pngimage.png

      Once the desired pool is identified the following command will add the drive to a pool.

      If user created (manual) drive pools are configured, the desired pool needs to be specified when approving the drive.

      resource drive approve --driveIds <drive-id> --manualPool <pool-name>

      Example:  resources drives approve --driveIds 199 --manualPool HDD-1

      Disabling JBOD LEDs after drive replacement

      Once drive replacement is completed, the drive has been initialized for SED if needed, and added to the desired pool, all that is left is to disable the JBOD LEDs used to find the drive.

      To check JBOD LED status for all drives

      resources drives led --status 

      To check LED status for a single or range of drives

      resources drives led --off --ids <drive-ids>

      To disable JBOD LEDs:

      resources drives led --off --ids <drive-id>

      Example: resources drives led --off --ids 199