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

John Lange john.lange at bighostbox.com
Tue Jul 13 18:52:35 CEST 2004

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


Ah. Well that would explain it.

c# fdisk -s /dev/md3
113193856

So I now have changed disk-size to 113193856 (also divisible by 4).

Thanks.

John

On Tue, 2004-07-13 at 11:40, Lars Ellenberg wrote:
> / 2004-07-13 10:49:33 -0500
> \ John Lange:
> > I have a drbd device running on top of a software raid 0 device and I am
> > getting the kernel message about access beyond the end of device.
> > 
> > Jul 13 10:24:38 castor kernel: attempt to access beyond end of device
> > Jul 13 10:24:38 castor kernel: 2b:00: rw=0, want=111542280, limit=111416992
> > 
> > The drbd.conf indicates that disk-size "is probably best rounded _down_
> > to the next multiple of 4". Accordingly I have the following setting:
> > 
> > disk-size = 111416992k
> > 
> > (yes a 107G large device)
> > 
> > I came up with this number by mounting the raid 0 device normally and
> > doing:
> > 
> > c# df -hk
> > Filesystem           1K-blocks      Used Available Use% Mounted on
> > /dev/md3             111416992   1746544 104010756   2% /opt
> 
> this is the amount of "space within the file system".
> this is not at all the _device_ size.
> this is a very important difference!
> 
> try "fdisk -s /dev/md3"
> 
> 	lge
> _______________________________________________
> 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