Scanning RAIDs and Drives, LED Indication
The scanner mechanism is used to monitor the statuses of RAIDs and drives:
- RAID statuses;
- RAID drives;
- automatic drive LED indication.
To manually control the LED indication, use the drive locate command (see description and examples below in this chapter).
The scanner command
The service, which runs in the system, automatically manages the indication of failed and working drives and creates corresponding messages in the log file.
To manage RAIDs monitoring, the LED indication and drive SMART settings, run
# xicli settings scanner modify <args>
When you change any parameter of the xicli settings scanner modify command, the xiraid-scanner.service restarts.
At least one argument is required |
||
-spi |
--scanner_polling_interval |
The polling interval for xiRAID Classic RAIDs and drives in seconds. The parameter affects the auto-start delay for the RAID initialization, reconstruction, and restriping. Possible values: integers from 1 to 3600 (1 hour). The default: 1. |
-spi |
--smart_polling_interval |
S.M.A.R.T. drive health polling interval, in seconds. Possible values: integers from 60 to 86400 (24 hours). The default: 86400. |
-le |
--led_enabled |
Enable (1) or disable (0) the automatic LED indication of drives in the system. The default: 1. The argument doesn’t affect manual LED indication. |
Example: Disable automatic LED indication of drives:
# xicli settings scanner modify --led_enabled 0
To show the settings of the LED indication and drive scanner, run
# xicli settings scanner show
Optional argument |
||
-f | --format |
Output format:
The default: table. |
The locate command
You can manually control the LED indication of the drives by using the command
# xicli drive locate <arg>
Required argument |
||
-d |
--drives |
The list of block devices (/dev/sd*, /dev/mapper/mpath*, /dev/nvme*, /dev/dm-*) separated by a space to switch the indication on, or switch the indication off (with the null value). The argument doesn’t affect the automatic indication. |
Example: Turn location indication on for drives “/dev/nvme0n1” and “/dev/nvme1n1”:
# xicli drive locate -d /dev/nvme0n1 /dev/nvme1n1