[DRBD-user] Fresh DRBD installation

Lars Ellenberg Lars.Ellenberg at linbit.com
Fri Aug 26 15:56:44 CEST 2005

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


/ 2005-08-26 15:46:31 +0200
\ jlarrea at gadisa.es:

> <FONT face="Sans Serif predeterminado,Verdana,Arial,Helvetica,sans-serif" size=2>
argl.
don't use html in mail.
much less so in list mail.
html is for websites.

> I've been playing with DRBD for a while and now I want to set up a 'fresh
> installation' without having to reinstall the whole OS and software. I've tried
> with drbdadm invalidate, with dd /dev/zero to the phisical device, mkfs, and so
> on and I allways notice that the size of drbd partitions don't match the real
> drive size. What can I do?

I don't quite understand your question, so I'll take a guess.
maybe you configured drbd0 on top of sda3 using internal meta data?

 fdisk -s /dev/sda3  21567231
 fdisk -s /dev/drbd0 21436159

drbd size is 128 MB smaller than sda3 size.
well, you configured drbd to use internal meta data.
that means, as documented in bold letter, that the last 128MB of the
lower level device are reserved for drbds meta data.
so the storage size exported to our users is obviously 128MB smaller.

does this answer your question?


-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list