Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi List, Say I have 3 nodes setup with 280GB free space, and all of them are using lvm storage backend, which is the default. and if I try to create a 500GB volume, drbdmanage just says "ok, successfull", however, as you know, lvm isn't ThinLV, you can not create a volume larger than the vg size. ``` [root at mesos-test-dev001-whdx ~]# drbdmanage nodes -p +----------------------------------------------------------------------------+ | Name | Pool Size | Pool Free | | State | | ---------------------------------------------------------------------------- | | mesos-test-dev001-whdx.qiyi.virtual | 307196 | 284628 | | ok | | mesos-test-dev002-whdx.qiyi.virtual | 307196 | 286688 | | ok | | mesos-training-dev001-cqdx.qiyi.virtual | 307196 | 307192 | | ok | +----------------------------------------------------------------------------+ [root at mesos-test-dev001-whdx ~]# drbdmanage add-volume r0 500G Operation completed successfully [root at mesos-test-dev001-whdx ~]# drbdmanage nodes -p +----------------------------------------------------------------------------+ | Name | Pool Size | Pool Free | | State | | ---------------------------------------------------------------------------- | | mesos-test-dev001-whdx.qiyi.virtual | 307196 | 284628 | | ok | | mesos-test-dev002-whdx.qiyi.virtual | 307196 | 286688 | | ok | | mesos-training-dev001-cqdx.qiyi.virtual | 307196 | 307192 | | ok | +----------------------------------------------------------------------------+ [root at mesos-test-dev001-whdx ~]# drbdmanage volumes -p +----------------------------------------------------------------------------+ | Name | Vol ID | Size | Minor | | State | | ---------------------------------------------------------------------------- | | r0 | 0 | 20 GiB | 100 | | ok | | r0 | 1 | 500 GiB | 106 | | ok | +----------------------------------------------------------------------------+ [root at mesos-test-dev001-whdx ~]# ls /dev/drbd106 ls: cannot access /dev/drbd106: No such file or directory ``` Apparently, create 500GB volume with lvcreate will fail like below. ``` [root at mesos-test-dev001-whdx ~]# lvcreate -L 500G -n large-volume drbdpool Volume group "drbdpool" has insufficient free space (71672 extents): 128000 required. ``` -- Thanks, Chengwei