You are demo'ing two RBDs here: images/f3f4c73f-2eec-4af1-9bdf-4974a747607b
seems to have 1 snapshot yet later when you try to interact with the
snapshot you are doing so with a different rbd/image altogether:
images/1fcfaa6b-eba0-4c75-b77d-d5b3ab4538a9


Respectfully,

*Wes Dillingham*
w...@wesdillingham.com
LinkedIn <http://www.linkedin.com/in/wesleydillingham>


On Thu, Oct 6, 2022 at 9:13 AM Niklas Jakobsson <
niklas.jakobs...@kindredgroup.com> wrote:

> Hi,
>
> I have an issue with a rbd image that I can't delete.
>
> I have tried this:
> # rbd info images/f3f4c73f-2eec-4af1-9bdf-4974a747607b@snap
> rbd image 'f3f4c73f-2eec-4af1-9bdf-4974a747607b':
>         size 8 GiB in 1024 objects
>         order 23 (8 MiB objects)
>         snapshot_count: 1
>         id: 1ae08970c6321e
>         block_name_prefix: rbd_data.1ae08970c6321e
>         format: 2
>         features: layering, exclusive-lock, object-map, fast-diff,
> deep-flatten
>         op_features:
>         flags:
>         create_timestamp: Mon Apr  1 14:01:57 2019
>         access_timestamp: Thu Jun 23 11:23:11 2022
>         protected: True
> # rbd snap ls images/f3f4c73f-2eec-4af1-9bdf-4974a747607b
> SNAPID  NAME  SIZE   PROTECTED  TIMESTAMP
>     40  snap  8 GiB  yes        Mon Apr  1 14:03:55 2019
> # rbd children images/1fcfaa6b-eba0-4c75-b77d-d5b3ab4538a9@snap
> rbd: listing children failed: (2) No such file or directory
> # rbd snap unprotect images/1fcfaa6b-eba0-4c75-b77d-d5b3ab4538a9@snap
> rbd: unprotecting snap failed: (16) Device or resource busy
> ---
>
> So, it looks like something is still referencing that snapshot but the
> reference seems broken.
>
> Any advice here would be helpful, Thanks!
>
>  /Niklas
>
>
> The content of this email is confidential and intended for the recipient
> specified in message only. If you have received it in error, please notify
> us immediately by replying to this e-mail and then follow with its
> deletion. Please do not copy it or use it or disclose its contents to any
> third parties. Thank you for your cooperation.
>
>
> Classified as General
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to