yuji81 发表于 2012-10-22 13:29

如何解决如下错误:Method "/lib/svc/method/fs-usr" failed

本人Sun server, 装的是Solaris 10,实验室突然停电,导致服务器非正常关机,然后再上点启动的时候,出现如下错误:

syncing file systems... done
rebootin
SC Alert: CRITICAL ALARM is set
g...

SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses
Probing system devices
Probing memory
Probing I/O buses


Netra 440, No Keyboard
Copyright 2007 Sun Microsystems, Inc.All rights reserved.
OpenBoot 4.22.33, 16384 MB memory installed, Serial #81164654.
Ethernet address 0:14:4f:d6:79:6e, Host ID: 84d6796e.



Rebooting with command: boot -r
Boot device: /pci@1f,700000/scsi@2/disk@0,0File and args: -r
SunOS Release 5.10 Version Generic_144488-14 64-bit
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Hardware watchdog enabled
Hostname: wms0300
The / file system (/dev/md/rdsk/d5) is being checked.

WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/md/rdsk/d5).

Oct 22 13:27:16 svc.startd: svc:/system/filesystem/usr:default: Method "/lib/svc/method/fs-usr" failed with exit status 95.
Oct 22 13:27:16 svc.startd: system/filesystem/usr:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run

Root password for system maintenance (control-d to bypass):

进入maintenance mode后,尝试着fsck -F ufs /dev/md/rdsk/d5 修复,结束后重启,还是这个问题。
然后用fsck -y修复,结束后重启,仍然报错,网上查了一遍,也没有找到解决方案,请各位大侠提供方案,谢谢!

DC_楚楚 发表于 2012-10-22 14:09

fsck -F ufs /dev/md/rdsk/d5
然后:
svcadm clear svc:/system/filesystem/usr:default

试试看

yuji81 发表于 2012-10-22 17:17

还是不行,我在怀疑是不是硬盘出问题了?

znnnz 发表于 2012-10-23 14:51

iostat -En
页: [1]
查看完整版本: 如何解决如下错误:Method "/lib/svc/method/fs-usr" failed