Atom feed of this document
Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse - 

 Drive audit

The swift-drive-audit configuration items reference a script that can be run by using cron to watch for bad drives. If errors are detected, it unmounts the bad drive, so that OpenStack Object Storage can work around it. It takes the following options:

Table 8.63. Description of configuration options for [drive-audit] in drive-audit.conf-sample
Configuration option = Default value Description
device_dir = /srv/nodeDirectory devices are mounted under
log_facility = LOG_LOCAL0Syslog log facility
log_level = INFOLogging level
log_address = /dev/logLocation where syslog sends the logs to
minutes = 60Number of minutes to look back in `/var/log/kern.log`
error_limit = 1Number of errors to find before a device is unmounted
log_file_pattern = /var/log/kern*Location of the log file with globbing pattern to check against device errors locate device blocks with errors in the log file
regex_pattern_1 = \berror\b.*\b(dm-[0-9]{1,2}\d?)\bNo help text available for this option.

Questions? Discuss on
Found an error? Report a bug against this page

loading table of contents...