Solved: Disk Unable to Boot


 
Thread Tools Search this Thread
Operating Systems Solaris Solved: Disk Unable to Boot
# 29  
Old 10-30-2013
Code:
# cat /a/etc/vfstab
###device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c1t0d0s1       -       -       swap    -       no      -
/dev/dsk/c1t0d0s0       /dev/rdsk/c1t0d0s0      /       ufs     1       yes     logging
/dev/dsk/c1t0d0s5       /dev/rdsk/c1t0d0s5      /opt    ufs     2       yes     logging
/dev/dsk/c1t0d0s3       /dev/rdsk/c1t0d0s3      /usr/local      ufs     2       yes     logging
swap    -       /tmp    tmpfs   -       yes     -


# cat /a/etc/system | egrep -i "rootdev|vxio"
*       rootdev:        Set the root device.  This should be a fully
*               rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a
forceload: drv/vxio

#ls -l /a/etc/vx/reconfig.d/state.d
total 0
-rw-r--r--   1 root     root           0 Oct 23 14:10 install-db

# 30  
Old 10-30-2013
What are partitions on this disk ?
Code:
format c1t0d0
p
p

Also perform these too -
Code:
cd /
umount /a
fsck -o p /dev/rdsk/c1t0d0s0

Reboot server and see, if this helped.
Is your another disk mirror disk ? Are you able to boot server from that disk ?

Last edited by solaris_1977; 10-30-2013 at 04:28 PM..
# 31  
Old 10-30-2013
Yes the second disk is mirrored but I am unable to boot, because it gives me the vxvm errors. I tried to unencapsulate this disk and that's where I stand now.
I tired to unencapsulate this disk. Server is still booting with the same error.
Code:
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm    3221 -  5187        9.54GB    (1967/0/0)   20016192
  1       swap    wu       0 -  3220       15.63GB    (3221/0/0)   32776896
  2     backup    wm       0 - 14086       68.35GB    (14087/0/0) 143349312
  3        usr    wm    5188 -  7200        9.77GB    (2013/0/0)   20484288
  4          -    wu   14085 - 14086        9.94MB    (2/0/0)         20352
  5 unassigned    wm    7201 -  9213        9.77GB    (2013/0/0)   20484288
  6 unassigned    wm    5188 -  7200        9.77GB    (2013/0/0)   20484288
  7          -    wu       0 - 14086       68.35GB    (14087/0/0) 143349312

# fsck -o p /dev/rdsk/c1t0d0s0
/dev/rdsk/c1t0d0s0: is logging.

# 32  
Old 10-30-2013
Where your second disk is giving error ? While booting ?
Are you able to mount your second disk on /a when you boot from CD ?
# 33  
Old 10-30-2013
Check /etc/inittab (or /a/etc/inittab) to have these 3 entries (and more)
Code:
fs::sysinit:/sbin/rcS sysinit           >/dev/msglog 2<>/dev/msglog </dev/console
sS:s:wait:/sbin/rcS                     >/dev/msglog 2<>/dev/msglog </dev/console
s2:23:wait:/sbin/rc2                    >/dev/msglog 2<>/dev/msglog </dev/console
s3:3:wait:/sbin/rc3                     >/dev/msglog 2<>/dev/msglog </dev/console
sc:234:respawn:/usr/lib/saf/sac -t 300
co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " -T sun -d /dev/console -l console -m ldterm,ttcompat

Add the following debug code to the /sbin/rcS (or /a/sbin/rcS) script;
after
Code:
                for f in /etc/rcS.d/S*; do

add
Code:
  echo running $f ...

Do the same for rc0, rc1, rc2, rc3
This should tell you where the deadlock occurs.

Last edited by MadeInGermany; 10-30-2013 at 05:22 PM..
# 34  
Old 10-30-2013
When I boot from second disk I get this message
Code:
VxVM sysboot INFO V-5-2-3390 Starting restore daemon...
VxVM sysboot INFO V-5-2-3409 starting in boot mode...
Oct 30 16:23:25 vxvm:vxconfigd: V-5-1-11221 vxvm:vxconfigd: ERROR: Invalid records in file /etc/vx/disk.info
configuring IPv4 interfaces: bge0. Hostname: XXXXX.XXX
VxVM  INFO V-5-2-3247 starting special volumes ( swapvol rootvol opt local )...
VxVM vxrecover ERROR V-5-1-929 Record swapvol: Not in any disk group
VxVM vxrecover ERROR V-5-1-929 Record rootvol: Not in any disk group
VxVM vxrecover ERROR V-5-1-929 Record opt: Not in any disk group
VxVM vxrecover ERROR V-5-1-929 Record local: Not in any disk group
VxVM  WARNING V-5-2-3236 Some special volumes could not be started
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
/dev/vx/dsk/bootdg/swapvol: No such device or address
The / file system (/dev/vx/rdsk/bootdg/rootvol) is being checked.
/dev/vx/rdsk/bootdg/rootvol: 36016 files, 4045017 used, 5811763 free (13659 frags, 724763 blocks, 0.1% fragmentation)
VxVM vxvm-startup2 INFO V-5-2-503 VxVM general startup...
Oct 30 16:23:52 vxvm:vxconfigd: V-5-1-11221 vxvm:vxconfigd: ERROR: Invalid records in file /etc/vx/disk.info
Oct 30 16:23:52 vxvm:vxconfigd: V-5-1-11221 vxvm:vxconfigd: ERROR: Invalid records in file /etc/vx/disk.info
The system is coming up.  Please wait.
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered checking ufs filesystems
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
/dev/vx/rdsk/bootdg/opt: No such device or address
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
Can't open /dev/vx/rdsk/bootdg/opt: No such device or address /dev/vx/rdsk/bootdg/opt: CAN'T CHECK FILE SYSTEM.
/dev/vx/rdsk/bootdg/opt: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. 
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
/dev/vx/rdsk/bootdg/local: No such device or address
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
WARNING: VxVM vxio V-5-0-181 Illegal vminor encountered
Can't open /dev/vx/rdsk/bootdg/local: No such device or address
/dev/vx/rdsk/bootdg/local: CAN'T CHECK FILE SYSTEM.
/dev/vx/rdsk/bootdg/local: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

WARNING - Unable to repair one or more filesystems.
Run fsck manually (fsck filesystem...).
Exit the shell when done to continue the boot process.
Type control-d to proceed with normal startup, (or give root password for system maintenance):

Still freezes after this..mounting the second disk:
Code:
# mount /dev/dsk/c1t1d0s0 /a
mount: the state of /dev/dsk/c1t1d0s0 is not okay
        and it was attempted to be mounted read/write
mount: Please run fsck and try again
# fsck -F ufs /dev/dsk/c1t1d0s0
** /dev/dsk/c1t1d0s0
** Last Mounted on /
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups

FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? N

Is there any way of re installing the OS without losing all of the installed and configured programs?

---------- Post updated at 04:20 PM ---------- Previous update was at 03:27 PM ----------

---------- Post updated at 04:21 PM ---------- Previous update was at 04:20 PM ----------

Code:
NOTICE: VxVM not started
running /etc/rcS.d/S30network.sh ...
configuring IPv4 interfaces: bge0.
Hostname: xxxx.xxx
running /etc/rcS.d/S30rootusr.sh ...
running /etc/rcS.d/S33keymap.sh ...
running /etc/rcS.d/S35cacheos.sh ...
running /etc/rcS.d/S35svm.init ...
running /etc/rcS.d/S35vxvm-startup1 ...
VxVM  NOTICE V-5-2-3347 Volume Manager not started
running /etc/rcS.d/S40standardmounts.sh ...
The / file system (/dev/rdsk/c1t0d0s0) is being checked.
fsck: could not stat /dev/rdsk/c1t0d0s0: No such file or directory
WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/rdsk/c1t0d0s0). Exit the shell when
done to continue the boot process.
Type control-d to proceed with normal startup,(or give root password for system maintenance):

