Closed Ayden-Franklin closed 4 years ago
The /dev/sdc is new device added by me just now. What is inconceivable is that it had been used 250G. And there is no Bricks listed below it.
I solved this problem. I added the device by adding "/dev/sdc" to the device element in the topology.json. Unfortunately, it was marked as have been used for 251G. Today, I added the device by the command heketi-cli device add --name=/dev/sdc --node=xx
and it works well.
The only one strange thing is there are two devices /dev/sdc on that node.
Devices:
Id:570107c155012c1ef9f3942248c1a194 Name:/dev/sdc State:online Size (GiB):299 Used (GiB):251 Free (GiB):48
Bricks:
Id:948c4a2751e19e0643f105a1053b86d0 Size (GiB):250 Path: /var/lib/heketi/mounts/vg_570107c155012c1ef9f3942248c1a194/brick_948c4a2751e19e0643f105a1053b86d0/brick
Id:94c3a9ae7842c7cdb20f9ab4c9ee72d2 Name:/dev/sdc State:online Size (GiB):299 Used (GiB):251 Free (GiB):48
Bricks:
Id:adab7eb4d804d5202051bd53e30f0451 Name:/dev/sdb State:online Size (GiB):499 Used (GiB):402 Free (GiB):97
Bricks:
Id:1b177e6160aa7d223d15ea193916a03f Size (GiB):2 Path: /var/lib/heketi/mounts/vg_adab7eb4d804d5202051bd53e30f0451/brick_1b177e6160aa7d223d15ea193916a03f/brick
The existing volume information:
I tried to expand volume using this command:
I noticed that the new device has no bricks.
And the heketi pod output: