[vox-tech] Partition resizing

Peter Jay Salzman vox-tech@lists.lugod.org
Fri, 17 May 2002 08:36:59 -0700


begin Shawn P. Neugebauer <spn@ucdavis.edu> 
> On Thursday 16 May 2002 10:57 pm, you wrote:
> >
> > simply boot up with a rescue disk and type:
> >
> > tune2fs -j /dev/{h,s}drootpartition
> >
> > then change /etc/fdisk and your root filesystem is now journalized.
> 
> a few things.  nearly all of this is in the ext3 FAQ, e.g. 
> http://people.spoiled.org/jha/ext3-faq.html
> 
> first, you don't *need* to boot with a rescue disk--when
> you run tune2fs (as root, of course) on a mounted filesystem,
> it creates a .journal file on the partition that's visible until you 
> re-mount as ext3.  so, probably easier to create it on an
> unmounted filesystem--which you don't have to do with a
> rescue disk--because it's always invisible.
 
this is good to know.  i suspected as much.   i converted the root
partition on lucifer without thinking to ext3 with the filesystem
mounted.  at first i was horrified, but nothing bad happened.

thanks for clearing this up.

> second, for redhat 7.0/1, there's one more step required for the root
> filesystem.  i had to use mkinitrd to create a boot image that preloaded
> jbd and ext3 (in that order), and modify lilo accordingly, so that root
> would mount as ext3.

why do you need to do this on redhat?  is that because the kernel
doesn't have ext3 support?

pete