Home > Solaris Admin, Uncategorized > svc.startd[7]: svc:/system/filesystem/root:default: Method “/lib/svc/method/fs-root” failed with exit status 1

svc.startd[7]: svc:/system/filesystem/root:default: Method “/lib/svc/method/fs-root” failed with exit status 1

Today, I recovered a Solaris server from netbackup server. When restarting the server, the console showed the following messages

SunOS Release 5.10 Version Generic_142909-17 64-bit
Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.
WARNING: Cannot find /etc/mnttab

Aug  2 17:59:07 svc.startd[7]: svc:/system/filesystem/root:default: Method “/lib/svc/method/fs-root” failed with exit status 1.
Aug  2 17:59:08 svc.startd[7]: svc:/system/filesystem/root:default: Method “/lib/svc/method/fs-root” failed with exit status 1.
Aug  2 17:59:08 svc.startd[7]: svc:/system/filesystem/root:default: Method “/lib/svc/method/fs-root” failed with exit status 1.
Aug  2 17:59:08 svc.startd[7]: system/filesystem/root:default failed: transitioned to maintenance (see ‘svcs -xv’ for details)
Hostname: yckeunisz01
Aug  2 17:59:16 svc.startd[7]: svc:/network/iscsi/initiator:default: Method “/lib/svc/method/iscsid start” failed with exit status 1.
Aug  2 17:59:17 svc.startd[7]: svc:/network/iscsi/initiator:default: Method “/lib/svc/method/iscsid start” failed with exit status 1.
Aug  2 17:59:17 svc.startd[7]: svc:/network/iscsi/initiator:default: Method “/lib/svc/method/iscsid start” failed with exit status 1.
Aug  2 17:59:17 svc.startd[7]: network/iscsi/initiator:default failed: 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):  <– Enter the root password to bypass
single-user privilege assigned to /dev/console.

After the bypass, to run ‘svcs -xv’ to get more details, the following messages listed

svc:/system/filesystem/root:default (root file system mount)
 State: maintenance since Fri Aug 02 17:59:08 2013
Reason: Start method failed repeatedly, last exited with status 1.
   See: http://sun.com/msg/SMF-8000-KS
   See: /etc/svc/volatile/system-filesystem-root:default.log

Checked the file /etc/svc/volatile/system-filesystem-root:default.log, the log showed that /etc/mnttab can not be opened

[ Aug  2 17:59:07 Enabled. ]
[ Aug  2 17:59:07 Executing start method (“/lib/svc/method/fs-root”) ]
/lib/svc/method/fs-root: /etc/mnttab: cannot open
[ Aug  2 17:59:07 Method “start” exited with status 1 ]
[ Aug  2 17:59:08 Executing start method (“/lib/svc/method/fs-root”) ]
/lib/svc/method/fs-root: /etc/mnttab: cannot open
[ Aug  2 17:59:08 Method “start” exited with status 1 ]

Solution

Finally, boot the server with CDROM, mount the root partition of the disk and created the /etc/mnttab as the following.

touch /mnt/etc/mnttab
chmod 444 /mnt/etc/mnttab
Reboot, the server was up.
 
 
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: