[DRBD-user] drbd locked and blocks other processes

Lars Ellenberg Lars.Ellenberg at linbit.com
Wed Jul 12 10:37:16 CEST 2006

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


/ 2006-07-12 10:27:46 +0200
\ Wim Ceulemans:
> Lars
> 
> We will upgrade asap to 0.7.20
> 
> Thanks and regards
> Wim

during a roling upgrade, since one side is still 0.7.14 and can
potentially deadlock, you may find it useful to

 perl -ne '/^MemTotal:\s+(\d+) kB/ and do {
	$a = (1000*$1/3);
	warn qq{doing ("X" x $a) now...\n};
	$x = "X" x $a;  }' < /proc/meminfo

before you "drbdadm disconnect" or "drbdadm connect".
after that 'oneliner', there is so much memory free that the risk of
running into the deadlock is minimal.

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list