[DRBD-user] Resizing while Secondary is OFF-Line?

Andreas Kurz andreas at hastexo.com
Mon Dec 12 13:48:39 CET 2011

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

On 12/12/2011 12:36 PM, Christian Völker wrote:
> Hi,
>>>>>>> Otherwise I'd expect just to grow the underlying LVM and
>>>>>>> then do a "drbadm resize drbd0". Will this do any harm?
>>>>> yes, I'm afraid so.
>>> Is there an explanation why it's not working? Even then when
>>> I'll setup the upcoming secondary from scratch?
>> oh it *does* work, but not while your resource is up. If a downtime
>> is acceptable, then there's no problem.
> Well, it doesn't. Put the device down (umount of FS done before, of
> course) with "drbdadm down drbd0". Did a "drbdadm resize drbd0" which
> ended in:
> drbdadm resize drbd0
> 0: Failure: (138) Device does not have a disk-config

this only works for _online_ resizing ... disk has to be attached to
DRBD device.

>> Do mind Andreas' remark, though.
> The given parameter from Andreas does not exist in 8.3 as far as I've
> seen.

it's there since 8.3.7 ... "drbdadm -- --assume-peer-has-space resize drbd0"


Need help with DRBD?

> So I'm stuck here. I don't mind downtime- drbd here is used for backup
> purposes, not for HA.
> Greetings
> Christian
drbd-user mailing list
drbd-user at lists.linbit.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 286 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20111212/236bfe56/attachment.pgp>

More information about the drbd-user mailing list