[DRBD-user] slightly different partition sizes

Florian Haas florian.haas at linbit.com
Tue Dec 16 09:45:51 CET 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 2008-12-16 09:04, Martin Winkler wrote:
> Hi all,
> 
> I have a relatively new drbd setup and just realized that there is a
> slight difference in size on the partitions I am using:
> node1: /dev/sda3 (/dev/drbd0): 232717558 blocks, ext3
>        /dev/sdb1 (/dev/drbd1): 232717590 blocks, ext3
> 
> node2: /dev/sda3 (/dev/drbd1): 232717558 blocks, ext3
>        /dev/sdb1 (/dev/drbd0): 232717590 blocks, ext3

You realize you're breaking an established convention by naming a device
/dev/drbd0 on one node and /dev/drbd1 on the other, and doing the
opposite for a different device? Not that that's likely to break
anything, you'll just be confusing people to no ends if you ever run
into an issue and post it here.

> The metadata is always on a different partition.
> After the sync DRBD did not raise any error as far as I can tell,
> and /proc/drbd says the drives are fully UpToDate.
> 
> Now my question: Is this difference significant if drbd did not raise
> any errors? I am feeling a bit uncomfortable here. What should I do to
> make the same sizes in case there is a problem with my setup?

What DRBD version are you on?

Cheers,
Florian

-- 
: Florian G. Haas
: LINBIT Information Technologies GmbH
: Vivenotgasse 48, A-1120 Vienna, Austria

When replying, there is no need to CC my personal address. I monitor the
list on a daily basis. Thank you.

DRBD® and LINBIT® are registered trademarks of LINBIT.



More information about the drbd-user mailing list