[DRBD-user] DRBD initial sync crashes primary

Doug Utzig dutzig at yahoo.com
Tue Mar 23 21:19:55 CET 2004

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


I'm evaluating DRBD and having issues with the initial
sync.  Below is the drbd.conf file and the info
reported to the console.

Thank you in advance.

I start up drbd manually using "/etc/init.d/drbd
start" on both systems.  I make the first system
primary.

- Before each attempt, I remove /var/lib/drbd/drbd0.
- During the initial resync, the underlying disks are
not being used for any other purpose (i.e. the primary
is otherwise idle).
- Primary crashes regardless of which system is
primary.
- I've tried the config using both the 100Mbit and
Gbit cards, but resync using either fails.  The
primary crashes more quickly when using Gbit.
- I did have resync succeed once, but I'm not sure the
steps that led up to it.  Once the resync was
complete, both sides were Secondary (per /proc/drbd). 
In order to use it, one side had to be promoted to
Primary.

Linux: RedHat AS2.1 2.4.9-e.25enterprise
CPU:   4x2.80GHz Xeon
RAM:   6GB
NIC:   10/100 Intel PRO/1000 using e1000 driver
       1Gbit Broadcom BCM5701 using bcm5700 driver

# cat /etc/drbd.conf
resource drbd0 {

  protocol = C
  fsckcmd  = /bin/true

  disk {
#    disk-size = 139668736k
  }

  net {
    sndbuf-size = 8M 
    sync-min    = 500k
    sync-max    = 15M
    sync-nice   = -18
    tl-size     = 10000
    timeout     = 60
    connect-int = 10
    ping-int    = 10
    ko-count    = 4
  }

  on dglnx4 {
    device  = /dev/nb0
    disk    = /dev/sdc1
#    address = 11.1.1.2
    address = 192.168.123.29
    port    = 7788
  }

  on dglnx5 {
    device  = /dev/nb0
    disk    = /dev/sdc1
#    address = 10.1.1.4
    address = 192.168.123.30
    port    = 7788
  }
}




CPU:    2
EIP:    0010:[<c01249f1>]   Not tainted
EFLAGS: 00010086
EIP is at mod_timer [kernel] 0x131
eax: f4a8adbc   ebx: c039efc0   ecx: c03a1000   edx:
00000000
esi: f4a8adbc   edi: 00000202   edp: 00000001   esp:
f384be68
ds: 0018   es: 0018   ss: 0018
Process drbd_syncer_0 (pid: 3968, stackpage=f384b000)
Stack: 00000000 00000000 f4a8ac00 f342f540 f8aeb21e
f4a8adbc 001670e5 00000000
       00000001 00001018 ffffffff ffffffff f384bea4
c012136d f62da018 f62da07c
       67027483 00100000 00000000 04c33f00 ffffffff
ffffffff 00000000 0000000c
Call Trace: [<f8aeb21e>] drbd_send_block [drbd] 0xee
[<c012136d>] __run_task_queue [kernel] 0x5d
[<f8af0824>] ds_buffer_send [drbd] 0x54
[<f8af0f88>] drbd_syncer [drbd] 0x418
[<f8af08d0>] ds_sync_all_get_blk [drbd] 0x0
[<f8af08d0>] ds_sync_all_get_blk [drbd] 0x0
[<c0120150>] sys_wait4 [kernel] 0x3f0
[<f8aea92e>] drbd_thread_setup [drbd] 0x1e
[<c0105836>] arch_kernel_thread [kernel] 0x26
[<f8aea910>] drbd_thread_setup [drbd] 0x0

Code: 89 72 04 89 16 89 46 04 89 30 89 4e 14 74 07 39
d9 74 03 c6

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html



More information about the drbd-user mailing list