[DRBD-user] Error "1 corrupt AL transactions found" after DRBD upgrade

Lars Ellenberg lars.ellenberg at linbit.com
Wed May 13 15:16:20 CEST 2015

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


On Mon, May 11, 2015 at 08:35:59PM +0000, Christoph Mitasch wrote:
> Hello,
> 
> I've recently upgraded a system from DRBD 8.3.16  to DRBD 8.4.6.
> 
> I noticed the following error when starting the init script:
> ...
> ++ /sbin/drbdmeta 10 v08 /dev/local/r1-U internal apply-al
> 1 corrupt AL transactions found
> ...
> 
> I  found the following user that had a similar problem in the past.
> http://www.gossamer-threads.com/lists/drbd/users/26965#26965
> 
> Could a userpace tool upgrade help, since I'm using 8.4.3 from Ubuntu 12.04 at the moment.

This should address all your concerns:

http://git.drbd.org/gitweb.cgi?p=drbd-utils.git;a=commitdiff;h=7e63e763a86ea691c5c5eda5b3e6bd747d74b186

commit 7e63e763a86ea691c5c5eda5b3e6bd747d74b186
Author: Lars Ellenberg <lars.ellenberg at linbit.com>
Date:   Mon Sep 9 14:53:01 2013 +0200

    drbdmeta apply-al: don't scare users with words like "corrupt"
    
    When converting drbd 8.3 to 8.4 on-disk meta data,
    some people have been scared by the message
    "XY corrupt or uninitialized AL transactions found."
    
    Calm them down: usually, this is diagnostic only,
    and nothing to worry about.

diff --git a/user/drbdmeta.c b/user/drbdmeta.c
index 4d2bbf0..6ea4681 100644
--- a/user/drbdmeta.c
+++ b/user/drbdmeta.c
@@ -1771,8 +1771,10 @@ static int replay_al_07(struct format *cfg, uint32_t *hot_extent)
 
 	/* we do expect at most one corrupt transaction, and only in case
 	 * things went wrong during transaction write. */
-	if (found_valid != mx)
+	if (found_valid != mx) {
 		fprintf(stderr, "%u corrupt or uninitialized AL transactions found\n", mx - found_valid);
+		fprintf(stderr, "You can safely ignore this if this node was cleanly stopped (no crash).\n");
+	}
 
 	/* Any other paranoia checks possible with this log format? */
 

-- 
: Lars Ellenberg
: http://www.LINBIT.com | Your Way to High Availability
: DRBD, Linux-HA  and  Pacemaker support and consulting

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list