[Homeros] дистабгрейд 4.1 и доступный kde Re: проблема с установкой homeros-emacspeak

Michael Pozhidaev msp на altlinux.ru
Чт Ноя 26 01:52:26 UTC 2009


Hello, tolyangin на mail.ru!

> Тогда еще такой вопрос.
> Устанавливал альт на фс ext3 , каким образом  ОС лучше перенести на
> другую фс скажем на reiserfs или ext4.
> Достаточно ли для этого будет внесения соответствующей поправки в /etc/fstab и какие
> проблемы после подобных  транспортировок можно ожидать от системы в
> будущем? 

Насколько я понимаю, на reiserfs можно перенести только путём копирования с другого
раздела. Я не в курсе, что там произошло, но с некоторого момента наши
сильно не рекомендуют ей пользоваться. Её даже нет в нашем установщике.

Если просто указать ext4, то оно заработает, но дополнительные
возможности отключатся. Нужно специально конвертировать следующей парой
команд.

# tune2fs -O extents,uninit_bg,dir_index /dev/DEV
# e2fsck -fpDC0 /dev/DEV

Ниже привожу кусок оригинальной документации на английском, где про это
говориться, но в общих чертах суть такая, как я описал.

It is possible to mount both ext3 (and ext2, in kernels 2.6.28 and later) filesystems directly
using the ext4 filesystem driver. This will allow you to use many of the in-core performance
enhancements such as delayed allocation (delalloc) and multi-block allocation (mballoc), and
large inodes if your ext3 filesystem have been formatted with large inodes as is the default
with newer versions of e2fsprogs. Simply mounting an ext3 (or ext2) filesystem with a modern
(2.6.27+) version of ext4 will not change the on-disk structures, and it is possible to revert
to the ext3 (or ext2) driver should there be any problem with ext4. If you plan to use the ext4
driver to boot from an ext2/3 partition, and you compile your kernel without the ext2/3
drivers, you may need to add rootfstype=ext4 to the kernel command line.

In addition to the in-core performance enhancements, there are additional features which modify
the on-disk format from what ext3 understands, such as extents, which can significantly improve
the ext4 filesystem performance, but mean the filesystem cannot be mounted by kernels that do
not support ext4. There are additional ext4 features, such as flex_bg and > 16TB filesystem
support that can only be enabled at format time via mke2fs.

To change an ext2 filesystem (should you still have one) to ext3 (enabling the journal
feature), use the command:

# tune2fs -j /dev/DEV

To enable the ext4 features on an existing ext3 filesystem, use the command:

# tune2fs -O extents,uninit_bg,dir_index /dev/DEV

WARNING: Once you run this command, the filesystem will no longer be mountable using the ext3
filesystem!

After running this command (specifically, after setting the uninit_bg parameter), you MUST run
fsck to fix up some on-disk structures that tune2fs has modified:

# e2fsck -fpDC0 /dev/DEV

Notes:

-- 
Michael Pozhidaev. E-mail: msp на altlinux.ru.
Tomsk State University. http://www.csd.tsu.ru
ALT Linux Team. http://www.altlinux.org



Подробная информация о списке рассылки Homeros