openstack-manuals/doc/admin-guide-cloud/source/objectstorage_auditors.rst
venkatamahesh 690138ae1b [admin-guide-cloud] Fix an empty line in code-blocks
In this patch
1.) Add a line between input and output of code-blocks
2.) Delete an extra lines in the file

Change-Id: I152fead1a3ca52f0da9e55b9258f1705d2461a6f
2015-12-23 00:04:50 +05:30

965 B

Object Auditor

On system failures, the XFS file system can sometimes truncate files it is trying to write and produce zero-byte files. The object-auditor will catch these problems but in the case of a system crash it is advisable to run an extra, less rate limited sweep, to check for these specific files. You can run this command as follows:

$ swift-object-auditor /path/to/object-server/config/file.conf once -z 1000

Note

"-z" means to only check for zero-byte files at 1000 files per second.

It is useful to run the object auditor on a specific device or set of devices. You can run the object-auditor once as follows:

$ swift-object-auditor /path/to/object-server/config/file.conf once \
  --devices=sda,sdb

Note

This will run the object auditor on only the sda and sdb devices. This parameter accepts a comma-separated list of values.