[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Ext3 step by step installation procedure



Hi,

On Thu, Mar 08, 2001 at 10:06:22AM +0000, Nigel Metheringham wrote:
> 
> sct redhat com said:
> > The "tune2fs -j" code is the new replacement for the old, manual "dd"
> > style of journal initialisation.  The README just needs updated to
> > reflect the new tools. 
> 
> Just to check:-
> 
>   1. Does the tunefs method also set the journal location in the
>      superblock, so the mount -ojournal=inum step can also be
>      skipped (obviously you need to mount it, but you can
>      skip the explicit inode setting?)

Yes.

>   2. Does this work on root too (which is going to be mounted r/w)?

Yes.  If you run it on a mounted filesystem, it creates a
"/.journal.dat" file using the normal open/write/close calls, then
pokes manually at the superblock to set the inode number.  If you do
it on an unmounted device, it creates a hidden journal inode by
modifying the device directly using the e2fsprogs ext2 fs libraries.

>   3. What happens if you do this on an existing ext3 fs?

Umm, I'm not entirely sure. :-)

Cheers,
 Stephen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]