Re: Ceph Snapshot Children not exists / children relation broken

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

 



On Fri, Jul 31, 2020 at 3:37 AM Torsten Ennenbach
<tennenbach@xxxxxxxxxxxx> wrote:
>
> Hello all,
>
> I`ve a problem with an undeletable Image.
> Let my try to explain.
>
> There is a storage with a Snapshot, and the snapshot thinks he has a Children:
>
> rbd snap unprotect delete-me-please@995cc2e3-c636-4c43-87c3-dbc729173c09
> 2020-07-30 09:25:08.492 7f15f77fe700 -1 librbd::SnapshotUnprotectRequest: cannot unprotect: at least 1 child(ren) [f907bc6b8b4567] in pool 'rbd'
> 2020-07-30 09:25:08.492 7f15f77fe700 -1 librbd::SnapshotUnprotectRequest: encountered error: (16) Device or resource busy
> 2020-07-30 09:25:08.492 7f15f77fe700 -1 librbd::SnapshotUnprotectRequest: 0x559ca6dd7b80 should_complete_error: ret_val=-16
> 2020-07-30 09:25:08.496 7f15f77fe700 -1 librbd::SnapshotUnprotectRequest: 0x559ca6dd7b80 should_complete_error: ret_val=-16rbd: unprotecting snap failed:
> (16) Device or resource busy
>
> rbd children delete-me-please@995cc2e3-c636-4c43-87c3-dbc729173c09
> 2020-07-30 09:19:36.650 7f39563deb00 -1 librbd::api::Image: list_descendants: error looking up name for image id f907bc6b8b4567 in pool rbd
> rbd: listing children failed: (2) No such file or directory
>
> So i am not able to unprotect and delete the Snapshot.
> Is there a way to fix this issue?

Is the image in the trash? "rbd trash ls --all --long"

> I know this happens if deep-flatten is not enabled, and this is the root cause I think. We`ve activated this feature now but this s artifact from a time where it was disabled.
>
> Best regards & thx for your help.
>
> Torsten
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>


-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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