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

John Lange john.lange at bighostbox.com
Tue Jul 13 17:49:33 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.


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

As that number is evenly divisible by 4 thats what I used.

Have I misunderstood how to come up with that number? Why would it be
trying to access 111542280 when thats well about the limit=111416992 ?

Thanks for any help.

-- 
John Lange





More information about the drbd-user mailing list