Solaris 10 will not Boot Properly

When I boot I get the following error:

Error: svc:/system/filesystem/root:default failed to mount /boot (see'svcs -x'for details)

[ system/filesystem/root:default failed fatally (see'svcs -x'for details) ]

Requesting System Maintenance Mode

Console login service(s) cannot run

I then enter in my root password for system maintenance. When I run svcs -x, this is the output:

svc:/system/filesystem/root:default (root file system mount)

Reason: Start method exited with $SMF_EXIT_ERR_FATAL

see: http://sun.com/msg/SMF-8000-KS

see: /etc/svc/volatile/system-filesystem-root:default.log

Impact: 44 dependent services are not running. (use -vfor list.)

svc:/network/rpc/gss:default (Generic Security Service)

State: uninitialized since Sat......

Reason: Restarter svc:network/inetd:default is not running

See: http://sun.com/msg/SMF-8000-5H

See: gssd(1M)

Impact: 10 dependent services are not running. (Use -vfor list)

svc:/application/print/server:default (LP print server)

State: disabled since Sat Sep 30.....

Reason: Disabled by an administrator

See: http://sun.com/msg/SMF-8000-05

See: lpsched(1M)

Impact: 1 dependent service is not running. (Use -Vfor list)

The output for svcs -v is too long to type out here, but it lists all the dependent services, I presume.

The content of the file /etc/svc/volatile/system-filesystem-root:default.log is:

[start + 1.91s Enabled. ]

[start + 2.87s Executing start method ("/lib/svc/method/fs-root") ]

ERROR: /sbin/mount -F ufs /boot failed, err=1

mount: Mount point cannot be determined

[ start + 3.12s Method"start" exited with status 95 ]

When I try to run /sbin/mount -F ufs /boot from the command prompt itself, I get a similar error... Mount point cannot be determined.

These problems started occuring after the server powered off without shutting down completely due to a power outage. I've tried a few things, but nothing seems to work and I haven't had any luck searching for a solution. Any ideas Solaris experts?

[2724 byte] By [chungste] at [2007-11-26 10:29:52]
# 1
Also, I've tried the following command/sbin/mount -aThis looks like it runs properly because there is no output. I can then browse and view all of the filesystem. But I don't know how to proceed from there or make the server work.Thanks in advance.
chungste at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
If it started with a bad shutdown, start with fsck. alan
alanpae at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3

> If it started with a bad shutdown, start with fsck.

>

>

> alan

I ran a fsck, with no options. It went through each slice and came up with no errors. I didn't have to answer any questions. Did I run the fsck properly? Is there anything else I can try? Do any of the errors I posted above mean anything?

chungste at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4
Sounds like a corrupted /etc/vfstabPost the contents of that.
robertcohen at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5

> I ran a fsck, with no options. It went through each

> slice and came up with no errors. I didn't have to

> answer any questions. Did I run the fsck properly?

Sometimes no news is good news!

> Is there anything else I can try? Do any of the

> errors I posted above mean anything?

as was mentioned, let's see /etc/vfstab

alan

alanpae at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6

> as was mentioned, let's see /etc/vfstab

Here it is:

#device to mount#device to fsckmount pointFS typefsck passmount at bootmount options

fs-/dev/fsfs-no-

/proc-/procproc-no-

/dev/dsk/c0t0d0s1--swap-no-

/dev/dsk/c0t0d0s0/dev/rdsk/c0t0d0s0/ufs1no-

/dev/dsk/c0t0d0s5/dev/rdsk/c0t0d0s5/usrufs1no-

/dev/dsk/c0t0d0s4/dev/rdsk/c0t0d0s4/var/ufs1no-

/dev/dsk/c0t0d0s7/dev/rdsk/c0t0d0s7/export/homeufs2yes-

/dev/dsk/c0t0d0s3/dev/rdsk/c0t0d0s3/optufs2yes-

/devices-/devicesdevfs-no-

