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

Christian Völker cvoelker at knebb.de
Mon Dec 12 12:36:58 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.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

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

So I'm stuck here. I don't mind downtime- drbd here is used for backup
purposes, not for HA.

Greetings

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7l51oACgkQ0XNIYlAXmzv4fwCg0l1jocQvVXKqcT9FZe7UHJjU
91IAnA7llx9itrtcQ2CMAyzpUfa8H127
=BvvL
-----END PGP SIGNATURE-----



More information about the drbd-user mailing list