当前位置: 技术问答>linux和unix
请大侠们帮忙看看?
来源: 互联网 发布时间:2015-01-15
本文导语: 具体的情况如下,一台sun-E450的一个/data文件系统不能mount上: 1.# mount /data mount: the state of /dev/dsk/c0t3d0s1 is not okay and it was attempted to be mounted read/write mount: Please run fsck and try again 2.fsck ...
具体的情况如下,一台sun-E450的一个/data文件系统不能mount上:
1.# mount /data
mount: the state of /dev/dsk/c0t3d0s1 is not okay
and it was attempted to be mounted read/write
mount: Please run fsck and try again
2.fsck -y /dev/rdsk/c0t3d0s1 时
** Phase 3 - Check Connectivity
fsck: warning: the following command (process 26100) was terminated by signal 11 and dumped core
fsck -F ufs -y /dev/rdsk/c0t3d0s1
就终止了!
3.fsck -y -o b=32 /dev/rdks/c0t3d0s1
** Phase 3 - Check Connectivity
fsck: warning: the following command (process 26890) was terminated by signal 1e
fsck -F ufs -y -o b=1284912 /dev/rdsk/c0t3d0s1
请大侠帮忙!
1.# mount /data
mount: the state of /dev/dsk/c0t3d0s1 is not okay
and it was attempted to be mounted read/write
mount: Please run fsck and try again
2.fsck -y /dev/rdsk/c0t3d0s1 时
** Phase 3 - Check Connectivity
fsck: warning: the following command (process 26100) was terminated by signal 11 and dumped core
fsck -F ufs -y /dev/rdsk/c0t3d0s1
就终止了!
3.fsck -y -o b=32 /dev/rdks/c0t3d0s1
** Phase 3 - Check Connectivity
fsck: warning: the following command (process 26890) was terminated by signal 1e
fsck -F ufs -y -o b=1284912 /dev/rdsk/c0t3d0s1
请大侠帮忙!
|
完了,我碰到过此问题,你快点把数据备份出来,mount -o ro /dev/dsk/c0t3d0s1 /mnt,用只读方式mount,可以mount上的,但是要修复就难了,如果你用的是solaris8以上的话,建议你在vfstab里为每个文件系统加上logging 参数,要不然如果文件系统大的话,碰到不正常重启就会损坏