Показать сообщение отдельно
Старый 26.07.2003, 03:00     # 7
Bek
::VIP::
 
Аватар для Bek
 
Регистрация: 25.12.2002
Адрес: SPb.RU
Сообщения: 958

Bek СэнсэйBek СэнсэйBek СэнсэйBek СэнсэйBek СэнсэйBek СэнсэйBek СэнсэйBek СэнсэйBek СэнсэйBek СэнсэйBek СэнсэйBek Сэнсэй
Q: How do I convert my ext2 partition to ext3? (was: How do I use ext3?)
Before you can mount a partition as ext3 you have to create a journal on it. The easiest way to do it is to type:


tune2fs -j /dev/hdaX
This can be done on an unmounted or on a mounted filesystem. If you create the journal on a mounted filesystem you will see a .journal file. Don't try to delete this and don't back this up or restore it from backup! If you run tune2fs -j on an unmounted partition an unvisible journal file will be created.
Now you can mount the filesystem as ext3 using:


mount -t ext3 /dev/hdaX /mnt/somewhere

With mke2fs -j /dev/hdaX you can format a partition as ext3 (as always it will be also usable as ext2 partion).
Bek вне форума