[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drbd-user
Subject:    Re: [DRBD-user] disk-size to no more than 33125888
From:       Lars Ellenberg <Lars.Ellenberg () linbit ! com>
Date:       2004-02-23 16:00:06
Message-ID: afRPCScKHiwYzXkDR/aHGt4=lge () web ! de
[Download RAW message or body]

/ 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic