Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Thursday, 26. February 2009, Jürgen Scholz wrote: > > umount /data > > resize2fs /dev/drbd0 > > mount -o rw /dev/drbd0 /data > > DO NOT DO THAT! IT WILL DESTROY YOUR FILESYSTEM! > I did that just a few days ago. - I've never had the need to resize an > ext3 fs before. > You need to remove the ext3 journal first. Then resize. And after that > add the journal again. > Remove: tune2fs -O ^has_journal /dev/drbd0 > Add: tune2fs -j /dev/drbd0 > > After my experience I looked at > http://www.howtoforge.com/linux_resizing_ext3_partitions - seems fairly > complete. I wonder what happened for you and how old the software is, that was used for the HOWTO. Even on the oldest system I have (openSUSE 10.2, about 3 years old) resize2fs can do online enlarging of a mounted ext3 file system. I've done it quite often and never needed to deactivate any journal. I also did offline enlarging and shrinking (even on a drbd backend) without any hassle. Regards, Stefan