[Drbd-dev] [PATCH] 8.2.7 drbdsetup disk size error for flexible internal meta data

Roger Tsang roger.tsang at gmail.com
Thu Nov 13 12:41:44 CET 2008


Hi,

The attached patch fixes a bug in drbd-8.2.7 which fails to set disk
size for drbd devices using flexible internal meta data.

`drbdsetup disk --size` for flexible internal meta data fails
unexpectedly with error LDDeviceTooSmall because in
drbd_nl_disk_conf() the drbd_get_max_capacity() call to check "disk
size" returns bogus values due to uninitialized values in drbd_md
structure.

Roger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drbd-827-disk_size_issue
Type: application/octet-stream
Size: 920 bytes
Desc: not available
Url : http://lists.linbit.com/pipermail/drbd-dev/attachments/20081113/9473498e/drbd-827-disk_size_issue.obj


More information about the drbd-dev mailing list