[DRBD-user] [Q] How do I use drbdsetup resize with LVM and no secondary?

Lars Ellenberg Lars.Ellenberg at linbit.com
Fri Jun 17 21:32:46 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-06-15 10:40:53 -0400
\ Maurice Volaski:
> I have drbd running atop LVM on a primary box. The secondary hardware
> does not exist yet. Can I still resize in this situation or would
> drbdsetup complain there is no corresponding hardware to talk to?

To be honest, I'm not exactly sure...
If it _never_ saw a peer yet, it should work.

> Second, will drbd be able to figure out how big the LVM is and just
> resize on the command "drbd resize" or do I need to specify it and if
> so, do I just use the size given by lvdisplay exactly as it is given?
> I am assuming drbd takes some tiny amount off for its metadata.

it typically should figure by itself.

: 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