QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 515|回复: 11

请教一个转换文件系统的问题?

[复制链接]
发表于 2003-7-6 13:56:43 | 显示全部楼层 |阅读模式
我现在用的ext2文件系统,/home挂在一个单独的分区,我用tune2fs –j /dev/hda 命令将他转化为ext3了,但是不知道怎么转换/根分区,哪位高手能教教我?感激不尽!!!

发表于 2003-7-6 15:14:34 | 显示全部楼层
http://www.troubleshooters.com/linux/ext2toext3.htm

Be very careful!!  There are no particular advantages using ext3 over ext2.  In fact, ext2 performs better and still more stable than ext3.  ext3 is mainly used for LARGE storage servers, say hundreds of gigabytes or multi-terabytes.  ext3 recovers MUCH faster then ext2 if the server should crash.

So, if your / partition is small, leave it as ext2.  Just my own opinion.
回复

使用道具 举报

 楼主| 发表于 2003-7-6 15:32:55 | 显示全部楼层


谢谢,是这样的,我的机器不时会死掉,重启后检查磁盘错误要很长时间,听说ext3的日志功能不错,查错时间很短,所以想试一试
回复

使用道具 举报

发表于 2003-7-6 15:42:00 | 显示全部楼层
Yes, ext3 will help to shorten the recovery time.

But, it's best to find out what causes the crashes.  Do you want to share those bad experience also?  Maybe we can help??  :-)
回复

使用道具 举报

 楼主| 发表于 2003-7-6 16:17:04 | 显示全部楼层


刚刚改成ext3了,故意掐了一下电源,可是修复错误还是这么慢,是不是没有改对啊?

我觉得死机一般都是第三方软件的问题,比如用opera就特容易死机,还有更新系统的时候特容易死
回复

使用道具 举报

发表于 2003-7-6 16:23:52 | 显示全部楼层
What's the output of
#mount

It also depends on how much data you have.  The more data you have the longer the recovery time.  If there are a lot of files or programs open during the crash, it will take longer to recover also.
回复

使用道具 举报

 楼主| 发表于 2003-7-6 16:33:56 | 显示全部楼层
我的分区是这样的:df
/dev/hda5             6.0G  3.4G  2.3G  60% /
/dev/hda8             6.1G  5.5G  685M  89% /home
/dev/hda6             9.2G  4.4G  4.8G  49% /mnt/win_c
/dev/hda7             6.2G  5.3G  908M  86% /mnt/win_d
其中两个win的分区只是fat32格式用来下载资料的,并没有装windows

mount 的结果:
/dev/hda5 on / type ext3 (rw,noatime)
none on /proc type proc (rw)
none on /proc/bus/usb type usbdevfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw,mode=0620)
/dev/hda8 on /home type ext3 (rw,noatime)
none on /mnt/cdrom type supermount (ro,dev=/dev/hdc,fs=auto,--,iocharset=gb2312,codepage=936,umask=0)
none on /mnt/removable type supermount (rw,noatime,dev=/dev/sda1,fs=vfat,--,umask=0)
/dev/hda6 on /mnt/win_c type vfat (rw,noatime,iocharset=gb2312,codepage=936,umask=0)
/dev/hda7 on /mnt/win_d type vfat (rw,noatime,iocharset=gb2312,codepage=936,umask=0)

能不能帮我看看,多谢
  
回复

使用道具 举报

发表于 2003-7-7 01:50:04 | 显示全部楼层
Well, it's already successfully converted to ext3.  For a 6 GB partition, it generally takes a couple minutes to complete the file system check.  Not that bad.
回复

使用道具 举报

 楼主| 发表于 2003-7-7 08:53:59 | 显示全部楼层
thank u!!!
回复

使用道具 举报

发表于 2003-7-7 09:28:38 | 显示全部楼层
"a 6 GB partition, it generally takes a couple minutes to c"???

i use a reiserfs for my 60GB partition, it take several seconds!
回复

使用道具 举报

 楼主| 发表于 2003-7-7 14:11:20 | 显示全部楼层
这么快啊!会不会是笔记本的硬盘转的本来就慢啊?如果改成reiserfs还要重新格式化太麻烦了吧
回复

使用道具 举报

 楼主| 发表于 2003-7-7 14:12:07 | 显示全部楼层
这么快啊!会不会是笔记本的硬盘转的本来就慢啊?如果改成reiserfs还要重新格式化太麻烦了吧
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-1 21:35 , Processed in 0.049689 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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