[DRBD-user] Re: resize testing

Sean Allin allins at spawar.navy.mil
Wed Mar 16 17:34:49 CET 2005

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

Think narrowed down problem.
Looks like resize2fs is working properly.
Fdisk,however, when I recreate the partition table, is making the 
partition smaller than the filesystem size. Apparently, using size in 
megs for the resize2fs and fdisk commands is not accurate enough.

Sean wrote:
> Hello all,
> Just started testing yesterday the resize2fs in preparation of a drbd 
> version upgrade. OS is Fedora Core 3 with ext3.  Steps I'm trying are:
> resize2fs to shrink the filesystem
> fdisk to resize the partition
> When I try f2sck at this point, can't read any of the superblocks. I've 
> even tried upgrading the e2fsprogs to the most current. Don't know how 
> to fix.
> Am I missing something obvious? At this point, I'm starting to think I 
> should shut down the secondary node, rebuild filesystem from scratch, 
> mount as a normal ext3 to rsync data from primary, and then configure to 
> use drbd.
> Any suggestions are most welcome.
> Sean

More information about the drbd-user mailing list