NAME¶
swift-account-audit - manually audit OpenStack Swift accounts
SYNOPSIS¶
swift-account-audit [options] [url 1] [url 2]
...
DESCRIPTION¶
The swift-account-audit cli tool can be used to audit the data for an account.
It crawls the account, checking that all containers and objects can be found.
You can also feed a list of urls to the script through stdin.
OPTIONS¶
- -c concurrency
- Set the concurrency, default 50
- -r ring dir
- Ring locations, default /etc/swift
- -e filename
- File for writing a list of inconsistent urls
- -d
- Also download files and verify md5
EXAMPLES¶
/usr/bin/swift-account-audit SOSO_88ad0b83-b2c5-4fa1-b2d6-60c597202076
/usr/bin/swift-account-audit SOSO_88ad0b83-b2c5-4fa1-b2d6-60c597202076/container/object
/usr/bin/swift-account-audit -e errors.txt SOSO_88ad0b83-b2c5-4fa1-b2d6-60c597202076/container
/usr/bin/swift-account-audit < errors.txt
/usr/bin/swift-account-audit -c 25 -d < errors.txt
DOCUMENTATION¶
More in depth documentation in regards to
swift-account-audit and also
about OpenStack Swift as a whole can be found at
http://swift.openstack.org/index.html and
http://docs.openstack.org