[DRBD-user] [CASE-15] Un-ended resyncing causes mkfs pending-error

김재헌 jhkim at mantech.co.kr
Fri Feb 12 08:06:28 CET 2016

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


Hi,

After big file  copy test with congested mode,  mkfs is pending.
At that time the primary node is not ended resyncing and secondary is
UpToDate normal.

1. Test version
 - CentOS-7 Linux 3.10.0-229.7.2.el7.x86_64
 - Engine: V9.0.1-1
     --  GIT-hash: f57acfc22d29a95697e683fb6bbacd9a1ad4348e build by
root at drbd9-02, 2016-02-09 09:46:20

2. conf
 - protocol A;
 - sndbuf-size 512K;
 - on-congestion pull-ahead;
 - congestion-fill 256K;

3. Test scenario

1)  cp /3G.data  /mnt

2) clipping

[root at drbd9-01 mnt]#
[root at drbd9-01 mnt]# umount /mnt
umount: /mnt: target is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
[root at drbd9-01 mnt]# cd /
[root at drbd9-01 /]# umount /mnt
[root at drbd9-01 /]# ls
1G.data  bin   dev  home  lib64  mnt  pkg   root  sbin  sys  usr
3G.data  boot  etc  lib   media  opt  proc  run   srv   tmp  var
[root at drbd9-01 /]# df
Filesystem              1K-blocks    Used Available Use% Mounted on
/dev/mapper/centos-root  18307072 8828768   9478304  49% /
devtmpfs                   491892       0    491892   0% /dev
tmpfs                      501580     140    501440   1% /dev/shm
tmpfs                      501580   13432    488148   3% /run
tmpfs                      501580       0    501580   0% /sys/fs/cgroup
/dev/sda1                  508588  134148    374440  27% /boot
[root at drbd9-01 /]#
[root at drbd9-01 /]#
[root at drbd9-01 /]#
[root at drbd9-01 /]# mkfs -t ext3 /dev/drbd1
mke2fs 1.42.9 (28-Dec-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
312624 inodes, 1249582 blocks
62479 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1283457024
39 block groups
32768 blocks per group, 32768 fragments per group
8016 inodes per group
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

[root at drbd9-01 /]# !m
mkfs -t ext3 /dev/drbd1
mke2fs 1.42.9 (28-Dec-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
312624 inodes, 1249582 blocks
62479 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1283457024
39 block groups
32768 blocks per group, 32768 fragments per group
8016 inodes per group
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information:


3) Pleae see last command above output. The second mkfs is pending and not
finished.

*4) At that point, the primary stops resync at 95.47% and does not
resyncing anymore.*

[root at drbd9-01 ~]# drbdadm status r0
r0 role:Primary
  disk:UpToDate
  drbd9-02 role:Secondary
    replication:SyncSource peer-disk:Inconsistent done:95.47


4. Log (/var/log/messages) analysys:
1) node1

Feb 10 10:19:39 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( Ahead ->
SyncSource )
Feb 10 10:19:39 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: Began resync as
SyncSource (will sync 1482776 KB [370694 bits set]).
Feb 10 10:19:39 drbd9-01 kernel: drbd r0/0 drbd1: Congestion-fill threshold
reached
Feb 10 10:19:39 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( SyncSource
-> Ahead )
Feb 10 10:19:40 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source
Feb 10 10:19:40 drbd9-01 drbdadm[15866]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:19:40 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source exit code 0 (0x0)
Feb 10 10:19:40 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( Ahead ->
SyncSource )
Feb 10 10:19:40 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: Began resync as
SyncSource (will sync 1495256 KB [373814 bits set]).
Feb 10 10:19:43 drbd9-01 kernel: drbd r0/0 drbd1: Congestion-fill threshold
reached
Feb 10 10:19:43 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( SyncSource
-> Ahead )
Feb 10 10:19:45 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source
Feb 10 10:19:45 drbd9-01 drbdadm[15869]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:19:45 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source exit code 0 (0x0)
Feb 10 10:19:45 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( Ahead ->
SyncSource )
Feb 10 10:19:45 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: Began resync as
SyncSource (will sync 1494024 KB [373506 bits set]).
Feb 10 10:20:01 drbd9-01 systemd: Starting Session 132 of user root.
Feb 10 10:20:01 drbd9-01 systemd: Started Session 132 of user root.
Feb 10 10:20:55 drbd9-01 kernel: drbd r0: role( Primary -> Secondary )
Feb 10 10:20:56 drbd9-01 dbus-daemon: dbus[943]: [system] Activating via
systemd: service name='org.freedesktop.hostname1'
unit='dbus-org.freedesktop.hostname1.service'
Feb 10 10:20:56 drbd9-01 dbus[943]: [system] Activating via systemd:
service name='org.freedesktop.hostname1'
unit='dbus-org.freedesktop.hostname1.service'
Feb 10 10:20:56 drbd9-01 systemd: Starting Hostname Service...
Feb 10 10:20:56 drbd9-01 dbus-daemon: dbus[943]: [system] Successfully
activated service 'org.freedesktop.hostname1'
Feb 10 10:20:56 drbd9-01 dbus[943]: [system] Successfully activated service
'org.freedesktop.hostname1'
Feb 10 10:20:56 drbd9-01 systemd: Started Hostname Service.
Feb 10 10:21:12 drbd9-01 kernel: drbd r0: Preparing cluster-wide state
change 3119941021 (0->-1 3/1)
Feb 10 10:21:12 drbd9-01 kernel: drbd r0: State change 3119941021:
primary_nodes=1, weak_nodes=FFFFFFFFFFFFFFFC
Feb 10 10:21:12 drbd9-01 kernel: drbd r0: Committing cluster-wide state
change 3119941021 (5ms)
Feb 10 10:21:12 drbd9-01 kernel: drbd r0: role( Secondary -> Primary )
Feb 10 10:21:12 drbd9-01 kernel: drbd r0/0 drbd1: Congestion-fill threshold
reached
Feb 10 10:21:12 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( SyncSource
-> Ahead )
Feb 10 10:21:13 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source
Feb 10 10:21:13 drbd9-01 drbdadm[15998]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:13 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source exit code 0 (0x0)
Feb 10 10:21:13 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( Ahead ->
SyncSource )
Feb 10 10:21:13 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: Began resync as
SyncSource (will sync 1299160 KB [324790 bits set]).
Feb 10 10:21:13 drbd9-01 kernel: drbd r0/0 drbd1: Congestion-fill threshold
reached
Feb 10 10:21:13 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( SyncSource
-> Ahead )
Feb 10 10:21:16 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source
Feb 10 10:21:16 drbd9-01 drbdadm[16001]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:16 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source exit code 0 (0x0)
Feb 10 10:21:16 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( Ahead ->
SyncSource )
Feb 10 10:21:16 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: Began resync as
SyncSource (will sync 1388236 KB [347059 bits set]).
Feb 10 10:21:16 drbd9-01 kernel: drbd r0/0 drbd1: Congestion-fill threshold
reached
Feb 10 10:21:16 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( SyncSource
-> Ahead )
Feb 10 10:21:17 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source
Feb 10 10:21:17 drbd9-01 drbdadm[16003]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:17 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source exit code 0 (0x0)
Feb 10 10:21:17 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( Ahead ->
SyncSource )
Feb 10 10:21:17 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: Began resync as
SyncSource (will sync 1455996 KB [363999 bits set]).
Feb 10 10:21:17 drbd9-01 kernel: drbd r0/0 drbd1: Congestion-fill threshold
reached
Feb 10 10:21:17 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( SyncSource
-> Ahead )
Feb 10 10:21:19 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source
Feb 10 10:21:19 drbd9-01 drbdadm[16005]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:19 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source exit code 0 (0x0)
Feb 10 10:21:19 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( Ahead ->
SyncSource )
Feb 10 10:21:19 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: Began resync as
SyncSource (will sync 1470728 KB [367682 bits set]).
Feb 10 10:21:19 drbd9-01 kernel: drbd r0: role( Primary -> Secondary )
Feb 10 10:21:26 drbd9-01 kernel: drbd r0: Preparing cluster-wide state
change 2409611497 (0->-1 3/1)
Feb 10 10:21:26 drbd9-01 kernel: drbd r0: State change 2409611497:
primary_nodes=1, weak_nodes=FFFFFFFFFFFFFFFC
Feb 10 10:21:26 drbd9-01 kernel: drbd r0: Committing cluster-wide state
change 2409611497 (5ms)
Feb 10 10:21:26 drbd9-01 kernel: drbd r0: role( Secondary -> Primary )
Feb 10 10:21:26 drbd9-01 kernel: drbd r0/0 drbd1: Congestion-fill threshold
reached
Feb 10 10:21:26 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( SyncSource
-> Ahead )
Feb 10 10:21:27 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source
Feb 10 10:21:27 drbd9-01 drbdadm[16015]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:27 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source exit code 0 (0x0)
Feb 10 10:21:27 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( Ahead ->
SyncSource )
Feb 10 10:21:27 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: Began resync as
SyncSource (will sync 1482248 KB [370562 bits set]).
Feb 10 10:21:27 drbd9-01 kernel: drbd r0/0 drbd1: Congestion-fill threshold
reached
Feb 10 10:21:27 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( SyncSource
-> Ahead )
Feb 10 10:21:30 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source
Feb 10 10:21:30 drbd9-01 drbdadm[16018]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:30 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: helper command:
/sbin/drbdadm before-resync-source exit code 0 (0x0)
Feb 10 10:21:30 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: repl( Ahead ->
SyncSource )
*Feb 10 10:21:30 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: Began resync as
SyncSource (will sync 1486580 KB [371645 bits set]).
<---------------------------- jhkim) (1) un-ended resyncing !!!*
Feb 10 10:22:00 drbd9-01 systemd-udevd: worker [16013]
/devices/virtual/block/drbd1 timeout; kill it
Feb 10 10:22:00 drbd9-01 systemd-udevd: seq 4300
'/devices/virtual/block/drbd1' killed
Feb 10 10:24:31 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: updated UUIDs
A51A2414653ACDF6:0000000000000000:93820941D9134B64:118748C8BC9B0A70
Feb 10 10:24:31 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: unexpected
Feb 10 10:24:31 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: In UUIDs from
node 1 found equal UUID (A51A2414653ACDF6) for nodes 2 3
Feb 10 10:24:31 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: I have
118748C8BC9B0A70 for node_id=2
Feb 10 10:24:31 drbd9-01 kernel: drbd r0/0 drbd1 drbd9-02: I have
118748C8BC9B0A70 for node_id=3
Feb 10 10:30:01 drbd9-01 systemd: Starting Session 133 of user root.
Feb 10 10:30:01 drbd9-01 systemd: Started Session 133 of user root.


