|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
System is stuck at the OK prompt
Here is a little background. We have a V240 server that has two disks mirrored (out of 4 disks) and one of the disk complained when booting up. The system complained with /etc/inittab file is truncated or corrupted, cannot create /ar/adm/utmpx failed write of utmpx entry.
Someone tried to fix this problem by removing the mirrored root disk and tried booting up the system. I believe with mirrored disks you cannot do that and must break the mirror to remove. Or at least boot up to the other mirrored root disk before breaking the mirror. The system boots up in the ok prompt with the original mirrored disk and I cannot get it to boot to the other mirrored disk. I have ran the devalias and used this path to create nvalias altboot path and rebooting the box. But I still come up with the ok prompt. am trying to boot to the other mirrored disk but have failed to get to that point. Whoever build thi box provided me with a Gold Disk and this is what was used in place of the root disk but I do not think the mirror was broken up before using this Gold Disk...thus think we may have a stale system. Any ideas on how to boot up in the other mirrored disk? Thanks! |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Recable?
![]() There are procedures online: Recovering From Boot Problems - Solaris Volume Manager Administration Guide |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Maybe boot block is not installed on the second drive? If it is not installed then boot from cdrom into single user mode and install boot block. Code:
ok boot cdrom -s # /usr/sbin/installboot /usr/platform/ `uname -i`/lib/fs/ufs/bootblk /dev/rdsk/cxtxdxsx And then try to boot from the second drive. |
|
#4
|
|||
|
|||
|
Thanks for the help! I have thought about the boot block maybe not being installed on the second drive. I thought with mirroring the boot block would be on the second drive because after all the root drive has the boot block installed so this would be replicated over to the second mirrored disk. I did not want to make it worse by running the installboot command. Also with the error messages showing /etc/inittab truncated or corrupted...this does not sound like a boot block issue?
The last file executed before the system boots up is /etc/inittab so does that mean the boot block was successfully executed if I coem to the ok prompt? I am stil not able to figure out why we are getting this error on the /etc/inittab execution. If you have any ideas please throw them out! I am trying to locate a Solaris 8 boot cdrom and try to boot in single user mode and copy over the default /etc/inittab file and see if this helps. |
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Quote:
What are you using to mirror the disks SDS/SVM or VxVM? By rights there should be no need to break the mirrors neatly.... The whole point of mirroring them is to protect against a catestrophic failure in a disk.... Which you would have created by pulling one of them.... I'd have thought both should be bootable, you need to be absolutely sure the boot paths for rootdisk & rootmirror are correct, it's easy to miss a slice or somesuch.... Martin |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| System stuck up in maintanence mode | manojsomanath | Solaris | 8 | 03-04-2011 09:19 AM |
| system won't start to GUI it stuck | eykyn17 | Solaris | 7 | 11-14-2007 03:19 PM |
| System Specs in OK Prompt | Pablo_BR | UNIX for Dummies Questions & Answers | 4 | 08-25-2005 06:32 PM |
| system get stuck on stand by mode | dougpss | Solaris | 2 | 01-20-2005 10:54 AM |
| wiping system from ok prompt | forbin24 | UNIX for Dummies Questions & Answers | 2 | 10-12-2004 05:03 PM |
|
|