|
发表于 2003-2-28 10:33:07
|
显示全部楼层
HOWTO里是这样写的
5.2 Converting ext2 filesystems
An ext2 filesystem maybe converted to ext3 by creating a journal file
on it. To do this, run
tune2fs -j /dev/hdXX
on the target filesystem. The filesystem is now ext3!
Note that the filesystem need not be unmounted for this operation.
5.3 Creating new ext3 filesystems
Simply run
mke2fs -j /dev/hdXX
to create a new ext3 filesystem on that device.
5.4 Filesystem check intervals
A feature of e2fsck is that it will regularly force a check of a
filesystem even if the filesystem is marked clean. Typically, this
happens on every twentieth mount or every 180 days, whichever comes
first.
This still happens with ext3, and is quite possibly not what you want
to happen - one of the reasons you chose ext3 was to avoid the downtime
which is caused by a long fsck.
So it is a good idea to turn this feature off for ext3.
Use the command
tune2fs -i 0 /dev/hdxx
To disable the checking.
5.5 Change /etc/fstab :
This is very important. Just change ext2 to ext3 in /etc/fstab
For ex. :
/dev/hda3 / ext2 defaults,errors=remount-ro 0 1
change this to
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1 |
|