132
[root@localhost home]# ./storcli64 /c0/e2/s11 add hotsparedrive
CLI Version = 007.1017.0000.0000 May 10, 2019
Operating system = Linux 4.18.0-193.el8.x86_64
Controller = 0
Status = Success
Description = Add Hot Spare Succeeded.
# Add a dedicated hot spare.
[root@localhost home]# ./storcli64 /c0/e2/s8 add hotsparedrive dgs=0
CLI Version = 007.1017.0000.0000 May 10, 2019
Operating system = Linux 4.18.0-193.el8.x86_64
Controller = 0
Status = Success
Description = Add Hot Spare Succeeded.
# Delete a hot spare.
[root@localhost home]# ./storcli64 /c0/e2/s8 delete hotsparedrive
CLI Version = 007.1017.0000.0000 May 10, 2019
Operating system = Linux 4.18.0-193.el8.x86_64
Controller = 0
Status = Success
Description = Delete Hot Spare Succeeded.
Configuring emergency hot spare
Perform this task to enable emergency hot spare and configure whether to activate emergency hot
spare upon a SMART error.
Syntax
storcli64 /ccontroller_id set eghs eug=state
storcli64 /ccontroller_id
set eghs smarter=state
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.
state: Specifies the enabling status of emergency hot spare. Options include on (enabled) and off
(disabled).
Restrictions and guidelines
If multiple storage controllers exist, use the storcli64 /call show command to view the
controller ID.
Examples
# Enable emergency hot spare and allows drives to use emergency hot spare upon a SMART error.
[root@localhost storcli]# ./storcli64 /c0 set eghs eug=on
CLI Version = 007.2507.0000.0000 Feb 07, 2023
Operating system = Linux 4.18.0-193.el8.x86_64
Controller = 0
Status = Success
Description = None
Controller Properties :