[DRBD-user] Re: increasing drbd device size

manjo manjok at gmail.com
Sat May 12 06:45:41 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.


manjo <manjok at ...> writes:
> 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
> capacity?


Problem solved! Thought I will post it.

I was missing the step of resizing the filesystem on the raided
volume. My raided volume was called md1. Calling
"resize_reiserfs /dev/md1" on both the nodes solved
the problem. Earlier I was only calling "drbdadm resize all"
followed by "reisize_reiserfs /dev/drbd0" on both nodes.

Also after the resize, I was not able to mount drbd0 on
either nodes. Unknown superblock error. Running fsck fixed
that issue.




More information about the drbd-user mailing list