Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
<quote who="matthias zeichmann" when="Fri, 30 Jan 2004 16:04:21 +0100"/> replying to myself... > i tried this: > set disk-size on beton in drbd.conf to 1992300 > on mz to 9612100 > i used the output of 'df -k' for the values of disk-size that was wrong of course, i did another try with disk-size matching the output of "fdisk -l". that makes the "bitmap too small" and "no bitmap!" messages on the sending side disappear, but sync does not happen: ------>8----------------------------------------------------------- Jan 30 16:42:50 beton kernel: drbd: initialised. Version: 0.6.10+cvs (api:64/proto:62) Jan 30 16:42:51 beton kernel: drbd0: Creating state file Jan 30 16:42:51 beton kernel: "/var/lib/drbd/drbd0" Jan 30 16:42:51 beton kernel: klogd 1.4.1, ---------- state change ---------- Jan 30 16:42:51 beton kernel: Loaded 151 symbols from 9 modules. Jan 30 16:43:04 beton kernel: drbd0: blksize=1024 B Jan 30 16:43:04 beton kernel: drbd0: blksize=4096 B Jan 30 16:43:04 beton kernel: kjournald starting. Commit interval 5 seconds Jan 30 16:43:04 beton kernel: EXT3 FS 2.4-0.9.17, 10 Jan 2002 on drbd(43,0), internal journal Jan 30 16:43:04 beton kernel: EXT3-fs: mounted filesystem with ordered data mode. ------>8----------------------------------------------------------- root at mz:mz# /etc/init.d/drbd start drbd: pre-parsed needs update, parsing /etc/drbd.conf .......................................... Setting up 'drbd0' .. disk ok .. net .. OK ioctl(wait_connect): Transport endpoint is not connected drbd: WARNING: 'drbd0' no connection, and not trying to reconnect! drbd: I'll let the cluster manager decide on 'drbd0'... drbd: drbd0 done. drbd: 'drbd0' still not in Connected state, but StandAlone root at mz:mz# ------>8----------------------------------------------------------- Jan 30 16:50:49 mz kernel: drbd: initialised. Version: 0.6.10+cvs (api:64/proto:62) Jan 30 16:50:50 mz kernel: drbd0: Creating state file Jan 30 16:50:50 mz kernel: "/var/lib/drbd/drbd0" Jan 30 16:50:50 mz kernel: klogd 1.4.1, ---------- state change ---------- Jan 30 16:50:50 mz kernel: Loaded 500 symbols from 24 modules. Jan 30 16:50:50 mz kernel: drbd0: Your size hint is bogus!change it to 2024158 Jan 30 16:50:50 mz kernel: drbd0: Connection lost. Jan 30 16:50:50 mz kernel: drbd0: Your size hint is bogus!change it to 2024158 Jan 30 16:50:50 mz kernel: drbd0: Connection lost. [floods logs] ------>8----------------------------------------------------------- Jan 30 16:50:50 beton kernel: drbd0: Connection established. size=2024158 KB / blksize=4096 B Jan 30 16:50:50 beton kernel: drbd0: Synchronisation started blks=15 Jan 30 16:50:50 beton kernel: drbd0: [drbd_syncer_0/29584] send timed out!! Jan 30 16:50:50 beton kernel: drbd0: Syncer send failed. Jan 30 16:50:50 beton kernel: drbd0: Connection lost. Jan 30 16:50:50 beton kernel: drbd0: Connection established. size=2024158 KB / blksize=4096 B Jan 30 16:50:50 beton kernel: drbd0: Synchronisation started blks=15 Jan 30 16:50:50 beton kernel: drbd0: [drbd_syncer_0/29586] send timed out!! Jan 30 16:50:50 beton kernel: drbd0: Syncer send failed. Jan 30 16:50:50 beton kernel: drbd0: Connection lost. [repeated all over] ------>8----------------------------------------------------------- beton:root# cat /proc/drbd version: 0.6.10+cvs (api:64/proto:62) 0: cs:SyncingAll st:Primary/Secondary ns:220404 nr:0 dw:32 dr:320854 pe:32 ua:0 [>...................] sync'ed: 0.1% (1976/1976)M finish: 1:53:26h speed: 236 (236) K/sec beton:root# cat /proc/drbd version: 0.6.10+cvs (api:64/proto:62) 0: cs:WFConnection st:Primary/Unknown ns:333320 nr:0 dw:32 dr:486514 pe:0 ua:0 NEEDS_SYNC beton:root# ------>8----------------------------------------------------------- root at mz:mz# cat /proc/drbd version: 0.6.10+cvs (api:64/proto:62) 0: cs:WFConnection st:Secondary/Unknown ns:0 nr:0 dw:0 dr:0 pe:0 ua:0 root at mz:mz# cat /proc/drbd version: 0.6.10+cvs (api:64/proto:62) 0: cs:StandAlone st:Secondary/Unknown ns:0 nr:0 dw:0 dr:0 pe:0 ua:0 root at mz:mz# ------>8----------------------------------------------------------- drbd on beton is flapping between SyncingAll and WFConnection on mz between StandAlone and WFConnection after a while (~10 mins) the flodding of the logs stops and only "Connection lost" messages appear on both sides in intervals of 1 to 5 minutes... my drbd.conf taken from beton ------>8----------------------------------------------------------- resource drbd0 { protocol=B fsckcmd=fsck -p -y # inittimeout=60 disk { disk-size=2024158 # do-panic } net { sync-rate=60000 # skip-sync tl-size=5000 timeout=60 connect-int=10 ping-int=10 sync-nice=0 } on mz { device=/dev/nb0 disk=/dev/hda7 address=10.1.0.23 port=7788 } on beton { device=/dev/nb0 disk=/dev/sda13 address=10.1.0.245 port=7788 } } ------>8----------------------------------------------------------- on mz it is identical except of the disk-size parameter. these two machines are not connected via dedicated network, but it is just a test after all... regards m -- vi vi vi - editor of the beast vim vim vim - editor of the *ALL* *NEW* improved beast -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20040130/33707ae4/attachment.pgp>