Sponsored Content
Operating Systems Solaris System is stuck at the OK prompt Post 302747389 by bluridge on Friday 21st of December 2012 07:23:51 AM
Old 12-21-2012
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!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

wiping system from ok prompt

So last week I posted about my system that will not completely boot. It reports a bad trap and reboots in an endless cycle. I'm at a point where I just want to wipe the system clean, reload the software and basically start from scratch. I can interrupt the boot cycle and get to an ok prompt.... (2 Replies)
Discussion started by: forbin24
2 Replies

2. Solaris

system get stuck on stand by mode

Hi Im using a Sun blade 1500 with solaris 8 and when the monitor goes to stand by mode, the machine doesnt return to the normal mode anymore. Then i have to reboot it always. Does anybody have a clue how can i solve it or turn off the stand by mode? Thanks (2 Replies)
Discussion started by: dougpss
2 Replies

3. UNIX for Dummies Questions & Answers

System Specs in OK Prompt

Hello to all! In the OK prompt, which command should I use to see RAM memory, CPU, and disks partition and capacity? I have in my hands an ancient Ultra5 machine, which Im trying to install Solaris, but don't know if the configuration is the original one. Thanks! (4 Replies)
Discussion started by: Pablo_BR
4 Replies

4. Programming

I'm stuck :(

Suppose that I have some data: 12,30 12,45 2,3 7,8 3,9 30, 8 45,54 56,65 Where (a,b) indicates that a is connected to b. I want to get all connected nodes to one point. For instance, the output of the above example should be something like: Group 1 2,3 3,9 Group 2 12,30 12,45... (4 Replies)
Discussion started by: Legend986
4 Replies

5. Solaris

system won't start to GUI it stuck

Hi. I got this message in our sun station and it stuck Setting default IPv4 interface for multicast: add net 224.0/4: gateway pecsun22 but i can still telenet the station... who could i fix this.. appreciate your help (7 Replies)
Discussion started by: eykyn17
7 Replies

6. Solaris

How to change the system prompt and BG of terminal?

Hi all, I was wondering how to change the PS1 to my liking? I tried changing it using PS1='my choice' it worked but the subsequent terminals i open will not have it as the default PS1 ,how do i change it? also i am running as super user, and i need to exec bash, to get the bash environment...... (4 Replies)
Discussion started by: wrapster
4 Replies

7. Solaris

Can't bring E25K system controller to OK prompt

Hi, Due to some changes at our company, we lost the password for the root and sms-svc account on the primary system controller (E25K). We connected a serial console to the system controller but we never managed to break the session to bring it to the OK prompt. (tried: ~#, ~ b, ~, , a b,... (9 Replies)
Discussion started by: Solarius
9 Replies

8. Solaris

System stuck up in maintanence mode

Hi All, I got a big problem here. While setting up a sun cluster, I accidentally tried out "bootadm update-archive" as I was unable to bring the cluster up. After which, i tried a reconfiguration reboot. Now The system is always booting into maintanence mode with error message... (8 Replies)
Discussion started by: manojsomanath
8 Replies

9. UNIX for Dummies Questions & Answers

How to Change the % prompt to - prompt in UNIX?

how to Change the % prompt to - prompt in unix :wall: ---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ---------- How To display the last modification time of any file in unix ---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies

10. Solaris

Unable to move from rsc prompt to ok prompt

Hi, on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies
volreattach(8)						      System Manager's Manual						    volreattach(8)

NAME
volreattach - Reattaches disk drives that have once again become accessible SYNOPSIS
/usr/sbin/volreattach [-rb] [accessname...] /usr/sbin/volreattach -c accessname OPTIONS
The volreattach utility has the following options: Calls the volrecover utility to attempt to recover stale plexes of any volumes on the failed disk. Performs the reattach operation in the background. Checks whether a reattach is possible. No operation is performed, but the name of the disk group and disk media name at which the disk can be reattached is displayed. DESCRIPTION
The volreattach utility attempts to reattach disks using the same disk group and media names they had before detachment. This operation may be necessary if a disk has a transient failure, or if some disk drivers are unloaded or unloadable when the Logical Storage Manager is started, causing disks to enter the failed state. If the problem is fixed, the volreattach command can be used to reattach the disks without plexes being flagged as stale, as long as the reattach happens before any volumes on the disk are started. The volreattach command is called from the voldiskadm menus as part of disk recovery. The volreattach utility tries to find a disk with a disk group and disk ID matching that of the disk(s) being reattached. If the matching disk is found, the reattach operation may still fail if the original cause (or some other cause) for the disk failure still exists. EXIT CODES
A zero exit status is returned if it is possible to perform a reattach. Otherwise, non-zero is returned. SEE ALSO
volintro(8), voldiskadm(8), volrecover(8) volreattach(8)
All times are GMT -4. The time now is 06:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy