spare
Usage
spare [-a <action>]
spare -a list [-i <SpareId>] [-d <PoolId>] [-v]
spare -a add [-i <SpareId>] -p <PdId> [-t g|d] [-r y|n] [-d <PoolId list>] [-s “<list of settings>”]
spare -a del -i <SpareId>
Summary
Spare is the command used to display all hot spare drives as well as to create and delete hot spare drives.
A Global hot spare is the most generic form. A global hot spare drive can replace any drive from a pool of equal
size or less.
A dedicated hot spare is a spare drive that has been assigned specically to one or more pools. It is used to
replace only drives that are in these assigned pools. If a drive is marked ofine that was not in one of the assigned
pools, the dedicated spare will not replace that drive. This feature can used for prioritizing pools which may have
a greater need to survive disk failures.
Options
-a <action> Species the action to perform.
list (Default) Displays a list of hot spare drives.
add Adds new hot spare drives.
del Deletes a hot spare drive.
-i <Spare Id> Species the ID of the spare drive.
-p <PD ID> Species the ID of the physical drive. Requires the -a add option to
congure a drive as a spare.
-d <POOL ID or POOL ID List> When used with -a list, it is used to specify a pool id. The result of the list
will be the global spares and the dedicated spares to this pool. When used
with other actions, it is used to specify the ids list of the pools to which the
spare is dedicated.
283
Promise Technology
Managing with CLI