stcli cleaner Commands
Storage cluster cleaner operations for removing stale data and releasing storage.
stcli cleaner [-h] {info | start | stop | stats | report | get-schedule | set-schedule}
Syntax Description
Option |
Required or Optional |
Description |
---|---|---|
get-schedule |
One of set required. |
Reports storage cluster cleaner high priority schedule. |
info |
One of set required. |
Provides information about the specified storage cluster cleaner. |
report |
One of set required. |
Reports storage cluster space reclaimed from cleaner. |
set-schedule |
One of set required. |
Sets storage cluster cleaner high priority schedule. |
start |
One of set required. |
Starts storage cluster cleaner. |
stats |
One of set required. |
Collects storage cluster cleaner stats. |
stop |
One of set required. |
Stops storage cluster cleaner. |
Command Default
None. One option from the set is required.
Usage Guidelines
Accompany the base stcli cleaner
command with one or more positional arguments, or the optional --help
option.
The stcli cleaner command typically runs in the background continuously. cleaner
goes into sleep mode when it is not needed and wakes when policy defined conditions are met. These conditions include:
-
Number of flushes since the last cleaner run.
-
Amount of data written since the last cleaner run.
-
Amount of data deleted since the last cleaner run.
-
Storage cluster space usage. See capacity status.
Priority levels are:
-
Normal Priority. The cleaner generates minimum I/O.
-
High Priority. The cleaner I/O is increased.
If your storage cluster is experiencing ENOSPC condition, the cleaner automatically runs at High Priority.
Priority is determined by:
-
Time of Day (TOD) - Default is 6 AM UTC to 6 AM UTC, which disables the TOD-based High Priority cleaner. Use
stcli cleaner set-schedule
. -
Cluster Space Usage - If the storage cluster reaches an ENOSPC WARN condition, the cleaner increases its intensity by increasing the number of I/O to garbage collect. With an ENOSPC set condition, it runs at highest priority.
![]() Note |
Deleting data alone does not trigger cleaner to run and recover space. The properties and settings govern the cleaner. |