Avatar of pwv
pwv

asked on 

Solaris Server is not booting correctly

I've had a client call me out to check their server. I have a little bit of experience with Linux but none with Solaris. Here's the message from the server. Any help or direction would be greatly appreciated. If you do the control-d it lets you log in to a bash prompt, from there I'm lost on what to do next.

Hostname: anibus
/dev/dsk/c1t0d0s1: I/O error
mount: /dev/dsk/c1t0d0s0 is not this fstype.
/sbin/rcs: /etc/dfs/sharetab: cannot create
failed to open /etc/coreadm.conf: Read-only file system
In: cannot create /dev/fb: Read-Only file system
INIT: Cannot create /var/adm/utmpx
INIT: failed write of utpmx entry: " "
INIT: failed write of utpmx entry: " "
INIT: SINGLE USER MODE
Type control-d to proceed with normal startup, (or give root password for system maintenance):
Unix OSDesktopsServer Hardware

Avatar of undefined
Last Comment
pwv
SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
It looks like you disk is trashed. It is trying to mount the file systems, but it fails. Once the file systems fail to mount, the rest of the errors result and can be ignored.

Once you get to single user mode, you need to examine the disks. You can run the format command to see what disks and partitions are visible. Then you can try mounting them one at a time on /mnt to see which fail. Particularly pay attention to /dev/dsk/c1t0d0s1 and /dev/dsk/c1t0d0s0

If the disks have crashed, you are going to have to re-install and restore from backup.
Avatar of pwv
pwv

ASKER

I'll give the fsck -y a shot and post what happens. Thanks for the quick responses! I was thinking a disk, just hoping it wasn't.
SOLUTION
Avatar of z670193
z670193

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of pwv
pwv

ASKER

It works fine for c1t0d0s0, but not for the /dev/dsk/c1t0d0s1. When I try fsck /dev/dsk/c1t0d0s1, it says operation not applicable to swap. I also tried the fsck -y /dev/dsk/c1t0d0s1 it comes up with the same thing and I also tried fsck /dev/rdsk/c1t0d0s1 and it gave "Can't open /dev/dsk/c1t0d0s1".

I'll check it out a670193.

Thanks!
If the other partition is designated as swap, then you don't need to fsck it. Swap overwrites the data at every reboot, it can't really be in the wrong format. However, if there is something physically preventing access to the partition, that would be a problem.

So, you could mount /dev/dsk/c1t0d0s0 okay? If so, you should be able to access the vfstab file to see all of the partitions defined and what type they are.

If the problem really is with the swap partition, you can actually run without swap. Just comment out
the swap lines of the vfstab and reboot.
Avatar of pwv
pwv

ASKER

blu,

Where do I find the vfstab file? Do I use nano or something similar to edit it? These may seem like obvious questions, but my unix experence is limited. Thanks again,

pwv
ASKER CERTIFIED SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of pwv
pwv

ASKER

Thanks! I'll give that a shot and see what happens. If I can get it going so I can take a backup and replace the drive would be great.
Avatar of pwv
pwv

ASKER

Ok, we were able to mount the functioning drive except sadly its not a mirror, therfore it doesn't contain the vfstab file. We got a new drive on the way and will be setting it up the server as new. The client is going to chalk this one up as a backup lesson learned, for some reason they seemed to think that because it was a Solaris server it would never fail. I appriciate all the quick responses and help!

Thanks!
pwv
Avatar of pwv
pwv

ASKER

I've split the points up amongst you all. I gave blu more for the walkthrough he provided. Thanks!
Unix OS
Unix OS

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.

33K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo