In attempting to add size to a disk in a 4 node cluster running 6.4-8(all nodes), ceph 15.2.13, using KRBD to mount the storage. The UI shows the drive resize as successful, (For example, moving a drive from 32, to 33gb). But dmesg shows the following
[10387595.491511] rbd32: detected capacity change from 134217728000 to 161061273600
[10387641.602202] rbd32: detected capacity change from 161061273600 to 0
and we see
root@pmx:~# rbd info -p ssd vm-133-disk-9
rbd image 'vm-133-disk-9':
size 0 B in 0 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: 256a76e95770ab
block_name_prefix: rbd_data.256a76e95770ab
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
op_features:
flags:
create_timestamp: Fri May 14 16:18:49 2021
access_timestamp: Thu Oct 21 17:21:55 2021
modify_timestamp: Thu Oct 21 17:23:19 2021
[10387595.491511] rbd32: detected capacity change from 134217728000 to 161061273600
[10387641.602202] rbd32: detected capacity change from 161061273600 to 0
and we see
root@pmx:~# rbd info -p ssd vm-133-disk-9
rbd image 'vm-133-disk-9':
size 0 B in 0 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: 256a76e95770ab
block_name_prefix: rbd_data.256a76e95770ab
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
op_features:
flags:
create_timestamp: Fri May 14 16:18:49 2021
access_timestamp: Thu Oct 21 17:21:55 2021
modify_timestamp: Thu Oct 21 17:23:19 2021