Re: [ceph-users] Orphaned objects after deleting rbd images

2016-12-22 Thread Ruben Kerkhof
On Wed, Dec 21, 2016 at 10:33 PM, Jason Dillaman wrote: > [moving to ceph-users ...] > > You should be able to use the rados CLI to list all the objects in > your pool, excluding all objects associated with known, valid image > ids: > > rados ls -p rbd | grep -vE "($(rados -p rbd ls | grep rbd_hea

Re: [ceph-users] Orphaned objects after deleting rbd images

2016-12-21 Thread Jason Dillaman
[moving to ceph-users ...] You should be able to use the rados CLI to list all the objects in your pool, excluding all objects associated with known, valid image ids: rados ls -p rbd | grep -vE "($(rados -p rbd ls | grep rbd_header | grep -o "\.[0-9a-f]*" | sed -e :a -e '$!N; s/\n/|/; ta' -e 's/\