| 1 |
# defaults file for hd-idle |
| 2 |
|
| 3 |
# start hd-idle automatically? |
| 4 |
START_HD_IDLE=false |
| 5 |
|
| 6 |
# hd-idle command line options |
| 7 |
# Options are: |
| 8 |
# -a <name> Set device name of disks for subsequent idle-time |
| 9 |
# parameters (-i). This parameter is optional in the |
| 10 |
# sense that there's a default entry for all disks |
| 11 |
# which are not named otherwise by using this |
| 12 |
# parameter. This can also be a symlink |
| 13 |
# (e.g. /dev/disk/by-uuid/...) |
| 14 |
# -i <idle_time> Idle time in seconds. |
| 15 |
# -c <command_type> Api call to stop the device. Possible values are "scsi" |
| 16 |
# (default value) and "ata". |
| 17 |
# -p <power_condition> |
| 18 |
# Power condition to send with the issued SCSI START STOP UNIT command. Possible values |
| 19 |
# are `0-15` (inclusive). The default value of `0` works fine for disks accessible via the |
| 20 |
# SCSI layer (USB, IEEE1394, ...), but it will *NOT* work as intended with real SCSI / SAS disks. |
| 21 |
# A stopped SAS disk will not start up automatically on access, but requires a startup command for reactivation. |
| 22 |
# Useful values for SAS disks are `2` for idle and `3` for standby. |
| 23 |
# -s symlink_policy Set the policy to resolve symlinks for devices. |
| 24 |
# If set to "0", symlinks are resolve only on start. |
| 25 |
# If set to "1", symlinks are also resolved on runtime |
| 26 |
# until success. By default symlinks are only resolve on start. |
| 27 |
# If the symlink doesn't resolve to a device, the default |
| 28 |
# configuration will be applied. |
| 29 |
# -l <logfile> Name of logfile (written only after a disk has spun |
| 30 |
# up). Please note that this option might cause the |
| 31 |
# disk which holds the logfile to spin up just because |
| 32 |
# another disk had some activity. This option should |
| 33 |
# not be used on systems with more than one disk |
| 34 |
# except for tuning purposes. On single-disk systems, |
| 35 |
# this option should not cause any additional spinups. |
| 36 |
# |
| 37 |
# Options not exactly useful here: |
| 38 |
# -t <disk> Spin-down the specified disk immediately and exit. |
| 39 |
# -d Debug mode. It will print debugging info to |
| 40 |
# stdout/stderr (/var/log/syslog if started as with systemctl) |
| 41 |
# -h Print usage information. |
| 42 |
#HD_IDLE_OPTS="-i 180 -l /var/log/hd-idle.log" |