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

Christian Völker cvoelker at knebb.de
Mon Dec 12 22:20:00 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,

well, I got a little bit confused by all of your answers....
Soem recommended a procedure how to perform a decrease, some haven't
been aware of the state being online, but not connected...and so on.
Never mind!

In the end I just took my chance. ;-)
- -Increased physical device (well, virtual disk on ESXi)
- -increased logical volume from LVM
- -umount /dev/drbd0
- -drbdadm resize drbd0
- -e2fsck /dev/drbd0 && resize2fs /dev/drbd0
- -mount /dev/drbd0
- -created a secondary node (temp only) with new increased disk size
- -currently syncing

Worked! To be honest I expected this in some ways for this I was so
courageous [and the previous secondary node still has an outdated
version of the drbd device].  Next time I'll take a LVM snapshot
before, though.

I still don't see a reason why it shouldn't work. If I'd bring back
the old secondary without resizing this guy- ok, then it might get
confused. But nor with bringing a new one and start from scratch.

Anyways- above procedure worked.

Greetings

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

iEYEARECAAYFAk7mcAAACgkQ0XNIYlAXmzsJgwCfT18drMo0ML4bfYEiItMNMVe1
7/YAn3Xw5z1mpKBMV735D+jKAFIGoHCi
=j07X
-----END PGP SIGNATURE-----



More information about the drbd-user mailing list