2) node2

Feb 10 10:19:39 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( Behind ->
SyncTarget )
Feb 10 10:19:39 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: Began resync as
SyncTarget (will sync 1275596 KB [318899 bits set]).
Feb 10 10:20:01 drbd9-02 systemd: Starting Session 172 of user root.
Feb 10 10:20:01 drbd9-02 systemd: Started Session 172 of user root.
Feb 10 10:20:50 drbd9-02 kernel: drbd r0 drbd9-01: peer( Primary ->
Secondary )
Feb 10 10:21:07 drbd9-02 kernel: drbd r0 drbd9-01: Preparing remote state
change 3119941021 (primary_nodes=0, weak_nodes=0)
Feb 10 10:21:07 drbd9-02 kernel: drbd r0 drbd9-01: Committing remote state
change 3119941021
Feb 10 10:21:07 drbd9-02 kernel: drbd r0 drbd9-01: peer( Secondary ->
Primary )
Feb 10 10:21:07 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( SyncTarget
-> Behind )
Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target
Feb 10 10:21:08 drbd9-02 drbdadm[50628]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target exit code 0 (0x0)
Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( Behind ->
SyncTarget )
*Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: Began resync as
SyncTarget (will sync 1065028 KB [266257 bits set]).*
*Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1: ASSERT FAILED cstate =
SyncTarget, expected: WFSyncUUID|WFBitMapT|Behind*
*Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1: ASSERT FAILED cstate =
SyncTarget, expected: WFSyncUUID|WFBitMapT|Behind*
*Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1: ASSERT FAILED cstate =
SyncTarget, expected: WFSyncUUID|WFBitMapT|Behind*
*Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1: ASSERT FAILED cstate =
SyncTarget, expected: WFSyncUUID|WFBitMapT|Behind*
*Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1: ASSERT FAILED cstate =
SyncTarget, expected: WFSyncUUID|WFBitMapT|Behind*

*(1) **ASSERT FAILED** occured!!!!!!!!!!!!!!*

*Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1: ASSERT FAILED cstate =
SyncTarget, expected: WFSyncUUID|WFBitMapT|Behind*
*Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1: ASSERT FAILED cstate =
SyncTarget, expected: WFSyncUUID|WFBitMapT|Behind*
*Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1: ASSERT FAILED cstate =
SyncTarget, expected: WFSyncUUID|WFBitMapT|Behind*
*Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1: ASSERT FAILED cstate =
SyncTarget, expected: WFSyncUUID|WFBitMapT|Behind*
*Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1: ASSERT FAILED cstate =
SyncTarget, expected: WFSyncUUID|WFBitMapT|Behind*
Feb 10 10:21:08 drbd9-02 kernel: drbd r0/0 drbd1: ASSERT FAILED cstate =
SyncTarget, expected: WFSyncUUID|WFBitMapT|Behind
Feb 10 10:21:09 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( SyncTarget
-> Behind )
Feb 10 10:21:10 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target
Feb 10 10:21:10 drbd9-02 drbdadm[50630]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:10 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target exit code 0 (0x0)
Feb 10 10:21:10 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( Behind ->
SyncTarget )
Feb 10 10:21:10 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: Began resync as
SyncTarget (will sync 1169808 KB [292452 bits set]).
Feb 10 10:21:11 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( SyncTarget
-> Behind )
Feb 10 10:21:12 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target
Feb 10 10:21:12 drbd9-02 drbdadm[50640]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:12 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target exit code 0 (0x0)
Feb 10 10:21:12 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( Behind ->
SyncTarget )
Feb 10 10:21:12 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: Began resync as
SyncTarget (will sync 1237568 KB [309392 bits set]).
Feb 10 10:21:12 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( SyncTarget
-> Behind )
Feb 10 10:21:13 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target
Feb 10 10:21:13 drbd9-02 drbdadm[50642]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:13 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target exit code 0 (0x0)
Feb 10 10:21:13 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( Behind ->
SyncTarget )
Feb 10 10:21:13 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: Began resync as
SyncTarget (will sync 1252300 KB [313075 bits set]).
Feb 10 10:21:14 drbd9-02 kernel: drbd r0 drbd9-01: peer( Primary ->
Secondary )
Feb 10 10:21:20 drbd9-02 kernel: drbd r0 drbd9-01: Preparing remote state
change 2409611497 (primary_nodes=0, weak_nodes=0)
Feb 10 10:21:20 drbd9-02 kernel: drbd r0 drbd9-01: Committing remote state
change 2409611497
Feb 10 10:21:20 drbd9-02 kernel: drbd r0 drbd9-01: peer( Secondary ->
Primary )
Feb 10 10:21:20 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( SyncTarget
-> Behind )
Feb 10 10:21:21 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target
Feb 10 10:21:21 drbd9-02 drbdadm[50644]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:21 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target exit code 0 (0x0)
Feb 10 10:21:21 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( Behind ->
SyncTarget )
Feb 10 10:21:21 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: Began resync as
SyncTarget (will sync 1263820 KB [315955 bits set]).
Feb 10 10:21:23 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( SyncTarget
-> Behind )
Feb 10 10:21:24 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target
Feb 10 10:21:25 drbd9-02 drbdadm[50647]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:21:25 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm before-resync-target exit code 0 (0x0)
Feb 10 10:21:25 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( Behind ->
SyncTarget )
Feb 10 10:21:25 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: Began resync as
SyncTarget (will sync 1260340 KB [315085 bits set]).
Feb 10 10:24:25 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: Resync done
(total 180 sec; paused 0 sec; 7000 K/sec)
Feb 10 10:24:25 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: updated UUIDs
A51A2414653ACDF6:0000000000000000:A51A2414653ACDF6:118748C8BC9B0A70
Feb 10 10:24:25 drbd9-02 kernel: drbd r0/0 drbd1: disk( Inconsistent ->
UpToDate )
Feb 10 10:24:25 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: repl( SyncTarget
-> Established )
Feb 10 10:24:25 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm after-resync-target
Feb 10 10:24:25 drbd9-02 drbdadm[50710]: Don't know which config file
belongs to resource r0, trying default ones...
Feb 10 10:24:25 drbd9-02 kernel: drbd r0/0 drbd1 drbd9-01: helper command:
/sbin/drbdadm after-resync-target exit code 0 (0x0)
Feb 10 10:30:01 drbd9-02 systemd: Starting Session 173 of user root.
Feb 10 10:30:01 drbd9-02 systemd: Started Session 173 of user root.


5. Questions

1)  Why does the resync stop?
        -  check 3.4)" At that point, the primary stats is resync 95.47%
and does not resync anymore."

2)  What is this ASSERT?
        - check 4.2.1)" ASSERT FAILED cstate = SyncTarget, expected:
WFSyncUUID|WFBitMapT|Behind".



Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20160212/904675e2/attachment.htm>


More information about the drbd-user mailing list