关于fsck的问题

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
头像
woodvillage
帖子: 99
注册时间: 2007-06-15 1:27
来自: JNU
联系:

关于fsck的问题

#1

帖子 woodvillage » 2009-05-27 10:17

我用的reiserfs的文件系统,ubuntu904,有3个分区:/root /home /tmp。现在的问题是每次开机的时候都要全盘fsck,费很长时间,我想问可不可以把/home 和/tmp的fsck在fstab里面关掉。
this innocence is brilliant
头像
woodvillage
帖子: 99
注册时间: 2007-06-15 1:27
来自: JNU
联系:

Re: 关于fsck的问题

#2

帖子 woodvillage » 2009-05-27 10:29

关掉会不会有什么不好的影响呢?
this innocence is brilliant
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 关于fsck的问题

#3

帖子 adagio » 2009-05-27 10:31

最后两个数字改成 “0 0”
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
woodvillage
帖子: 99
注册时间: 2007-06-15 1:27
来自: JNU
联系:

Re: 关于fsck的问题

#4

帖子 woodvillage » 2009-05-27 10:38

adagio 写了:最后两个数字改成 “0 0”
这个我明白,我是说关掉以后会不会文件系统比较危险...
this innocence is brilliant
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 关于fsck的问题

#5

帖子 eexpress » 2009-05-27 10:42

reiserfs 分区,何时需要长时间检测了啊。
都是直接返回的,平时自动修复的啊。
搞清楚这点先。
ext3 才定期检测,时间较长啊。
● 鸣学
头像
woodvillage
帖子: 99
注册时间: 2007-06-15 1:27
来自: JNU
联系:

Re: 关于fsck的问题

#6

帖子 woodvillage » 2009-05-27 10:48

eexpress 写了:reiserfs 分区,何时需要长时间检测了啊。
都是直接返回的,平时自动修复的啊。
搞清楚这点先。
ext3 才定期检测,时间较长啊。
我也纳闷....
可事实就是这样啊...
开机不一会usplash的进度条就卡住,然后usplash崩溃进字符界面,显示是在fsck啊...而且每次都是全盘fsck...
this innocence is brilliant
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 关于fsck的问题

#7

帖子 adagio » 2009-05-27 10:48

莫非你每次都是非法关机? :em04
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
woodvillage
帖子: 99
注册时间: 2007-06-15 1:27
来自: JNU
联系:

Re: 关于fsck的问题

#8

帖子 woodvillage » 2009-05-27 10:49

adagio 写了:莫非你每次都是非法关机? :em04
应该不是,非正常关机的时候fsck会报filesystem is not clean。
我的是filesystem is clean。
this innocence is brilliant
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re: 关于fsck的问题

#9

帖子 hcym » 2009-05-27 10:51

我是根区都改成 0

从7.04时起

:em04
头像
woodvillage
帖子: 99
注册时间: 2007-06-15 1:27
来自: JNU
联系:

Re: 关于fsck的问题

#10

帖子 woodvillage » 2009-05-27 10:53

hcym 写了:我是根区都改成 0

从7.04时起

:em04
那要是忽然死机了会不会丢文件的...
this innocence is brilliant
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 关于fsck的问题

#11

帖子 eexpress » 2009-05-27 10:55

☎ l /var/log/fsck/
checkfs checkroot

自己找为什么fsck先。
那些加0的芝麻事情,先别管。
● 鸣学
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re: 关于fsck的问题

#12

帖子 hcym » 2009-05-27 11:01

死机很少,三二次

ext4时用rt内核死一回

也没丢,不过还是慎重的好,一直眼就是磁盘扫描大腕,我是压根没用过

:em04
头像
woodvillage
帖子: 99
注册时间: 2007-06-15 1:27
来自: JNU
联系:

Re: 关于fsck的问题

#13

帖子 woodvillage » 2009-05-27 11:02

代码: 全选

 
      1 Log of fsck -C3 -R -A -a
      2 Wed May 27 10:07:09 2009
      3 
      4 fsck 1.41.4 (27-Jan-2009)
      5 Replaying journal..
      6 Reiserfs journal '/dev/sda4' in blocks [18..8211]: 0 transactions replayed
      7 Checking internal tree..finished
      8 Reiserfs super block in block 16 on 0x804 of format 3.6 with standard journal
      9 Blocks (total/free): 50305536/19255542 by 4096 bytes
     10 Filesystem is clean
     11 Replaying journal..
     12 Reiserfs journal '/dev/sda3' in blocks [18..8211]: 0 transactions replayed
     13 Checking internal tree..finished
     14 Reiserfs super block in block 16 on 0x803 of format 3.6 with standard journal
     15 Blocks (total/free): 2612560/2604269 by 4096 bytes
     16 Filesystem is clean
     17 Reiserfs super block in block 16 on 0x804 of format 3.6 with standard journal
     18 Blocks (total/free): 50305536/19255542 by 4096 bytes
     19 Filesystem is clean
     20 Reiserfs super block in block 16 on 0x803 of format 3.6 with standard journal
     21 Blocks (total/free): 2612560/2604269 by 4096 bytes
     22 Filesystem is clean
     23 
     24 Wed May 27 10:07:31 2009
     25 ----------------

代码: 全选

       1 Log of fsck -C -a -t reiserfs /dev/sda1
      2 Wed May 27 10:07:01 2009
      3 
      4 fsck 1.41.4 (27-Jan-2009)
      5 Filesystem seems mounted read-only. Skipping journal replay.
      6 Checking internal tree..finished
      7 Reiserfs super block in block 16 on 0x801 of format 3.6 with standard journal
      8 Blocks (total/free): 7861792/6929808 by 4096 bytes
      9 Filesystem is clean
     10 Reiserfs super block in block 16 on 0x801 of format 3.6 with standard journal
     11 Blocks (total/free): 7861792/6929808 by 4096 bytes
     12 Filesystem is clean
     13 
     14 Wed May 27 10:07:09 2009
     15 ----------------
this innocence is brilliant
头像
woodvillage
帖子: 99
注册时间: 2007-06-15 1:27
来自: JNU
联系:

Re: 关于fsck的问题

#14

帖子 woodvillage » 2009-05-27 11:07

没看出有什么问题......望ee指点。
this innocence is brilliant
头像
woodvillage
帖子: 99
注册时间: 2007-06-15 1:27
来自: JNU
联系:

Re: 关于fsck的问题

#15

帖子 woodvillage » 2009-05-28 11:51

今天一切如故...
this innocence is brilliant
回复