[DRBD-user] Re: "out of range" error

Lars Ellenberg lars.ellenberg at linbit.com
Fri Oct 17 12:54:08 CEST 2008

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

On Thu, Oct 16, 2008 at 12:04:19PM -0700, Jeffrey Froman wrote:
> I have a drbd resource that appears to be working correctly. However, 
> when I run "drbdadm -d adjust <resource>" (without changing the 
> working configuration), I get:
>     286744120s: out of range
> This number is the configured size of the drbd disk (see drbd.conf 
> below), but:
> [root ~]# blockdev --getsize /dev/sdc1
> 286744122
> So why am I getting an "out of range" error for an otherwise seeminly 
> working resource?
> Thank you,
> Jeffrey

you normally should not use that config parameter.
since we almost never do, we did not notice yet that there is a bug in
the 's' unit conversion.

simple fix: just DO NOT explicitly set a size.
it is only useful in very special cases if at all.

: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
please don't Cc me, but send to list   --   I'm subscribed

More information about the drbd-user mailing list