Post, Mark K writes:
> Creating a Reiser or ext3 file system involves issuing the mkfs command. By
> definition, that will clobber your data.
You *can* upgrade simply and in-place from an ext2 filesystem to
an ext3 filesystem, even with the filesystem mounted. I've seen
documentation saying that RedHat provide a front-end for doing it via
"rhsetup" and "loader" on Linux for S/390 and zSeries but I haven't
tried that myself.
The actual commands to do it are just
# tune2fs -j /dev/dasdXN
where /dev/dasdXN is the device for the filesystem you want to change.
That adds a journal (with the default parameters--use the -J option to
specify non-default ones) to the filesystem. See "man tune2fs".If the
filesystem is currently mounted, you'll see a file called ".journal"
appear at the top of that filesystem. Then edit the line for that
filesystem in /etc/fstab, changing "ext2" to "ext3". You can also add
a "data=..." to the options field to change the journalling mode.
See the "Mount options for ext3" section of "man mount" for details.
Obviously you need a kernel with ext3 support in it to support all
this (and recent versions of the userland utility packages to support
the right options and documentation). If you're wanting tricksy mount
options for the root filesystem then you need to play with kernel
command line arguments, otherwise it should be plain sailing.
--Malcolm
--
Malcolm Beattie <[EMAIL PROTECTED]>
Linux Technical Consultant
IBM EMEA Enterprise Server Group...
...from home, speaking only for myself