duplicate image name under ceph rbd

tawh

Active Member
Mar 26, 2019
23
0
41
36
My ceph cluster suddenly warned about disk full. I investigated the usage of the rbd volume and found that there are two images with the same name:
Code:
NAME            PROVISIONED  USED
vm-110-disk-0         4 GiB  1.5 GiB
vm-110-disk-1         6 TiB  5.5 TiB  <----
vm-2000-disk-0      276 MiB   84 MiB
vm-2001-disk-0      276 MiB   68 MiB
vm-230-disk-0         8 GiB    8 GiB
vm-230-disk-1         8 GiB  8.0 GiB
vm-110-disk-1         6 TiB  5.5 TiB  <----
<TOTAL>              12 TiB   11 TiB
There are two entries "vm-110-disk-1" which pumped up the total size to 11TB.
when I do "rbd info vm-110-disk-1" it only shows one entry.
Code:
rbd image 'vm-110-disk-1':
        size 6 TiB in 1572864 objects
        order 22 (4 MiB objects)
        snapshot_count: 0
        id: efb555c595459c
        block_name_prefix: rbd_data.efb555c595459c
        format: 2
        features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
        op_features:
        flags:
        create_timestamp: Sat Mar 16 17:04:43 2024
        access_timestamp: Wed May 29 01:54:22 2024
        modify_timestamp: Wed May 29 01:54:08 2024

Is there any method to check whether it is true that the same image occupied double space in the rbd? Or is there any way to solve this issue?