If you know that the pool should be empty, there wouldn't be a problem with piping the ouput of `rados ls` to `rados rm`. By the same notion, if nothing in the pool is needed you can delete the pool and create a new one that will be perfectly empty.
On Tue, Nov 14, 2017 at 3:23 PM Karun Josy <[email protected]> wrote: > Help?! > > There seems to be many objects still present in the pool : > --------------------- > $ rados df > POOL_NAME USED OBJECTS CLONES COPIES MISSING_ON_PRIMARY UNFOUND > DEGRADED RD_OPS RD WR_OPS WR > vm 886 105 0 315 0 > 0 0 943399 1301M 39539 30889M > ecpool 403G 388652 3 16701 2720564 > 0 0 0 156972536 1081G 203383441 4074G > imagepool 89014M 22485 0 67455 0 0 > 0 7856029 708G 13140767 602G > template 115G 29848 43 149240 0 > 0 0 66138389 2955G 1123900 539G > > > Karun Josy > > On Tue, Nov 14, 2017 at 4:16 AM, Karun Josy <[email protected]> wrote: > >> Hello, >> >> Recently, I deleted all the disks from an erasure pool 'ecpool'. >> The pool is empty. However the space usage shows around 400GB. >> What might be wrong? >> >> >> $ rbd ls -l ecpool >> $ $ ceph df >> >> GLOBAL: >> SIZE AVAIL RAW USED %RAW USED >> 19019G 16796G 2223G 11.69 >> POOLS: >> NAME ID USED %USED MAX AVAIL OBJECTS >> template 1 227G 1.59 2810G 58549 >> vm 21 0 0 4684G 2 >> ecpool 33 403G 2.79 10038G 388652 >> imagepool 34 90430M 0.62 4684G 22789 >> >> >> >> Karun Josy >> > > _______________________________________________ > ceph-users mailing list > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
