Re: [ceph-users] Cleaning up; data usage, snap-shots, auth users

2014-04-03 Thread Jonathan Gowar
On Wed, 2014-04-02 at 20:42 -0400, Jean-Charles Lopez wrote:

 From what is pasted, your remove failed so make sure you purge
 snapshots then the rbd image.

I already pasted that too.

rbd snap purge 6fa36869-4afe-485a-90a3-93fba1b5d15e
-p cloudstack
Removing all snapshots2014-04-03 01:02:46.863370 7f2949461760 -1 librbd:
removing snapshot from header failed: (16) Device or resource busy
: 0% complete...failed.
rbd: removing snaps failed: (16) Device or resource busy


___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Cleaning up; data usage, snap-shots, auth users

2014-04-02 Thread Jonathan Gowar
Hi,

   I have a small 8TB testing cluster.  During testing I've used 94G.
But, I have since removed pools and images from Ceph, I shouldn't be
using any space, but still the 94G usage remains.  How can I reclaim old
used space?

Also, this:-

ceph@ceph-admin:~$ rbd rm 6fa36869-4afe-485a-90a3-93fba1b5d15e
2014-04-03 01:02:23.304323 7f92e2ced760 -1 librbd::ImageCtx: error
finding header: (2) No such file or directory
Removing image: 2014-04-03 01:02:23.312212 7f92e2ced760 -1 librbd: error
removing img from new-style directory: (2) No such file or directory
0% complete...failed.
rbd: delete error: (2) No such file or directory
ceph@ceph-admin:~$ rbd rm 6fa36869-4afe-485a-90a3-93fba1b5d15e -p
cloudstack
2014-04-03 01:02:34.424626 7fd556d00760 -1 librbd: image has snapshots -
not removing
Removing image: 0% complete...failed.
rbd: image has snapshots - these must be deleted with 'rbd snap purge'
before the image can be removed.
ceph@ceph-admin:~$ rbd snap purge 6fa36869-4afe-485a-90a3-93fba1b5d15e
-p cloudstack
Removing all snapshots2014-04-03 01:02:46.863370 7f2949461760 -1 librbd:
removing snapshot from header failed: (16) Device or resource busy
: 0% complete...failed.
rbd: removing snaps failed: (16) Device or resource busy

Lastly, how can I remove a user from the auth list?

Regards,
Jon

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com