f**c 发帖数: 791 | 1 看来还是不fsch check的好。上次死机check了反而把work space switcher给搞乱了,
还怎么都恢复不了,幸好home有备份,弄过来就好了。
奇怪,fsch check怎么会把配置给弄坏掉?? |
|
f**c 发帖数: 791 | 2 【 以下文字转载自 Linux 讨论区 】
发信人: ffgc (■缙云山■), 信区: Linux
标 题: 死机reset后到底需不需要force fsch check?
发信站: BBS 未名空间站 (Fri Feb 13 15:02:47 2009)
启动的时候说分区都/clean,这时需不需要force fsch check?
thanks |
|
f**c 发帖数: 791 | 3 启动的时候说分区都/clean,这时需不需要force fsch check?
thanks |
|
s****0 发帖数: 117 | 4 大概是这个意思. 我没理解最后两种情况怎么处理,好像结果不确定。
package myutil;
import java.util.Arrays;
public class FlexSearch {
final Integer[] data;
final boolean asc;
public FlexSearch(Integer[] data) {
if (data == null || data.length < 2)
throw new java.lang.NoSuchFieldError();// whatever.
this.data = data;
asc = data[0] - data[1] < 0;
}
private int getIdx(int val) {
return Arrays.binarySearch(data, val);
}
public int getLTMax(int val) {
int... 阅读全帖 |
|
|
N****w 发帖数: 21578 | 6 journalled file system? don't worry about it. |
|
l*********s 发帖数: 5409 | 7 I never do, it is a waste of time. |
|
a*****s 发帖数: 2663 | 8 zfs is the future. you can do online data scrub.you don't have to check data
integrity before file system is mounted.
$ zpool scrub tank |
|
|
a*****s 发帖数: 2663 | 10 看来偶要换块硬盘了。幸好目前数据都还安全。
@solarnas:/tank/media$ zpool status -v
pool: rpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c4d0s0 ONLINE 0 0 0
errors: No known data errors
pool: tank
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device nee |
|
f**c 发帖数: 791 | 11 log 的message里面好像突然就到了重启的信息了,哪里查重启的原因?
多谢
另外用不用force fsch呀。。。 |
|
n****n 发帖数: 104 | 12 分区干净.未必文件系统没有dirty.所以文件系统的fsck一定要做的,如果
不是正常umount。 |
|
|
|