[DRBD-user] Resizing while Secondary is OFF-Line?

Andreas Kurz andreas at hastexo.com
Mon Dec 12 11:23:22 CET 2011

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


Hello Christian,

On 12/12/2011 08:22 AM, Christian Völker wrote:
> Hi,
> 
> I have a two-node pri/sec setup here. Currently the secondary is
> offline and I when it'll go online it'll be a fresh installed node.
> Full sync then.
> 
> But I need to increase the size of the primary device now.
> 
> Having read http://www.drbd.org/users-guide/s-resizing.html I now
> don't fulfill the second criteria as the primary is not in state
> "Connected"- instad in WFConncetion (as expected).
> 
> Now I'm unsure if I can easily grow the device while online. Or do I
> have to go the off-line way (using internal meta-data)?
> 
> Any hint?
> 
> Otherwise I'd expect just to grow the underlying LVM and then do a
> "drbadm resize drbd0". Will this do any harm?

You can also do a "single-node" resize of DRBD using the
"--assume-peer-has-space" extra parameter. Though the next connection
attempt with the secondary will fail as long you don't resize underlying
disk there too.

Regards,
Andreas

-- 
Need help with DRBD?
http://www.hastexo.com/now


> 
> Greetings
> 
> Christian
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 286 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20111212/ebd869df/attachment.pgp>


More information about the drbd-user mailing list