[DRBD-user] DRBD 9 on pve: failure creating new container

Roberto Resoli roberto at resolutions.it
Mon Mar 20 23:00:21 CET 2017

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Context:

pve: 4.4-13/7ea56165
kernel: 4.4.44-1-pve
python-drbdmanage: 0.99.4-1

# cat /proc/drbd
version: 9.0.6-1 (api:2/proto:86-112)

I tried to create a new container from the GUI, but the procedure fails:

======
mke2fs 1.42.12 (29-Aug-2014)
The file /dev/drbd/by-res/vm-130-disk-1/0 does not exist and no size was
specified.
TASK ERROR: command 'mkfs.ext4 -O mmp -E 'root_owner=0:0'
/dev/drbd/by-res/vm-130-disk-1/0' failed: exit code 1
======

After the error, drbdmanage list-assignment gives:

# drbdmanage a
+------------------------------------------------------------------------------+
| Node | Resource      | Vol ID |        |
State |
|------------------------------------------------------------------------------|
| pve1 | vm-130-disk-1 |      * |        | FAILED(3), pending actions:
connect |
| pve1 | vm-130-disk-1 |      0 |        |             pending actions:
attach |

...

| pve2 | vm-130-disk-1 |      * |        |         pending actions:
commission |
| pve2 | vm-130-disk-1 |      0 |        | pending actions: commission,
attach |

...

| pve3 | vm-130-disk-1 |      * |        |         pending actions:
commission |
| pve3 | vm-130-disk-1 |      0 |        | pending actions: commission,
attach |

The thin-lv logical backing device is present:

# lvs
  LV               VG       Attr       LSize   Pool         Origin Data%
 Meta%  Move Log Cpy%Sync Convert

...

  vm-130-disk-1_00 drbdpool Vwi-aotz--   8,01g drbdthinpool        0,01

Any hint?

thanks,
rob




More information about the drbd-user mailing list