[DRBD-user] Considerable difference in lower level device sizes: 1975792s vs. 39086082s

Lars Ellenberg lars.ellenberg at linbit.com
Wed Jul 30 14:27:12 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 Wed, Jul 30, 2008 at 01:43:44PM +0200, Schmidt, Florian wrote:
> Hello everyone, 
> 
> after one of my servers crashed I had some issues with broken MBR.
> 
> While recovering this I also erased all drbd-partitions and created them
> new (with the same size, same order etc.) via fdisk.
> 
> Now I wanted to start DRBD again and it won't come up logging the above
> message to dmesg.

why not paste in the excerpt of the kernel log,
from handshake to disconnect?

I don't think that is the message in there.
look on both nodes.

what is "won't come up"?
can you attach the disk?
can you make it primary? 

sorry, but there are too many shades of "does not work".
be more precise.

> As you can see, the drbd-devices always use the same physical devices
> on each node.
> 
> Now fdisk -l prints this: on both on BOTH nodes:
> 
> # fdisk -l
> 
> Disk /dev/sda: 159.8 GB, 159865782272 bytes
> 255 heads, 63 sectors/track, 19435 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1         131     1052226   83  Linux
> /dev/sda2             132        3318    25599577+  83  Linux
> /dev/sda3            3319        4593    10241437+  83  Linux
> /dev/sda4            4594       19435   119218365    5  Extended
> /dev/sda5            4594        5103     4096543+  82  Linux swap /
> Solaris
> /dev/sda6            5104        6320     9775521   83  Linux
> /dev/sda7            6321        7537     9775521   83  Linux
> /dev/sda8            7538        9970    19543041   83  Linux
> /dev/sda9            9971       10093      987966   83  Linux
> 
> 
> It's exactly the same on both nodes.

and that I don't believe you :)

compare output of "sfdisk -d" on both nodes.
compare the output of "cat /proc/partitions" on both nodes.

aparently you are trying to connect your 960 MB partition on one node
with the 19GB partition on the other.

> I also created new metadata on the nod with the wrong data, but without
> any success.

what is "without success"?
did the creation of the meta data fail?

-- 
: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
__
please don't Cc me, but send to list -- I'm subscribed



More information about the drbd-user mailing list