[DRBD-user] DRBD over an existing filesystem

Lars Ellenberg Lars.Ellenberg at linbit.com
Fri Mar 26 11:22:06 CET 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-03-26 14:58:39 +0530
\ En Chiang Lee:
> Hi Lars,
> 
> Using DRBD over an existing fs seems to work with fs size <1G. Here are
> the sizes I tried:
> 
> 512M (fs block size = 1024) -- fsck works fine
> 1G (fs block size = 4096) -- fsck fails with mismatched sizes
> 1G (fs block size = 1024) -- fsck fails with mismatched sizes
> 
> In all these cases, meta-disk is another partition (i.e. not internal)

how big is the difference?
how big is the *peer* device?

fdisk -s /dev/hde2

in each case,
 what does read_gc.pl report? (its in ./testing/ of the drbd source tree)
 fdisk -s /dev/nbd/0
 # assuming ext3 :
 dumpe2fs -h /dev/nbd/0 | grep "^Block "
 drbdsetup /dev/nbd/0 show


> On Fri, 2004-03-26 at 14:11, En Chiang Lee wrote:
> > Hi Lars,
> > 
> > I changed the drbd.conf to:
> > 
> >   on dlssi3 {
> >     device=/dev/nbd/0
> >     disk=/dev/hde2
> >     address=15.70.191.200
> >     port=7788
> >     meta-disk=/dev/hde5
> >     meta-index=0
> >   }
> > 
> > where /dev/hde2 is 10G and /dev/hde5 is 1G. I'm attaching a file with
> > the output of starting the drbd device and the fsck failure. Also
> > attached is the drbd.conf. Note that the second node has not been
> > started at this point.
> > 
> > What am I doing wrong?



More information about the drbd-user mailing list