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

Francis I. Malolot francis_m at proware.com.tw
Fri Oct 7 13:08:11 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.


But we double check our volume,all nodes has the size
it had all 1.5TB.See below the xfs_info of both nodes.

We can only encountered this problem if  volume is more than 1TB. ^



But my guts tell me that there is something wrong so
We carry out  anothere fs test. We test  EXT3
with the same size and everything is the same.
the result is what we expect, its okey..

Is this something to do with compatibility issue of xfs & lvm?



xfs info of Active server ::
meta-data=/mnt/NAS/TERA     isize=256    agcount=32, agsize=12000256 blks
              =                                 sectsz=512
data        =                          bsize=4096   blocks=384008192, 
imaxpct=25
              =                          sunit=0      swidth=0 blks, 
unwritten=1
naming   =version 2             bsize=4096
log          =internal               bsize=4096   blocks=32768, version=1
              =                          sectsz=512   sunit=0 blks
realtime  =none                   extsz=65536  blocks=0, rtextents=0



Xfs Infor of Remote Server::
meta-data=/mnt/NAS/TERA       isize=256    agcount=32, agsize=12000256 blks
         =                       sectsz=512
data     =                      bsize=4096   blocks=384008192, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2      bsize=4096
log      =internal           bsize=4096   blocks=32768, version=1
         =                       sectsz=512   sunit=0 blks
realtime =none             extsz=65536  blocks=0, rtextents=0





----- Original Message ----- 
From: "Lars Ellenberg" <Lars.Ellenberg at linbit.com>
To: <drbd-user at lists.linbit.com>
Sent: Thursday, October 06, 2005 7:47 PM
Subject: Re: [DRBD-user] attempt to access beyond end of device



/ 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.
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user 





More information about the drbd-user mailing list