[DRBD-user] DRBD Metadata

Schattenfell post at michael-neubert.de
Mon Jul 11 16:08:40 CEST 2011

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

Hi Felix,

online resize is not my question / problem. I just mean the creation of the
drbd metadata when I setup the mentionned fileserver.

So step by step:

Documentation says: "If you are planning to use internal meta data in
conjunction with an existing lower-level device that already has data which
you wish to preserve, you must account for the space required by DRBD's meta
data. Otherwise, upon DRBD resource creation, the newly created metadata
would overwrite data at the end of the lower-level device, potentially
destroying existing files in the process."

So in my case the "existing lower-level device" is the LVM volume, that I

Documentation says: "To avoid that, you must do one of the following things:
Enlarge your lower-level device. This is possible with any logical volume
management facility (such as LVM or EVMS) as long as you have free space
available in the corresponding volume group or container. It may also be
supported by hardware storage solutions.  OR   Shrink your existing file
system on your lower-level device. This may or may not be supported by your
file system.

You may calculate the exact space requirements for DRBD's meta data using
the following formula..."

The docu is here really confusing, what to do: "Enlarge your lower-level
device" OR "Shrink your existing file system on your lower-level device".
Thats just nonesense in my eyes.

Best wishes
View this message in context: http://old.nabble.com/DRBD-Metadata-tp32036519p32037793.html
Sent from the DRBD - User mailing list archive at Nabble.com.

More information about the drbd-user mailing list