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:
| 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:[terminal]perccli /c0/e3/s4,5 add hotsparedrive[/terminal] This command sets the drives /c0/e3/s4,5 as global hot spare.
Controllare l’attuale configurazione del controller c0[terminal]cd /opt/lsi/perccli
./perccli /c0 show all[/terminal]

Il comando seguente aggiunge il disco s10 enclosure e32 controller c0 come hotspare del diskgroup dgs=1[terminal]./perccli /c0/e32/s10 add hotsparedrive dgs=1[/terminal]

Controllare nuovamente la configurazione del controller c0 dopo le modifiche apportate[terminal]./perccli /c0 show all[/terminal]







