* [Comm] ext3 / ext2
@ 2004-12-11 9:28 Jury Levykin
2004-12-11 9:44 ` Yuri N. Glibovetz
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Jury Levykin @ 2004-12-11 9:28 UTC (permalink / raw)
To: community
На мастере 2.4 parted выдает информацию о том, что корневой раздел
имеет файловую систему ext2, но я при установке форматировал под ext3.
После установки в fstab, тоже, на корне была ext2, я исправил на ext3,
перезагрузился - внешне все нормально. Но партед пишет, что там ext2.
Как выяснить, какая файловая система находится на разделе?
Если там ext2, как без потери данных превратить ее в ext3?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] ext3 / ext2
2004-12-11 9:28 [Comm] ext3 / ext2 Jury Levykin
@ 2004-12-11 9:44 ` Yuri N. Glibovetz
2004-12-11 9:48 ` Sergey S. Skulachenko
2004-12-11 10:53 ` Eugene Ostapets
2 siblings, 0 replies; 6+ messages in thread
From: Yuri N. Glibovetz @ 2004-12-11 9:44 UTC (permalink / raw)
To: community
Jury Levykin пишет:
> Если там ext2, как без потери данных превратить ее в ext3?
tune2fs -j девайс
только лучше это сделать на отмонтированной файловой системе.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] ext3 / ext2
2004-12-11 9:28 [Comm] ext3 / ext2 Jury Levykin
2004-12-11 9:44 ` Yuri N. Glibovetz
@ 2004-12-11 9:48 ` Sergey S. Skulachenko
2004-12-11 10:53 ` Eugene Ostapets
2 siblings, 0 replies; 6+ messages in thread
From: Sergey S. Skulachenko @ 2004-12-11 9:48 UTC (permalink / raw)
To: community
On Sat, 11 Dec 2004 12:28:57 +0300
Jury Levykin <altcomm@list.ru> wrote:
> Как выяснить, какая файловая система находится на разделе?
> Если там ext2, как без потери данных превратить ее в ext3?
Стр. 84 "Настройка и администрирование системы" altlinux 2.4
Master:
tune2fs -j /dev/hdxx
--
С уважением,
С.С.Скулаченко
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] ext3 / ext2
2004-12-11 9:28 [Comm] ext3 / ext2 Jury Levykin
2004-12-11 9:44 ` Yuri N. Glibovetz
2004-12-11 9:48 ` Sergey S. Skulachenko
@ 2004-12-11 10:53 ` Eugene Ostapets
2004-12-11 10:35 ` Jury Levykin
2 siblings, 1 reply; 6+ messages in thread
From: Eugene Ostapets @ 2004-12-11 10:53 UTC (permalink / raw)
To: community
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jury Levykin wrote:
| Как выяснить, какая файловая система находится на разделе?
| Если там ext2, как без потери данных превратить ее в ext3?
1.
root@master ~ # tune2fs -l /dev/hdb3 | grep "has_journal"
Filesystem features: has_journal filetype needs_recovery sparse_super
2.root@master ~ # tune2fs -j /dev/hdb3
- --
С уважением,
Евгений Остапец
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFButGgby6E0604xfQRAsxOAJ0WD9WYw0v+7CZGwGNkazAC3tQfJACfSnyu
2fDbva/D4Y8pMplf42W9Zu8=
=piXO
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] ext3 / ext2
2004-12-11 10:53 ` Eugene Ostapets
@ 2004-12-11 10:35 ` Jury Levykin
2004-12-11 11:44 ` Sergey Vlasov
0 siblings, 1 reply; 6+ messages in thread
From: Jury Levykin @ 2004-12-11 10:35 UTC (permalink / raw)
To: community
Eugene Ostapets пишет:
> 1.
> root@master ~ # tune2fs -l /dev/hdb3 | grep "has_journal"
> Filesystem features: has_journal filetype needs_recovery sparse_super
>
> 2.root@master ~ # tune2fs -j /dev/hdb3
Спасибо, помогло!
Хочу спросить еще некоторые вещи:
---------------------------------------------------
[root@jsrv /]# tune2fs -l /dev/hdc9 | grep "has_journal"
Filesystem features: has_journal filetype needs_recovery
sparse_super large_file
[root@jsrv /]#
[root@jsrv /]# tune2fs -l /dev/hdc13 | grep "has_journal"
Filesystem features: has_journal filetype needs_recovery sparse_super
[root@jsrv /]#
[root@jsrv /]# tune2fs -l /dev/hdc12 | grep "has_journal"
Filesystem features: has_journal filetype sparse_super
----------------------------------------------------------------------
Как включить / выключить поддержку больших файлов "large_file" ?
Что обозначает "нужно восстановление" -- "needs_recovery" ?
Я проверил эти разделы fsck.ext3 - ошибок нет.
В man tune2fs я этого не нашел.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] ext3 / ext2
2004-12-11 10:35 ` Jury Levykin
@ 2004-12-11 11:44 ` Sergey Vlasov
0 siblings, 0 replies; 6+ messages in thread
From: Sergey Vlasov @ 2004-12-11 11:44 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 948 bytes --]
On Sat, Dec 11, 2004 at 01:35:49PM +0300, Jury Levykin wrote:
> Как включить / выключить поддержку больших файлов "large_file" ?
Ничего включать не надо - достаточно соответствующей поддержки в ядре.
Флаг large_file выставляется в суперблоке при создании первого файла с
размером больше 2 Гб; после этого в старых ядрах без поддержки таких
файлов эта файловая система может быть смонтирована только для чтения.
Если при последующем запуске e2fsck обнаруживается, что в файловой
системе уже нет больших файлов, флаг large_file сбрасывается.
> Что обозначает "нужно восстановление" -- "needs_recovery" ?
Этот флаг устанавливается при монтировании ext3 и сбрасывается при
корректном размонтировании. Файловая система ext3 с установленным
флагом needs_recovery не может быть смонтирована как ext2 - сначала
необходимо произвести восстановление целостности ФС с использованием
журнала, что выполняется при монтировании ФС как ext3.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-12-11 11:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-11 9:28 [Comm] ext3 / ext2 Jury Levykin
2004-12-11 9:44 ` Yuri N. Glibovetz
2004-12-11 9:48 ` Sergey S. Skulachenko
2004-12-11 10:53 ` Eugene Ostapets
2004-12-11 10:35 ` Jury Levykin
2004-12-11 11:44 ` Sergey Vlasov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git