Skip to main content
ONTAP Select

Replace failed software RAID drives for ONTAP Select

Contributors dmp-netapp netapp-cgoff netapp-pcarriga

When a drive using software RAID fails, ONTAP Select assigns a spare drive if one is available and starts the rebuild process automatically. This is similar to how ONTAP works on FAS and AFF. However if no spare drive is available, you need to add one to the ONTAP Select node.

Note Both the removal of the failed drive and the addition of a new drive (marked as a spare) must be performed through ONTAP Select Deploy. Attaching a drive to the ONTAP Select VM using vSphere is not supported.

Identify the failed drive

When a drive fails you need to use the ONTAP CLI to identify the failed disk.

Before you begin

You must have the VM ID of the ONTAP Select virtual machine, as well as the ONTAP Select and ONTAP Select Deploy administrator account credentials.

About this task

You should only use this procedure when the ONTAP Select node is running on KVM and configured to use software RAID.

Steps
  1. At the ONTAP Select CLI, identify the disk to be replaced:

    1. Identify the disk by serial number, UUID, or target address in the virtual machine.

      disk show -fields serial,vmdisk-target-address,uuid
    2. Optionally, display a complete list of the spare disk capacity with the partitioned disks.
      storage aggregate show-spare-disks

  2. At the Linux command line interface, locate the disk.

    1. Examine the system devices, searching for the disk serial number or UUID (disk name):

      find /dev/disk/by-id/<SN|ID>
    2. Examine the virtual machine configuration, searching for the target address:

      virsh dumpxml VMID

Remove the failed drive

After you identify the drive that failed, remove the disk.

You can detach a disk from a KVM host as part of replacing the disk or when it is no longer needed.

Before you begin

You must have the ONTAP Select and ONTAP Select Deploy administrator account credentials.

Steps
  1. Sign in to the Deploy utility web user interface using the administrator account.

  2. Select the Clusters tab at the top of the page and select the desired cluster from the list.

  3. Select + next to the desired HA pair or node.

    If the option is disabled, Deploy is currently refreshing the storage information.

  4. Select Edit Storage on the Edit Node Storage page.

  5. Deselect the disks to be detached from the node, enter the ONTAP administrator credentials, and select Edit Storage to apply the changes.

  6. Select Yes to confirm the warning in the popup window.

  7. Select the Events tab for the cluster to monitor and confirm the detach operation.

    You can remove the physical disk from the host if it is no longer needed.

Add the new spare drive

After you remove the failed drive, add the spare disk.

Attaching a disk using Deploy

You can attach a disk to a KVM host as part of replacing a disk or to add more storage capacity.

Before you begin

You must have the ONTAP Select and ONTAP Select Deploy administrator account credentials.

The new disk must be physically installed on the KVM Linux host.

Steps
  1. Sign in to the Deploy utility web user interface using the administrator account.

  2. Select the Clusters tab at the top of the page and select the desired cluster from the list.

  3. Select + next to the desired HA pair or node.

    If the option is disabled, Deploy is currently refreshing the storage information.

  4. Select Edit Storage on the Edit Node Storage page.

  5. Select the disks to be attached to the node, enter the ONTAP administrator credentials, and select Edit Storage to apply the changes.

  6. Select the Events tab to monitor and confirm the attach operation.

  7. Examine the node storage configuration to confirm that the disk is attached.