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

Re: configuring ext3 (was Re: new twist on shutting down and restricting ssh users)



begin  Nathan E Norman  quotation:

> I converted a system a few months ago, and another Sunday night.
> Basically you "tune2fs -j /dev/whatever", change "ext2" to "ext3" in
> /etc/fstab as you mentioned, and then reboot.
> 
> The only thing I'm not sure about is whether the partitions have to be
> unmounted when you "tune2fs" them; my unix intuition says they do. but
> then what about the root filesystem? (I run many partitions on most of
> my machines).

"Converting" from ext2 to ext3 is simply a matter of creating the
journal inode and setting the has_journal flag (in the superblock, I
think?). So there's no problem with doing that while the fs is mounted,
although as I recall, doing so means that the journal inode will be
visible as a file called /.journal , whereas if you unmount first, it
will not be visible. And you have to remount the partition as ext3
to make the journalling happen.

In any case, if you really want to convert your root fs while it's
unmounted, all you have to do is boot from a rescue diskette.

Craig

Attachment: pgp0Ubt_GpP3k.pgp
Description: PGP signature


Reply to: