[DRBD-user] dump-md data

Dan Barker dbarker at visioncomm.net
Mon Mar 11 19:59:18 CET 2013

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


The dump could be quite large if the bit map has a lot of non-zeros in it. As it is, all 9M times 64 bits times 4096 bytes/bit covers your 2+ terabyte metadata and all are zero so it takes one line. "8923456 times 0x0000000000000000;"

Take down your secondary, run for a few days, and then dump the md to get a respectably large dump<g>.

[Don't]

Dan

-----Original Message-----
From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Olivier Le Cam
Sent: Monday, March 11, 2013 2:48 PM
To: drbd-user at lists.linbit.com
Subject: [DRBD-user] dump-md data

Hi -

By making a dump-md of a several TB device I expected to get a 
relatively large file. I realize that it is actually the opposite: the 
dump does only contain a dozen lines, like following.

# DRBD meta data dump
# 2013-03-11 18:38:21 +0100 [1363023501]
# nfs-2> drbdmeta 0 v08 /dev/vg1/storage internal dump-md
#

version "v08";

# md_size_sect 139512
# md_offset 2339289165824
# al_offset 2339289133056
# bm_offset 2339217739776

uuid {
     0x7117E0379FF23460; 0x0000000000000000; 0x6273B7EE32734046; 
0x6272B7EE32734047;
     flags 0x00000091;
}
# al-extents 3389;
la-size-sect 4568784648;
bm-byte-per-bit 4096;
device-uuid 0x64B2B985FCFD7314;
la-peer-max-bio-size 131072;
# bm-bytes 71387264;
bm {
    # at 0kB
     8923456 times 0x0000000000000000;
}
# bits-set 0;

Is this normal or do I missed something?

PS: the dump-md drbdadm command requested that I first drbdadm apply-al 
before being able to dump de meta-data.

Thanks and best regards,
-- 
Olivier
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list