131
Usage guidelines
If multiple storage controllers exist, use the storcli64 /call show command to obtain a
controller ID.
Examples
# Import external configuration.
[root@localhost home]# ./storcli64 /c0/fall import
CLI Version = 007.1017.0000.0000 May 10, 2019
Operating system = Linux 4.18.0-193.el8.x86_64
Controller = 0
Status = Success
Description = Successfully imported foreign configuration
# Delete external configuration.
[root@localhost home]# ./storcli64 /c0/fall del
CLI Version = 007.1017.0000.0000 May 10, 2019
Operating system = Linux 4.18.0-193.el8.x86_64
Controller = 0
Status = Success
Description = Successfully deleted foreign configuration
Configuring hot spare drives
Perform this task to add hot spare drives for a redundant RAID array.
Syntax
storcli64 /ccontroller_id/eenclosure_id/sslot_id add hotsparedrive
storcli64 /ccontroller_id/eenclosure_id/sslot_id add hotsparedrive
dgs=drive_group
storcli64 /ccontroller_id/eenclosure_id/sslot_id delete hotsparedrive
Default
If you do not specify the dgs keyword for an add operation, the command adds a global hot spare.
Parameters
controller_id: Specifies the ID of a storage controller. If only one storage controller exists, the
ID is 0 by default. If multiple storage controllers exist, use the
storcli64 /call show command
to view the controller ID.
enclosure_id: Specifies the enclosure ID.
slot_id: Specifies the ID of the physical drive slot.
drive_group: Specify the drive group ID.
Usage guidelines
If multiple storage controllers exist, use the storcli64 /call show command to obtain a
controller ID.
Hot spare disks must use consistent interface protocols as the member drives of the RAID
array, and must have higher or the same capacity as the member drives.
Examples
# Add a global hot spare.