[DRBD-user] disk-size to no more than 33125888

Lars Ellenberg Lars.Ellenberg at linbit.com
Mon Feb 23 17:00:06 CET 2004

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

/ 2004-02-23 16:10:55 +0100
\ thomas:
> Hello,
> I started my drbd and got the following message:
> /etc/init.d/drbd start
> drbd: pre-parsed needs update, parsing /etc/drbd.conf
> BLKSSZGET: Invalid argument
> drbd: warning: could not get sector size of /dev/md0, assuming 512
> drbd: disk-size not specified.
> drbd: you should set disk-size to no more than 33125888

The MD driver does not support the standard block device ioctl
BLKSSZGET, but the assumtion 512 byte hard sector size hold true.

The script does a basic sanity check for your configuration, and
gives you a hint about what it thinks the local lower level
physical device size is.  You might need to set it lower than
that, because it is possible that the other nodes lower level
physical device is smaller.

> Setting up 'drbd0' .. disk ok .. net .. OK
> What is the maximum size of an drbd-drive? 

With linux 2.4 the same as for the linux kernel: 2TB.
With 2.6: even more than enough ...
This has nothing to do with the message above, though.

	Lars Ellenberg

More information about the drbd-user mailing list