-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
Originally reported of Google Code with ID 256.
What software version are you running? Please provide the output of "gnt-
cluster --version" and "gnt-cluster version".
gnt-cluster (ganeti v2.5.2) 2.5.2
Software version: 2.5.2
Internode protocol: 2050000
Configuration format: 2050000
OS api version: 20
Export interface: 0
<b>What distribution are you using?</b>
Ubuntu 12.04, DRBD 8.3.11 (api:88)
<b>What steps will reproduce the problem?</b>
1. Create a VM with disk type DRBD above 4TB
<b>What is the expected output? What do you see instead?</b>
Instance creation fails with "/var/log/ganeti/node-daemon.log:2012-08-08 16:27:44,552: ganeti-noded pid=4148 ERROR Can't assemble device after creation, unusual event: drbd2: can't attach local disk: /dev/drbd2: Failure: (111) Low.dev. smaller than requested DRBD-dev. size."
<b>Please provide any additional information below.</b>
Even if you specify more than 128MB as DRBD meta volume size it fails. This is due DRBD external meta disk handling. When it's created as an index it is always fixed to 128MB and results in a maximum volume size somewhere below 4TB.
Creating a flexible meta disk without an index or using internal meta-data would solve this issue. There is no need for indexed meta-disks as Ganeti is creating one meta-disk lvm volume for each VM anyway.
Here is a Florian Haas' statement from Linbit (the DRBD creators) considering internal and external meta-disks.
http://lists.linbit.com/pipermail/drbd-user/2008-June/009628.html
best regards,
Adrian
Originally added on 2012-08-09 09:18:29 +0000 UTC.