[DRBD-user] migrating to a larger DRBD device

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Oct 12 15:55:47 CEST 2004

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

/ 2004-10-12 12:25:46 +1000
\ campbellm at cia.com.au:
> > 
> > 
> > drbd is a block device, not a file system.
> > since drbd is a replicated block device, its announced size can not be
> > larger than the smallest replica.
> > since it is not the file system,
> > you need to resize the filesystem on top of it, too.
> Aha. That would explain why when the device remounted it showed up as the old 
> size of 3GB after I resized the lower level device to 50GB. In the end,
> I backed up the device, and made a new filesystem on the DRBD device,
> and remounted it. It showed the full size fine. I didn't feel confident
> enough using the drbdsetup resize option.

well, drbdsetup resize hadn't been enough.
as pointed out, you'd need to use resize2fs
or resize_reiserfs or similar...

	Lars Ellenberg

please use the "List-Reply" function of your email client.

More information about the drbd-user mailing list