Re: orphans rbd_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 11 Sep 2013, Laurent Barbe wrote:
> Hello,
> 
> I deleted rbd images in format 2 but it seems to remain rbd_data objects :
> 
> $ rados -p datashare ls | grep rbd_data | wc -l
> 1479669
> 
> $ rados -p datashare ls | grep rbd_header | wc -l
> 0
> 
> $ rados -p datashare ls | grep rbd_id | wc -l
> 0
> 
> Does anyone know when rbd_data object must be destroyed ?
> In this pool I keep rbd image in format 1 but I think they do not use objects
> called "rbd_data*" and there should not be any format 2 images.
> 
> It's seems these images have been used with a buggy rc kernel (corrected by
> this patch :
> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=3a96d5cd7bdce45d5dded75c3a62d4fb98050280
> )
> and I notice that the name suffix size is only 12 characters :
> rbd_data.11ae2ae8944a.00000000d3b2
> rbd_data.11292ae8944a.000000090f98
> rbd_data.11292ae8944a.0000000814bc
> rbd_data.11292ae8944a.000000020c81
> 
> Is it possible that these objects are not deleted when I make rbd rm ?
> 
> I guess there any hope for these crumbs disappear by themselves ?

That explains it.  They won't go away by themselves.  You can clean them 
up manually by grepping them out of rados ls and deleting them with rados 
rm.  Try to pass several names to each instantiation of the command or the 
startup/shutdown will make things really slow.

sage
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux