Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, I m trying to setup DRBD between two machines. I m not quite sure about the procedure... I got both connected and fully synchronized but when I try to mount or create the filesystem in /dev/nb0 nothing happens and seems to be freezed. I m using drbd-0.7.5-0.3 This is what I did: 1.Created partition /dev/hda3 (3GB, reiserfs, without mount point). 2. Edited /etc/drbd.conf to add resource. 3. /etc/init.d/drbd start (asks for partner during a couple of seconds) 4. drbdsetup /dev/nb0 primary 5. mkfs.reiserfs /dev/nb0 6. mount /dev/nb0 /mnt In this points is where it seems to fail and freeze. And found some errors in /var/log/messages # tail /var/log/messages Feb 22 16:28:22 ha1 kernel: drbd: initialised. Version: 0.7.5 (api:77/proto:74) Feb 22 16:28:22 ha1 kernel: drbd: SVN Revision: 1621 build by root at dale, 2004-12-15 16:02:24 Feb 22 16:28:22 ha1 kernel: drbd: hijacking NBD device major! Feb 22 16:28:22 ha1 kernel: drbd: registered as block device major 43 Feb 22 16:28:23 ha1 /etc/hotplug/block.agent[3386]: try 1 while waiting for /block/drbd0's bus_id Feb 22 16:28:23 ha1 kernel: drbd0: resync bitmap: bits=754409 words=23576 Feb 22 16:28:23 ha1 kernel: drbd0: size = 2946 MB (3017636 KB) Feb 22 16:28:23 ha1 kernel: klogd 1.4.1, ---------- state change ---------- Feb 22 16:28:23 ha1 kernel: drbd0: 0 KB marked out-of-sync by on disk bit-map. Feb 22 16:28:23 ha1 kernel: drbd0: No usable activity log found. Feb 22 16:28:23 ha1 kernel: drbd0: Marked additional 0 KB as out-of-sync based on AL. Feb 22 16:28:23 ha1 kernel: drbd0: drbdsetup [3431]: cstate Unconfigured --> StandAlone Feb 22 16:28:23 ha1 kernel: drbd0: drbdsetup [3433]: cstate StandAlone --> Unconnected Feb 22 16:28:23 ha1 kernel: drbd0: drbd0_receiver [3434]: cstate Unconnected --> WFConnection Feb 22 16:28:24 ha1 /etc/hotplug/block.agent[3386]: try 2 while waiting for /block/drbd0's bus_id Feb 22 16:28:25 ha1 /etc/hotplug/block.agent[3386]: try 3 while waiting for /block/drbd0's bus_id Feb 22 16:28:26 ha1 /etc/hotplug/block.agent[3386]: try 4 while waiting for /block/drbd0's bus_id Feb 22 16:28:27 ha1 /etc/hotplug/block.agent[3386]: try 5 while waiting for /block/drbd0's bus_id Feb 22 16:28:28 ha1 /etc/hotplug/block.agent[3386]: new block device /block/drbd0 Feb 22 16:28:56 ha1 kernel: drbd0: Secondary/Unknown --> Primary/Unknown Feb 22 16:29:59 ha1 kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000 Feb 22 16:29:59 ha1 kernel: printing eip: Feb 22 16:29:59 ha1 kernel: c0163567 Feb 22 16:29:59 ha1 kernel: *pde = 00000000 Feb 22 16:29:59 ha1 kernel: Oops: 0002 [#1] Feb 22 16:29:59 ha1 kernel: CPU: 0 Feb 22 16:29:59 ha1 kernel: EIP: 0060:[<c0163567>] Not tainted Feb 22 16:29:59 ha1 kernel: EFLAGS: 00010216 (2.6.5-7.139-default SLES9_SP1_BRANCH-200501141541330000) Feb 22 16:29:59 ha1 kernel: EIP is at __bio_clone+0x27/0x90 Feb 22 16:29:59 ha1 kernel: eax: 0000000c ebx: 00000000 ecx: 00000003 edx: cbc96800 Feb 22 16:29:59 ha1 kernel: esi: cdfde9e0 edi: 00000000 ebp: cc3c8f8c esp: cbc93b94 Feb 22 16:29:59 ha1 kernel: ds: 007b es: 007b ss: 0068 Feb 22 16:29:59 ha1 kernel: Process mount (pid: 3465, threadinfo=cbc92000 task=cda2b320) Feb 22 16:29:59 ha1 kernel: Stack: cc22be00 00000000 cc3c8f70 cc373800 cbc96800 d0ba0f32 cc3c8f8c 00020616 Feb 22 16:29:59 ha1 kernel: 00000000 cdff0880 00001000 c0160315 c01603b5 cbc93c6c cbc93d54 00000000 Feb 22 16:29:59 ha1 kernel: 00000000 00001000 00000000 cc22be00 00000001 00000000 cdff0980 00008648 Feb 22 16:29:59 ha1 kernel: Call Trace: Feb 22 16:29:59 ha1 kernel: [<d0ba0f32>] drbd_make_request_26+0x312/0xb39 [drbd] Feb 22 16:29:59 ha1 kernel: [<c0160315>] wake_up_buffer+0x5/0x20 Feb 22 16:29:59 ha1 kernel: [<c01603b5>] ll_rw_block+0x45/0x80 Feb 22 16:29:59 ha1 kernel: [<c013dd59>] find_get_page+0x9/0x30 Feb 22 16:29:59 ha1 kernel: [<c015f4a7>] __find_get_block_slow+0x47/0x1a0 Feb 22 16:29:59 ha1 kernel: [<c023411d>] generic_make_request+0x10d/0x1f0 Feb 22 16:29:59 ha1 kernel: [<c011fda0>] autoremove_wake_function+0x0/0x30 Feb 22 16:29:59 ha1 kernel: [<c0234250>] submit_bio+0x50/0xe0 Feb 22 16:29:59 ha1 kernel: [<c01627d8>] bio_alloc+0xb8/0x1a0 Feb 22 16:29:59 ha1 kernel: [<c015efc4>] submit_bh+0x174/0x220 Feb 22 16:29:59 ha1 kernel: [<c0160cc6>] block_read_full_page+0x336/0x340 Feb 22 16:29:59 ha1 kernel: [<c0164680>] blkdev_get_block+0x0/0x50 Feb 22 16:29:59 ha1 kernel: [<c013e1aa>] add_to_page_cache+0x3a/0x110 Feb 22 16:29:59 ha1 kernel: [<c01450ac>] read_pages+0x12c/0x1a0 Feb 22 16:29:59 ha1 kernel: [<c0143d7b>] __alloc_pages+0xbb/0x300 Feb 22 16:29:59 ha1 kernel: [<c01451e8>] do_page_cache_readahead+0xc8/0x130 Feb 22 16:29:59 ha1 kernel: [<c014535b>] page_cache_readahead+0x10b/0x200 Feb 22 16:29:59 ha1 kernel: [<c013f280>] do_generic_mapping_read+0x2f0/0x780 Feb 22 16:29:59 ha1 kernel: [<c013dba0>] file_read_actor+0x0/0xe0 Feb 22 16:29:59 ha1 kernel: [<c014006d>] __generic_file_aio_read+0x18d/0x1f0 Feb 22 16:29:59 ha1 kernel: [<c013dba0>] file_read_actor+0x0/0xe0 Feb 22 16:29:59 ha1 kernel: [<c0140211>] generic_file_read+0x91/0xb0 Feb 22 16:29:59 ha1 kernel: [<c0236290>] exact_match+0x0/0x10 Feb 22 16:29:59 ha1 kernel: [<c01652fb>] do_open+0x25b/0x310 Feb 22 16:29:59 ha1 kernel: [<c011fda0>] autoremove_wake_function+0x0/0x30 Feb 22 16:29:59 ha1 kernel: [<c01653cc>] blkdev_open+0x1c/0x50 Feb 22 16:29:59 ha1 kernel: [<c015a8f6>] dentry_open_it+0xd6/0x1c0 Feb 22 16:29:59 ha1 kernel: [<c015aaa0>] filp_open+0x70/0x80 Feb 22 16:29:59 ha1 kernel: [<c0140180>] generic_file_read+0x0/0xb0 Feb 22 16:29:59 ha1 kernel: [<c015de20>] vfs_read+0xa0/0x130 Feb 22 16:29:59 ha1 kernel: [<c015e081>] sys_read+0x81/0xd0 Feb 22 16:29:59 ha1 kernel: [<c0107db9>] sysenter_past_esp+0x52/0x79 Feb 22 16:29:59 ha1 kernel: Feb 22 16:29:59 ha1 kernel: Code: f3 a5 a8 02 74 02 66 a5 a8 01 74 01 a48b 42 0c 8b 0a 89 45 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20050223/fb3ff15c/attachment.htm>