ctfs-/system/contractctfs-no-

objfs-/system/objectobjfs-no-

swap-/tmptmpfs-yes-

/dev/dsk/c0t1d0s0/dev/rdsk/c0t1d0s0/dataufs1yes-

Sorry for the formatting, I had to type it out since I can't get any files directly off of the server.

The last entry in the vfstab file is the only entry I added myself. It is a secondary hard disk that I mounted to the directory /data. Everything else was automatically created at install according to the partitions that I defined.

I really need to get this server up and running as fast as possible. I want to avoid re-installing everything since that would be really time consuming. Thanks in advance.

chungste at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 7
I'm presuming that first line is really fd - /dev/fd...The other thing thats odd, the errors you mention were about /boot.But theres no /boot specified in the vfstab.Is there supposed to be?
robertcohen at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 8
Try this: http://www.twitchy.net/mambo/content/view/40/45/
alanpae at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 9

robert.cohen: Correct, the vfstab has typos when I typed it out into this post. It is fd in all places where I typed 'fs'. It is very strange that there is no mention of /boot and that is the error. I don't remember there being a /boot ever listed in vfstab file.

alan.pae: I tried the "boot -m verbose" command. I will type out the results, but there is not much more information.

Rebooting with command: boot -m verbose

Boot device: /pci@1f,4000/scsi@3/disk@0,0:a File and args: -m verbose

SunOS Release 5.10 Version Generic_118822-25 64-bit

Copyright 1983-2005 Sun MicroSystems, Inc. All rights reserved.

Use is subject to license terms.

TSI: gfxp0 is GFX8P @ 1280x1024

[ network/pfil:default starting (packet filter) ]

[ system/filesystem/root:default starting (root file system mount) ]

[ network/loopback:default starting (loopback network interface) ]

ERROR: svc:/system/filesystem/root:default failed to mount /boot (see 'svcs -x' for details)

start + 3.31s/41 ERROR: svc:/system/filesystem/root:default: Method "/lib/svc/method/fs-root" failed with exit status 95.

[ system/filesystem/root:default failed fatally (see 'svcs-x' for details) ]

[ network/physical:default starting (physical network interfaces) ]

[ milestone/name-services:default starting (name services milestone) ]

[ milestone/network:default starting (Network milestone) ]

[ system/identity:node starting (system identity (nodename)) ]

Hostname xxxxxxxx

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)

That's it... hope I typed that without any typos.

chungste at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 10

> ERROR: svc:/system/filesystem/root:default failed to

> mount /boot (see 'svcs -x' for details)

> start + 3.31s/41 ERROR:

First error, first error to get fixed. What does svcs -x say. Does anyone else have /boot in their vfstab file. I won't have a system to look at for a few more weeks now.

thanks,

alan

alanpae at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 11

To anyone who cares about the solution to this problem, here are the steps I performed:

1) mount -o remount,rw /

This was run because I couldn't edit any files in the / filesystem

2) echo >> /etc/vfstab

This is to add the newline to the end of the vfstab file.

Rebooted, and everything came up fine. Thanks to all who contributed to help me.

chungste at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 12

> This is to add the newline to the end of the

> vfstab file.

>

> Rebooted, and everything came up fine. Thanks to all

> who contributed to help me.

this is interesting because previously you said:

===

Also, I've tried the following command

/sbin/mount -a

This looks like it runs properly because there is no output. I can then browse and view all of the filesystem.

===

and

http://docs.sun.com/app/docs/doc/816-5166/6mbb1kq98?a=view

says

a [ mount_points. . . ]

Perform mount or umount operations in parallel, when possible.

If mount points are not specified, mount will mount all file systems whose /etc/vfstab "mount at boot" field is "yes".

which implies that mount -a reads the /etc/vfstab to figure out what to mount and where to mount it, and according to your posts, that was a non issue.

alan

alanpae at 2007-7-7 2:35:58 > top of Java-index,Solaris Operating System,Solaris 10 Features...