Audit a swift cluster
Swift integrity tools. There is quite a bit of tools shipped with Swift to ensure you have the right object on your cluster. At first there is the basic : swift-object-info It will take a swift object stored on the filesystem and print some infos about it, like this : swift@storage01:0/016/0b221bab535ac1b8f0d91e394f225016$ swift-object-info 1327991417.01411.data Path: /AUTH_root/foobar/file.txt Account: AUTH_root Container: foobar Object: file.txt Object hash: 0b221bab535ac1b8f0d91e394f225016 Ring locations: 192.168.254.12:6000 - /srv/node/sdb1/objects/0/016/0b221bab535ac1b8f0d91e394f225016/1327991417.01411.data Content-Type: text/plain Timestamp: 2012-01-31 06:30:17.014110 (1327991417.01411) ETag: 053a0f8516a5023b9af76c49ca917d3e (valid) Content-Length: 24 (valid) User Metadata: {‘X-Object-Meta-Mtime’: ‘1327968327.21’} ...