Re: [ceph-users] Data still in OSD directories after removing

2016-04-29 Thread Andrey Korolyov
On Thu, May 22, 2014 at 12:56 PM, Olivier Bonvalet wrote: > > Le mercredi 21 mai 2014 à 18:20 -0700, Josh Durgin a écrit : >> On 05/21/2014 03:03 PM, Olivier Bonvalet wrote: >> > Le mercredi 21 mai 2014 à 08:20 -0700, Sage Weil a écrit : >> >> You're certain that that is the correct prefix for the

Re: [ceph-users] Data still in OSD directories after removing

2014-05-22 Thread Olivier Bonvalet
Le mercredi 21 mai 2014 à 18:20 -0700, Josh Durgin a écrit : > On 05/21/2014 03:03 PM, Olivier Bonvalet wrote: > > Le mercredi 21 mai 2014 à 08:20 -0700, Sage Weil a écrit : > >> You're certain that that is the correct prefix for the rbd image you > >> removed? Do you see the objects lists when y

Re: [ceph-users] Data still in OSD directories after removing

2014-05-21 Thread Josh Durgin
On 05/21/2014 03:03 PM, Olivier Bonvalet wrote: Le mercredi 21 mai 2014 à 08:20 -0700, Sage Weil a écrit : You're certain that that is the correct prefix for the rbd image you removed? Do you see the objects lists when you do 'rados -p rbd ls - | grep '? I'm pretty sure yes : since I didn't s

Re: [ceph-users] Data still in OSD directories after removing

2014-05-21 Thread Olivier Bonvalet
Le mercredi 21 mai 2014 à 08:20 -0700, Sage Weil a écrit : > > You should definitely not do this! :) Of course ;) > > You're certain that that is the correct prefix for the rbd image you > removed? Do you see the objects lists when you do 'rados -p rbd ls - | > grep '? I'm pretty sure yes

Re: [ceph-users] Data still in OSD directories after removing

2014-05-21 Thread Sage Weil
Hi Olivier, On Wed, 21 May 2014, Olivier Bonvalet wrote: > Hi, > > I have a lot of space wasted by this problem (about 10GB per OSD, just > for this RBD image). > If OSDs can't detect orphans files, should I manually detect them, then > remove them ? > > This command can do the job, at least for

Re: [ceph-users] Data still in OSD directories after removing

2014-05-21 Thread Olivier Bonvalet
Hi, I have a lot of space wasted by this problem (about 10GB per OSD, just for this RBD image). If OSDs can't detect orphans files, should I manually detect them, then remove them ? This command can do the job, at least for this image prefix : find /var/lib/ceph/osd/ -name 'rb.0.14bfb5a.238e1

[ceph-users] Data still in OSD directories after removing

2014-05-20 Thread Olivier Bonvalet
Hi, short : I removed a 1TB RBD image, but I still see files about it on OSD. long : 1) I did : "rbd snap purge $pool/$img" but since it overload the cluster, I stopped it (CTRL+C) 2) latter, "rbd snap purge $pool/$img" 3) then, "rbd rm $pool/$img" now, on the disk I can found files of this