Use the hddlocate command to manage the LED status of hard disk drive.
The hddlocate command is only supported in the ThinkServer/WenTian/KaiTian systems.
hddlocate command syntax
OneCli.exe [misc] hddlocate <command> [options...]
Table 1. hddlocate commandsCommand | Syntax example | Description |
---|
show | OneCli.exe [misc] hddlocate show [--bmc|-b <arg>] [--check-trust|-C] [--never-check-trust|-N] [--quiet|-q] [--slot|-S <int>] [--bmc-username|-u <arg>] [--bmc-password|-w <arg>] [--bmc-rest-port|-p <int>] [--output|-o <arg>] [--nolog] [--config <arg>] [--help|-h]
| Show the LED status of hard disk drive. |
turnon | OneCli.exe [misc] hddlocate turnon [--bmc|-b <arg>] [--check-trust|-C] [--never-check-trust|-N] [--quiet|-q] [--slot|-S <int>] [--bmc-username|-u <arg>] [--bmc-password|-w <arg>] [--bmc-rest-port|-p <int>] [--output|-o <arg>] [--nolog] [--config <arg>] [--help|-h]
| Turn on the LEDs of the hard disk drive and set them to blink by disk slot number. |
turnoff | OneCli.exe [misc] hddlocate turnoff [--bmc|-b <arg>] [--check-trust|-C] [--never-check-trust|-N] [--quiet|-q] [--slot|-S <int>] [--bmc-username|-u <arg>] [--bmc-password|-w <arg>] [--bmc-rest-port|-p <int>] [--output|-o <arg>] [--nolog] [--config <arg>] [--help|-h]
| Turn off the LEDs of the hard disk drive by disk slot number. |
Table 2. hddlocate command specific parametersParameter | Required/Optional | Notes |
---|
--slot | Optional | Specify the slot number of the target hard disk drive for the LED status management. |
--bmc, -b --check-trust, -C --config --never-check-trust, -N --nolog --output, -o
| Optional | Refer to Table 2. |
Example of the hddlocate command
OneCli.exe hddlocate turnon --slot 1 -b USERID:PASSW0RD@xxx.xxx.xxx.xxx