System still freezes. mount problems?
# 35  
Old 10-30-2013
Do you have invalid special characters in /etc/vfstab? (or /a/etc/vfstab)
Code:
/a/usr/xpg4/bin/grep '[^[:print:][:blank:]]' /a/etc/vfstab

should not print anything, and
Code:
cat -v /a/etc/vfstab

should look clean.

Last edited by MadeInGermany; 10-30-2013 at 07:29 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Unable to boot up after P2V

Hi, I just P2V an old machine running Redhat 5.5 on a physical server. After P2V was completed, when boot up it got an error. Please refer to the attachment for the error. Please assist. Thanks. (2 Replies)
Discussion started by: freshmeat
2 Replies

2. Solaris

Use 'dd' to copy boot disk to larger target disk

Hi, I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
2 Replies

3. Solaris

How to specify local boot up disk in CD boot Grub?

Hi Solaris 10 Experts, I am wondering what is the correct syntax to edit in Grub when trying to specify the local ZFS boot disk while booting up from a Solaris 10 x86 64bits DVD installation disk. In other word, I try to boot up from local disk without removing the Solaris installation disk... (0 Replies)
Discussion started by: gjackson123
0 Replies

4. Solaris

Unable to boot from mirror disk on x86 server configured under VxVM

Hi, Can you help me on booting x86 server configured under VxVM. Server boots fine normally from both the disks but if I try to boot server from mirror disk without starting veritas, then it does not boot. vxplex -g rootdg dis var-02 vxplex -g rootdg dis swapvol-02 vxplex -g rootdg dis... (2 Replies)
Discussion started by: milindphanse604
2 Replies

5. Fedora

[Solved] Unable to start Matlab program

hello everyone, I have Matlab installed on Fedora 16. I tried running it by simply typing on terminal: $ matlabBut it returned the follwoing error: --- can anyone suggest a solution? cheers, peter ---------- Post updated at 10:57 PM ---------- Previous update was at 10:54 PM ----------... (1 Reply)
Discussion started by: peter_071
1 Replies

6. Hardware

[Solved] Boot Lockup After Drive Swap

Hey All, Im using Fedora 2.6 (which is cannot be changed for compatibility reasons). I cloned a drive from a different server and when i added this drive to a new box, during startup it hangs on "Configuring Kernel Parameters:" Is there any way to bypass this process and still boot... (0 Replies)
Discussion started by: robfwauk
0 Replies

7. Red Hat

Unable to boot Fedora 10

Hello, I have a test PC running Fedora 10. Friday evening it was working fine, I have some perl scripts which are scheduled to run every morning. But when I started work this morning, I found I cannot ping the machine. When I switched on the monitor, I saw the GRUB promt :(. I am not sure... (10 Replies)
Discussion started by: SivaramaRaju
10 Replies

8. Solaris

vxvm root disk booting problem - solved with boot -a. How?

Hi All, We had a Sun Netra T1 go down the other day, the root disk was mirrored using vxvm. Upon boot from either disk, we had the following error appear: WARNING: Error writing ufs log state WARNING: ufs log for / changed state to Error WARNING: Please umount(1M) / and run... (4 Replies)
Discussion started by: badoshi
4 Replies

9. Solaris

unable to boot from disk1

I had installed solaris 10 on 440 on disk 0. I had done ufsrestore on disk1 from tape and then rebooted Rebooting with command: boot disk1 Boot device: /pci@1f,700000/scsi@2/disk@1,0 File and args: SunOS Release 5.10 Version Generic_118833-24 64-bit Copyright 1983-2006 Sun Microsystems,... (3 Replies)
Discussion started by: vr76413
3 Replies
Login or Register to Ask a Question