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

8/22/2022 - Mon
SOLUTION
omarfarid

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Brian Utterback

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.
ASKER
pwv

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
z670193

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
pwv

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!
Your help has saved me hundreds of hours of internet surfing.
fblack61
Brian Utterback

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.
ASKER
pwv

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
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
pwv

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.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
pwv

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
ASKER
pwv

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