[DRBD-user] attempt to access beyond end of device

Lars Ellenberg Lars.Ellenberg at linbit.com
Thu Oct 6 13:47:07 CEST 2005

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


/ 2005-10-06 10:36:27 +0800
\ Francis I. Malolot:
> Actually we are using an external meta-data disk.
> with drbd 0.7.13 on top of  xfs & lvm.Our
> problem only in this disk size range   1.2TB ~ 1.5TB
> we can only encounter this issue on that range
> but 2tb is okey(Very unusual)..  Is this something to do with the disk 
> health?

ok. then, your lower level devices on the two nodes are not of the same
size, and you created the file system on the larger one.
now they connect, and DRBD can only "export" the minimum of the device
sizes to user space.

let me quote from the log below:

first creation of state block:
> drbd0: 1536032768 KB now marked out-of-sync by on disk bit-map.

after handshake:
> drbd0: 1535508480 KB now marked out-of-sync by on disk bit-map.
these are 3071016960 sectors, which is later the "limit"
in the "attempt ..." messages.

> drbd0: rw=0, want=3072065536, limit=3071016960

whereas XFS still thinks it has 3072065536 sectors,
and tries to use them.

does that make sense to you?

	Lars

/ 2005-10-05 17:41:49 +0800
\ Francis I. Malolot:
> What does this means?
> 
> drbd0: Creating state block
> drbd0: resync bitmap: bits=384008192 words=12000256
> drbd0: size = 1464 GB (1536032768 KB)
> drbd0: 1536032768 KB now marked out-of-sync by on disk bit-map.
> drbd0: Assuming that all blocks are out of sync (aka FullSync)
> drbd0: 1536032768 KB now marked out-of-sync by on disk bit-map.
> drbd0: drbdsetup [5263]: cstate Unconfigured --> StandAlone
> drbd0: drbdsetup [5447]: cstate StandAlone --> Unconnected
> drbd0: drbd0_receiver [5448]: cstate Unconnected --> WFConnection
> drbd0: drbd0_receiver [5448]: cstate WFConnection --> WFReportParams
> drbd0: Handshake successful: DRBD Network Protocol version 74
> drbd0: resync bitmap: bits=383877120 words=11996160
> drbd0: size = 1464 GB (1535508480 KB)
> drbd0: 1535508480 KB now marked out-of-sync by on disk bit-map.
> drbd0: Connection established.
> drbd0: I am(S): 0:00000001:00000001:00000001:00000001:01
> drbd0: Peer(S): 0:00000001:00000001:00000001:00000001:00
> drbd0: drbd0_receiver [5448]: cstate WFReportParams --> Connected
> drbd0: I am inconsistent, but there is no sync? BOTH nodes inconsistent!
> drbd0: Secondary/Unknown --> Secondary/Secondary
> drbd0: Secondary/Secondary --> Primary/Secondary
> drbd0: I am(P): 1:00000002:00000001:00000001:00000001:11
> drbd0: Peer(S): 0:00000001:00000001:00000001:00000001:01
> drbd0: drbd0_receiver [5448]: cstate Connected --> WFBitMapS
> drbd0: drbd0_receiver [5448]: cstate WFBitMapS --> SyncSource
> drbd0: Resync started as SyncSource (need to sync 1535508480 KB [383877120 bits set]).
> attempt to access beyond end of device
> drbd0: rw=0, want=3072065536, limit=3071016960
> I/O error in filesystem ("drbd0") meta-data dev drbd0 block 0xb71bffff 
> ("xfs_read_buf") error 5 buf count 512
> XFS: size check 2 failed
> attempt to access beyond end of device
> drbd0: rw=0, want=3072065536, limit=3071016960
> I/O error in filesystem ("drbd0") meta-data dev drbd0 block 0xb71bffff 
> ("xfs_read_buf") error 5 buf count 512
> XFS: size check 2 failed
> attempt to access beyond end of device
> drbd0: rw=0, want=3072065536, limit=3071016960
> I/O error in filesystem ("drbd0") meta-data dev drbd0 block 0xb71bffff 
> ("xfs_read_buf") error 5 buf count 512
> XFS: size check 2 failed
> attempt to access beyond end of device
> drbd0: rw=0, want=3072065536, limit=3071016960
> I/O error in filesystem ("drbd0") meta-data dev drbd0 block 0xb71bffff 
> ("xfs_read_buf") error 5 buf count 512
> XFS: size check 2 failed
> attempt to access beyond end of device
> drbd0: rw=0, want=3072065536, limit=3071016960
> I/O error in filesystem ("drbd0") meta-data dev drbd0 block 0xb71bffff 
> ("xfs_read_buf") error 5 buf count 512
> XFS: size check 2 failed

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list