Howto: Extend your DRBD9 thin pool size

hjjg

New Member
Mar 27, 2014
9
0
1
Hey guys,

I just resized my thin pool this way. Execute this on all nodes to add 200G of space:
Code:
# lvextend -L +200G /dev/drbdpool/drbdthinpool
# drbdmanage update-pool
# drbdmanage list-free-space 2

You may need to extend the pools metadata size. Check "Allocated metadata":
Code:
# lvdisplay /dev/drbdpool/drbdthinpool

To add some space to the metadata, issue the following command. The maximum size is 16GB. This adds 4 MB:
Code:
pve1# lvresize --poolmetadatasize +4M /dev/drbdpool/drbdthinpool