Hello,
I was migrating several RBDs between the two pools - from replicated to EC.
I have managed to migrate about twenty images without any issues, all
realtivelly the same size.
It took generally about an hour to execute and 10 minutes to commit for
each one.
The last image however got stuck on commit at 15% for like three days.
I did check the RBD and it was showing it is residing in a new pool. I
was also able to mount it and use it.
I have thus decided to CTRL+C the commit assuming maybe the terminal
session have expired while I didn't check the trash.
Now I have this image sitting in the trash saying it can't be deleted
and saying it is still being migrated.
# rbd status vms/rrrr-data
Watchers: none
# rbd info vms/rrrr-data
rbd image 'rrrr-data':
size 24 TiB in 6291456 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: f779ee47e87321
data_pool: ecpool
block_name_prefix: rbd_data.3.f779ee47e87321
format: 2
features: layering, exclusive-lock, object-map, fast-diff,
deep-flatten, data-pool
op_features:
flags:
create_timestamp: Sat Nov 19 10:11:30 2022
access_timestamp: Sat Nov 19 10:11:30 2022
modify_timestamp: Sat Nov 19 10:11:30 2022
# rbd trash ls besteffort --all
81cb67ba7aaa59 rrrr-data
# rbd --pool besteffort trash remove 81cb67ba7aaa59
2022-11-20T18:59:41.655+0000 7f854f7fe640 -1
librbd::image::RefreshRequest: image being migrated
2022-11-20T18:59:41.655+0000 7f854f7fe640 -1 librbd::image::OpenRequest:
failed to refresh image: (30) Read-only file system
2022-11-20T18:59:41.655+0000 7f854f7fe640 -1 librbd::ImageState:
0x7f8538046be0 failed to open image: (30) Read-only file system
2022-11-20T18:59:41.656+0000 7f85467fc640 -1
librbd::image::RemoveRequest: 0x7f8538000b80 handle_open_image: error
opening image: (30) Read-only file system
rbd: remove error: (30) Read-only file system
Removing image: 0% complete...failed.
Has anyone experienced this and if so, will waiting more resolve this or
is there some workaround I can try?
Thank you.
Best regards,
Jozef.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx