Skip to content

Instantly share code, notes, and snippets.

View ZiggyMaes's full-sized avatar

Ziggy Maes ZiggyMaes

View GitHub Profile
@ZiggyMaes
ZiggyMaes / radosgw-gc-bucket-indexes.sh
Created January 28, 2019 12:55 — forked from wido/radosgw-gc-bucket-indexes.sh
Ceph RADOS Gateway bucket index garbage collection
#!/bin/bash
#
# Find orphaned bucket index objects in the RGW bucket index pool
# and clean them up if they do not belong to a bucket
#
# Author: Wido den Hollander <[email protected]>
#
INDEX_POOL=$1