rxj 发表于 2003-7-6 13:56:43

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

我现在用的ext2文件系统,/home挂在一个单独的分区,我用tune2fs –j /dev/hda 命令将他转化为ext3了,但是不知道怎么转换/根分区,哪位高手能教教我?感激不尽!!!

:roll:

huangdi 发表于 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.

rxj 发表于 2003-7-6 15:32:55

:mrgreen:

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

huangdi 发表于 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??:-)

rxj 发表于 2003-7-6 16:17:04

:o

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

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

huangdi 发表于 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.

rxj 发表于 2003-7-6 16:33:56

我的分区是这样的:df
/dev/hda5             6.0G3.4G2.3G60% /
/dev/hda8             6.1G5.5G685M89% /home
/dev/hda6             9.2G4.4G4.8G49% /mnt/win_c
/dev/hda7             6.2G5.3G908M86% /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)

能不能帮我看看,多谢
:P:P

huangdi 发表于 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.

rxj 发表于 2003-7-7 08:53:59

thank u!!!

Dragonfly 发表于 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!

rxj 发表于 2003-7-7 14:11:20

这么快啊!会不会是笔记本的硬盘转的本来就慢啊?如果改成reiserfs还要重新格式化太麻烦了吧

rxj 发表于 2003-7-7 14:12:07

这么快啊!会不会是笔记本的硬盘转的本来就慢啊?如果改成reiserfs还要重新格式化太麻烦了吧
页: [1]
查看完整版本: 请教一个转换文件系统的问题?