gluster / gluster-block

A framework for gluster block storage
GNU General Public License v2.0
74 stars 32 forks source link

Modify Size failed #289

Closed jonahbohlmann closed 2 years ago

jonahbohlmann commented 3 years ago

Hello,

today I tried to extend the volume size from 10GB to 20GB.

So I used:

gluster-block modify rdxarchive_2020/block-volume size 20GiB

Which failed, as you can also see here:

[STAGING] [22:40:47 root@fra1-glusterfs-m01]{~}>gluster-block info rdxarchive_2020/block-volume
NAME: block-volume
VOLUME: rdxarchive_2020
GBID: e2522647-d101-4d74-8978-ed24fa5813c6
SIZE: 20.0 GiB
HA: 3
IOTIMEOUT: 0 Seconds
PASSWORD:
EXPORTED ON: 10.0.33.154 10.0.33.155 10.0.33.156
RESIZE FAILED ON: 10.0.33.154:[10.0 GiB] 10.0.33.155:[10.0 GiB] 10.0.33.156:[10.0 GiB]

On all other nodes, tcmu-runner will not start since the modification:

Jul 08 22:33:04 fra1-glusterfs-m02 tcmu-runner[3446]: tcmu_glfs_open:519 glfs/block-volume: device size and backing size disagree: device 10737418240 backing 21474836480
Jul 08 22:33:04 fra1-glusterfs-m02 tcmu-runner[3446]: 2021-07-08 22:33:04.383 3446 [ERROR] tcmu_glfs_open:519 glfs/block-volume: device size and backing size disagree: device 10737418240 backing 21474836480

Any idea why this happend and what I can do?

A reload and run the command again does not help. Also restarting the nodes not work.

Thanks!

jonahbohlmann commented 3 years ago

Fixed by updating tcmu-runner to version 1.5.4.3 and rerun the modify command.