Re: help removing an rbd image?

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

 



Any chance you are using cache tiering?  It's odd that you can see the
objects through "rados ls" but cannot delete them with "rados rm".

On Tue, May 24, 2016 at 4:34 PM, Kevan Rehm <krehm@xxxxxxxx> wrote:
> Greetings,
>
> I have a small Ceph 10.2.1 test cluster using a 3-replicate pool based on 24
> SSDs configured with bluestore.  I created and wrote an rbd image called
> "image1", then deleted the image again.
>
> rbd -p ssd_replica create --size 100G image1
>
> rbd --pool ssd_replica bench-write --io-size 2M --io-threads 16 --io-total
> 100G --io-pattern seq image1
>
> rbd -p ssd_replica rm image1
>
>
> The rbd rm command completed successfully, but not all the image-related
> files disappeared from the pool.   The pool still contains files:
>
>
> rbd_directory
>
> rbd_id.image1
>
> rbd_object_map.15ed238e1f29
>
>
> plus 2938 other objects of the form
> "rbd_data.15ed238e1f29.000000000000xxxx".
>
> Attempting to re-delete image1 does not work.  Attempting to directly delete
> object rbd_id.image1 and one of the data objects doesn't work either.  The
> commands all fail with "No such file or directory" yet they are obviously
> there.  (Warning messages stripped for brevity.)
>
> [root@alpha1-p200 fio]# rbd -p ssd_replica rm image1
>
> Removing image: 0% complete...failed.
>
> rbd: delete error: (2) No such file or directory
>
> [root@alpha1-p200 fio]# rados -p ssd_replica rm rbd_id.image1
>
> error removing ssd_replica>rbd_id.image1: (2) No such file or directory
>
> [root@alpha1-p200 fio]# rados -p ssd_replica rm
> rbd_data.15ed238e1f29.0000000000005b56
>
> error removing ssd_replica>rbd_data.15ed238e1f29.0000000000005b56: (2) No
> such file or directory
>
>
> Is this a bug, and if so, where should I look for the cause?   Anyone know
> how to delete these objects?
>
> Thanks, Kevan
>
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



-- 
Jason
_______________________________________________
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