[DRBD-user] Re: increasing drbd device size

manjo manjok at gmail.com
Thu Apr 26 16:26:21 CEST 2007

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

Lars Ellenberg <lars.ellenberg at ...> writes:

> if you add more physical storage,
> you propagate that change up the stack:
> tell the abstraction layers, if any,
> that there is more physical storage.
> then tell drbd that the lower level devices are larger now.
> on both nodes.
> verify that it indeed now announces the expected size.
> then,
> and only then,
> and not one second before,
> tell the file system about it.


Appreciate the reply.

I realized I should not have formatted my new raided drives
before adding them to drbd. Anyhow, as I mentioned in my post,
I did do a full resync afterwords (it was automatic). So now my
drbd mirror is functioning well with 450G size on 750G
capacity physical disks. The device is named drbd0. 

Should I now call drbdadm resize on both machines and then do
resize_reiserfs drbd0 on both machines? When doing filesystem
resize do I still have to specify a size 128M less than the disk


More information about the drbd-user mailing list