Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC PowerEdge RAID Controller CLI Reference Guide

PDF

Hot spare drive commands

The following commands create and delete hot spare drives:

perccli /cx[/ex]/sx add hotsparedrive [DGs=<N|0,1,2...>][enclaffinity][nonrevertible]
perccli /cx[/ex]/sx delete hotsparedrive

NOTE: If enclosures are used to connect the physical drives to the controller, specify the enclosure ID in the command.

The detailed description for each command follows.

perccli /cx[/ex]/sx add hotsparedrive [DGs=<N|0,1,2...>] [enclaffinity] [nonrevertible]

This command creates a hot spare drive. You can use the following options to create a hot spare drive:

Table 1. Add hotsparedrive input optionsThis table lists and describes the add hotsparedrive input options.
Option Value range Description
dgs Valid drive group number Specifies the drive group to which the hot spare drive is dedicated.
enclaffinity Valid enclosure number Specifies the enclosure with which the hot spare is associated. If this option is specified, affinity is set; if it is not specified, there is no affinity.

NOTE: Affinity cannot be removed after it is set for a hot spare drive.

nonrevertible Sets the drive as a nonrevertible hotspare.

This command adds a hot spare drive.

Input example:

perccli /c0/e3/s4,5 add hotsparedrive

This command sets the drives /c0/e3/s4,5 as global hot spare.

Input example:

perccli /c0/e3/s6,8 add hotsparedrive dgs=0,1

This command sets /c0/e3/s6,8 as dedicated hot spare for disk groups 0,1.

This command deletes a hot spare drive.

Input example:

perccli /c0/e3/s4,5 delete hotsparedrive

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\