LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 18937|回复: 11

如何更改文件系统类型?

[复制链接]
发表于 2003-2-27 23:30:48 | 显示全部楼层 |阅读模式
现在我内核是2.4.20了可文件系统类型还是EXT2,我想更改为EXT3请问各位应如何更改?
    另外,我的MOZILLA怎么不能显示FLASH,是不是要加载什么插件呀?
发表于 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
 楼主| 发表于 2003-2-28 18:47:56 | 显示全部楼层
[www:~#] tune2fs -j /dev/hda
tune2fs 1.32 (09-Nov-2002)
tune2fs: Bad magic number in super-block while trying to open /dev/hda
Couldn't find valid filesystem superblock.


:confused: :confused:
发表于 2003-2-28 18:53:25 | 显示全部楼层
tune2fs -j /dev/hda


你要转换整个硬盘??
;) ;) ;) ;)
 楼主| 发表于 2003-2-28 19:40:52 | 显示全部楼层
我原来的文件系统类型是EXT2我想升为EXT3,我看上面的方法好像是重新建立一个文件系统,而不是修改文件系统,对吗?能告诉我具体的方法是什么吗?
发表于 2003-2-28 19:44:55 | 显示全部楼层
download from www.linuxfans.org(flash-plugin)
follow the README
发表于 2003-2-28 20:50:55 | 显示全部楼层
5.2 Converting ext2 filesystems

:mad:
发表于 2003-2-28 21:45:34 | 显示全部楼层
ext3--->reiserfs呢?
发表于 2003-3-1 08:11:00 | 显示全部楼层
最初由 faint 发布
ext3--->reiserfs呢?

no way
if you really want , please backup all you files and run "mkreiserfs", then restore you files
official method was here: http://www.namesys.com/change_fs.html
 楼主| 发表于 2003-3-2 10:18:05 | 显示全部楼层
OK!我成功地从EXT2------》EXT3.........................多谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表