[DRBD-user] Rescue after reduce :(

Christian Völker chrischan at knebb.de
Fri May 25 14:56:27 CEST 2012

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


Hi,

I definitely performed the fsck on the drbd device, not on the lvm and
not on the physical one.

Meanwhile I was able to recover by extending the LV again to the old
size. Had to re-create the metadata on the secondary and it's syncing
now. fsck is running again,  Well, weekend is safe :D

But how do I resize then properly?

This is what I did:

-fsck -f /dev/drbd0
-resize2fs --new size 1400G
-drbdadm -- --new-size 1450G resize
-fsck -f /dev/drbd0
-lvreduce /dev/vg/drbd on primary
 -lvreduce /dev/vg/drbd on secondary
*BANG* :-(

Any hints?

Christian





More information about the drbd-user mailing list