It is currently possible to have swift-recon report on disk usage by two means: swift-recon -d OR swift-recon --all (which includes -d)
Disk usage provides two options: --human-readable to provide usage in GB rather than bytes --top <integer> to list devices with the most usage
These options are currently usable when using -d but not --all. This is because the options are not passed to disk_usage when using all: https://github.com/openstack/swift/blob/d317888a7eae276ae9dddf26a9030d01f6ba00fe/swift/cli/recon.py#L930
Versus when using -d: https://github.com/openstack/swift/blob/d317888a7eae276ae9dddf26a9030d01f6ba00fe/swift/cli/recon.py#L965
It is currently possible to have swift-recon report on disk usage by two means:
swift-recon -d OR
swift-recon --all (which includes -d)
Disk usage provides two options:
--human-readable to provide usage in GB rather than bytes
--top <integer> to list devices with the most usage
These options are currently usable when using -d but not --all. /github. com/openstack/ swift/blob/ d317888a7eae276 ae9dddf26a9030d 01f6ba00fe/ swift/cli/ recon.py# L930
This is because the options are not passed to disk_usage when using all:
https:/
Versus when using -d: /github. com/openstack/ swift/blob/ d317888a7eae276 ae9dddf26a9030d 01f6ba00fe/ swift/cli/ recon.py# L965
https:/