Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to remove the solaris 10 (sparc) patch ?

Posted on 2011-10-19
77
Medium Priority
?
4,446 Views
Last Modified: 2013-12-27
Hi Experts,

After patching, I ran init 0 and boot -s and the system did not boot.
Produced the following error messages:

{1} ok
{1} ok boot rootdisk -s
Boot device: /pci@1c,600000/scsi@2/disk@0,0:a  File and args: -s rootdisk
krtld: Unused kernel arguments: `rootdisk'.
SunOS Release 5.10 Version Generic_138888-07 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
/kernel/fs/sparcv9/mntfs: undefined symbol 'vfs_mono_time'
WARNING: mod_load: cannot load module 'mntfs'
WARNING: Cannot mount /etc/mnttab

/kernel/fs/sparcv9/tmpfs: undefined symbol 'uio_prefaultpages'
WARNING: mod_load: cannot load module 'tmpfs'
WARNING: Cannot mount /etc/svc/volatile

Hardware watchdog enabled
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_disconnect'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getsockname'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_free'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_load'
/kernel/fs/sparcv9/sockfs: undefined symbol 'UDP_WR'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_create'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_close'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_listen'
/kernel/fs/sparcv9/sockfs: undefined symbol 'udp_output'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_recvd'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_mpprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_alloc_hdr'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_get_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'tcp_wput'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_sprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_bind'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getpeername'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_sendmsg'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_set_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_connect'
WARNING: mod_load: cannot load module 'sockfs'
WARNING: sockfs: unable to resolve dependency, module 'drv/ip' not found
/kernel/sys/sparcv9/c2audit: undefined symbol 'getsonode'
WARNING: mod_load: cannot load module 'c2audit'
WARNING: c2audit: unable to resolve dependency, module 'fs/sockfs' not found
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
strplumb: can't install module drv/ip, err -1
drv/wc:wcvnget() not defined properly

panic[cpu1]/thread=180e000: consconfig: unable to find wc devisc>


So for me it looks like the patch did not go through. Please correct me if wrong.
How can I go & uninstall the patch ? I am able to switch to single  user mode with
cdrom. And I am getting following when trying to mount -

# mount /dev/dsk/c0t0d0s0 /a
mount: /dev/dsk/c0t0d0s0 is already mounted or /a is busy


# who -r
   .       run-level S  Oct 19 08:27     S      0  0
# pwd
/tmp/root

# more /etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
/devices        -               /devices        devfs   -       no      -
/proc           -               /proc           proc    -       no      -
ctfs            -       /system/contract        ctfs    -       no      -
objfs           -       /system/object  objfs   -       no      -
fd              -               /dev/fd         fd      -       no      -
swap            -               /tmp            tmpfs   -       yes     -

swap - /tmp tmpfs - no -
/proc - /proc proc - no -
/devices/pci@1e,600000/ide@d/sd@0,0:b - / ufs - no ro
/devices/pci@1e,600000/ide@d/sd@0,0:a - /cdrom hsfs - no ro
fd - /dev/fd fd - no -
# ls -l
total 64
drwxr-xr-x   7 root     other       1290 Oct 19 08:24 etc
drwxr-xr-x   3 root     sys          177 Jan 23  2005 kernel
drwxr-xr-x   2 root     sys          117 Jan 22  2005 usr
drwxr-xr-x  16 root     sys          958 Oct 19 08:24 var

# uname -a
SunOS  5.10 Generic sun4u sparc SUNW,Sun-Fire-V210

Upgraded patch set to kernel rev. 11 of 142900.  These patches are the Sun recommended patches for Solaris 10 frozen from May 14th, 2010


How can I uninstall the patch ?

Please reply ASAP. Any help is appreciated.

Thanks in Advance.
0
Comment
Question by:rajsolaris
  • 45
  • 27
  • 5
77 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 36993963
can you run fsck on the root partition then try mounting again
0
 

Author Comment

by:rajsolaris
ID: 36994014
So nice to hear back from you after long time. Thanks.
I will try that.
0
 

Author Comment

by:rajsolaris
ID: 36994128
Hi I get this:

# /usr/sbin/fsck -y /dev/rdsk/c0t0d0s0
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
# fsck /dev/rdsk/c0t0d0s0
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).

Thank you.
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 

Author Comment

by:rajsolaris
ID: 36994197
I was able to mount the root on /a and ran following:

# mount /dev/dsk/c1t0d0s0 /a
# /usr/sbin/fsck -y /dev/rdsk/c0t0d0s0
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
# pwd
/tmp/root
# cd /a
# /usr/sbin/fsck /dev/rdsk/c0t0d0s0
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).

But still same error. Does the command need to be according to the suggestions in the output ?

Thanks
0
 

Author Comment

by:rajsolaris
ID: 36994263
#  /usr/sbin/fsck -y /dev/rdsk/c1t0d0s0
** /dev/rdsk/c1t0d0s0
** Last Mounted on /a
** 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?  yes

448208 files, 20696069 used, 7161673 free (473497 frags, 836022 blocks, 1.7% fragmentation)
0
 

Author Comment

by:rajsolaris
ID: 36994476
I can mount the FS now.
/a on /dev/dsk/c1t0d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=800000 on Wed Oct 19 10:15:03 201

Does the following helps ?

# more 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/md/dsk/d1  /dev/md/rdsk/d1 /       ufs     1       no      -
#/dev/dsk/c1t0d0s3      /dev/rdsk/c1t0d0s3      /var    ufs     1       no      -
#/dev/dsk/c1t0d0s4      /dev/rdsk/c1t0d0s4      /home   ufs     2       yes     -
/dev/md/dsk/d3  /dev/md/rdsk/d3      /var    ufs     1       no      -
/dev/md/dsk/d4  /dev/md/rdsk/d4         /home   ufs     2       yes     -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     size=512m
rojobserver020:/usr/rodata_test/saportal -   /usr/rodata/saportal     nfs   -    yes    public
rojobserver020:/usr/rodata_test/cpdocs   -   /usr/rodata/cpdocs       nfs   -    yes    public

# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/pci@1e,600000/ide@d/cdrom@0,0:b
                      123246  111938       0   100%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 4034008     344 4033664     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
swap                 4034416     752 4033664     1%    /tmp
/tmp/dev             4034416     752 4033664     1%    /dev
/devices/pci@1e,600000/ide@d/sd@0,0:a
                     2852064 2852064       0   100%    /cdrom
/cdrom/Solaris_10/Tools/Boot/usr
                     2852064 2852064       0   100%    /usr
fd                         0       0       0     0%    /dev/fd
swap                 4033664       0 4033664     0%    /tmp/root/var/run
/dev/dsk/c1t0d0s0    27885406 20723733 6882819    76%    /a
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 36994484
can you try to reboot the system and see if you can boot from disk again?
0
 

Author Comment

by:rajsolaris
ID: 36994584
Nope :-(

# pwd
/tmp/root
# reboot
syncing file systems... done
rebooting...

SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses
Probing system devices
Probing memory
Probing I/O buses


Sun Fire V210, No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.2, 4096 MB memory installed, Serial #65447285.
Ethernet address 0:3:ba:e6:a5:75, Host ID: 83e6a575.



Rebooting with command: boot
Boot device: rootdisk  File and args:
SunOS Release 5.10 Version Generic_138888-07 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
/kernel/fs/sparcv9/mntfs: undefined symbol 'vfs_mono_time'
WARNING: mod_load: cannot load module 'mntfs'
WARNING: Cannot mount /etc/mnttab

/kernel/fs/sparcv9/tmpfs: undefined symbol 'uio_prefaultpages'
WARNING: mod_load: cannot load module 'tmpfs'
WARNING: Cannot mount /etc/svc/volatile

Hardware watchdog enabled
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_disconnect'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getsockname'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_free'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_load'
/kernel/fs/sparcv9/sockfs: undefined symbol 'UDP_WR'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_create'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_close'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_listen'
/kernel/fs/sparcv9/sockfs: undefined symbol 'udp_output'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_recvd'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_mpprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_alloc_hdr'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_get_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'tcp_wput'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_sprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_bind'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getpeername'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_sendmsg'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_set_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_connect'
WARNING: mod_load: cannot load module 'sockfs'
WARNING: sockfs: unable to resolve dependency, module 'drv/ip' not found
/kernel/sys/sparcv9/c2audit: undefined symbol 'getsonode'
WARNING: mod_load: cannot load module 'c2audit'
WARNING: c2audit: unable to resolve dependency, module 'fs/sockfs' not found
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
strplumb: can't install module drv/ip, err -1
drv/wc:wcvnget() not defined properly

panic[cpu1]/thread=180e000: consconfig: unable to find wc device

000000000180b7b0 consconfig_dacf:cons_build_upper_layer+210 (60010d03300, 13bb000, ffffffffffffffff, 18fe400, 3, 13bb000)
  %l0-3: 00000000018cec00 0000000001260000 00000300000bbc28 0000000000000000
  %l4-7: 0000000000000000 00000000018c9800 00000000018fe400 00000000018c2400
000000000180b890 consconfig_dacf:dynamic_console_config+68 (18c2400, ffffffffffffffff, 0, 60010d03300, 1870000, 1870000)
  %l0-3: 00000000018475a8 0000060010ce0000 00000000018c9c00 00000000018c9400
  %l4-7: 00000000018c9c00 00000000018c9800 00000000018c9800 00000000018c2400
000000000180b940 unix:stubs_common_code+70 (f1ca52a5a, 4dbb16, 53555554, 0, 4e500, 0)
  %l0-3: 000000000180b209 000000000180b2e1 000000123f000000 0000000000000001
  %l4-7: 0000000000000000 0000000001818ac0 0000000000000000 0000060010ccf820
000000000180ba10 genunix:main+13c (18c6e48, 18c2800, 18397b0, 1879800, 181b578, 1815000)
  %l0-3: 0000000001015400 0000000000000001 0000000070002000 0000000000000002
  %l4-7: 00000000018ca0a8 00000000018ca000 00000000018c6e58 00000000018c6c00

syncing file systems... done
skipping system dump - no dump device configured
rebooting...
Probing system devices
Probing memory
Probing I/O buses
Probing system devices
Probing memory
Probing I/O buses


Sun Fire V210, No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.2, 4096 MB memory installed, Serial #65447285.
Ethernet address 0:3:ba:e6:a5:75, Host ID: 83e6a575.



Rebooting with command: boot
Boot device: rootdisk  File and args:
sc>
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 36994613
are you sure that your are booting from thr right disk? if you have a mirrored disk then you may need to edit /etc/vfstab file to boot from the right root partition
0
 

Author Comment

by:rajsolaris
ID: 36995037
Here is my vfstab :

# more 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/md/dsk/d1  /dev/md/rdsk/d1 /       ufs     1       no      -
#/dev/dsk/c1t0d0s3      /dev/rdsk/c1t0d0s3      /var    ufs     1       no      -
#/dev/dsk/c1t0d0s4      /dev/rdsk/c1t0d0s4      /home   ufs     2       yes     -
/dev/md/dsk/d3  /dev/md/rdsk/d3      /var    ufs     1       no      -
/dev/md/dsk/d4  /dev/md/rdsk/d4         /home   ufs     2       yes     -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     size=512m
rojobserver020:/usr/rodata_test/saportal -   /usr/rodata/saportal     nfs   -    yes    public
rojobserver020:/usr/rodata_test/cpdocs   -   /usr/rodata/cpdocs       nfs   -    yes    public

0
 

Author Comment

by:rajsolaris
ID: 36995145
# eeprom boot-device
boot-device=rootdisk rootmirror net
0
 

Author Comment

by:rajsolaris
ID: 36995558
I am not seeing the following line:

/dev/dsk/c1t0d0s0       /dev/rdsk/c1t0d0s0      /       ufs     1       no      -

in the pre-patched server in the vfstab file, How that could be ?
So this is what, I am planning to do. Below is the prepatch state vfstab file. I am going to comment the
/dev/md/dsk/d1, /dev/md/dsk/d3, /dev/md/dsk/d4 respectively. and add the -

/dev/dsk/c1t0d0s0       /dev/rdsk/c1t0d0s0      /       ufs     1       no      -

in the vfatab file. and then try reboot. I have set the auto-boot? false.

Please advise. Thanks in Advance.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996103
Using "metaroot /dev/dsk/c1t0d0s0" command, this will change / in vfstab to mount on /dev/dsk/c1t0d0s0.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996128
The above command also will remove meta-device configuration information on the system. So the system should be able to boot on disk c1t0d0s0.
0
 

Author Comment

by:rajsolaris
ID: 36996160
I added that manually in the vfstab, by mounting on /a and editing the vfstab file. But did not work.
I am trying your way in sinle user mode via cdrom.

Thanks for the reply.
0
 

Author Comment

by:rajsolaris
ID: 36996175
# metaroot /dev/dsk/c1t0d0s0
metaroot: /dev/md/admin: No such file or directory

0
 

Author Comment

by:rajsolaris
ID: 36996196
This is my current existing vfstab:

#  mount /dev/dsk/c1t0d0s0 /a
# more /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/md/dsk/d1 /dev/md/rdsk/d1 /       ufs     1       no      -
/dev/dsk/c1t0d0s0       /dev/rdsk/c1t0d0s0      /       ufs     1       no      -
/dev/dsk/c1t0d0s3       /dev/rdsk/c1t0d0s3      /var    ufs     1       no      -
/dev/dsk/c1t0d0s4       /dev/rdsk/c1t0d0s4      /home   ufs     2       yes     -
#/dev/md/dsk/d3  /dev/md/rdsk/d3      /var    ufs     1       no      -
#/dev/md/dsk/d4  /dev/md/rdsk/d4                /home   ufs     2       yes     -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     size=512m
rojobserver020:/usr/rodata_test/saportal -   /usr/rodata/saportal     nfs   -
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996232
1) ensure c1t0d0s0 is not mount, before using metaroot command.
2) If it still dosen't work, you need to remove some entries in /etc/system file manually.
0
 

Author Comment

by:rajsolaris
ID: 36996290
yeah, it is not mounted. still same. And there is nothing in the /etc/system to remove.

Thanks
0
 

Author Comment

by:rajsolaris
ID: 36996310
and this.................


Rebooting with command: boot disk0 -s
Boot device: /pci@1c,600000/scsi@2/disk@0,0  File and args: -s
SunOS Release 5.10 Version Generic_138888-07 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
/kernel/fs/sparcv9/mntfs: undefined symbol 'vfs_mono_time'
WARNING: mod_load: cannot load module 'mntfs'
WARNING: Cannot mount /etc/mnttab

/kernel/fs/sparcv9/tmpfs: undefined symbol 'uio_prefaultpages'
WARNING: mod_load: cannot load module 'tmpfs'
WARNING: Cannot mount /etc/svc/volatile

Hardware watchdog enabled
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_disconnect'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getsockname'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_free'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_load'
/kernel/fs/sparcv9/sockfs: undefined symbol 'UDP_WR'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_create'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_close'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_listen'
/kernel/fs/sparcv9/sockfs: undefined symbol 'udp_output'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_recvd'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_mpprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_alloc_hdr'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_get_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'tcp_wput'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_sprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_bind'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getpeername'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_sendmsg'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_set_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_connect'
WARNING: mod_load: cannot load module 'sockfs'
WARNING: sockfs: unable to resolve dependency, module 'drv/ip' not found
/kernel/sys/sparcv9/c2audit: undefined symbol 'getsonode'
WARNING: mod_load: cannot load module 'c2audit'
WARNING: c2audit: unable to resolve dependency, module 'fs/sockfs' not found
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
strplumb: can't install module drv/ip, err -1
drv/wc:wcvnget() not defined properly

panic[cpu1]/thread=180e000: consconfig: unable to find wc device

000000000180b7b0 consconfig_dacf:cons_build_upper_layer+210 (60010d03380, 13bb000, ffffffffffffffff, 18fe400, 3, 13bb000)
  %l0-3: 00000000018cec00 0000000001260000 00000300000bbc28 0000000000000000
  %l4-7: 0000000000000000 00000000018c9800 00000000018fe400 00000000018c2400
000000000180b890 consconfig_dacf:dynamic_console_config+68 (18c2400, ffffffffffffffff, 0, 60010d03380, 1870000, 1870000)
  %l0-3: 00000000018475a8 0000060010ce0000 00000000018c9c00 00000000018c9400
  %l4-7: 00000000018c9c00 00000000018c9800 00000000018c9800 00000000018c2400
000000000180b940 unix:stubs_common_code+70 (eeef1f6ea, 7fce6c, 53555554, 0, 4e200, 0)
  %l0-3: 000000000180b209 000000000180b2e1 000000123f000000 0000000000000001
  %l4-7: 0000000000000000 0000000001818ac0 0000000000000000 0000060010ccf820
000000000180ba10 genunix:main+13c (18c6e48, 18c2800, 18397b0, 1879800, 181b578, 1815000)
  %l0-3: 0000000001015400 0000000000000001 0000000070002000 0000000000000002
  %l4-7: 00000000018ca0a8 00000000018ca000 00000000018c6e58 00000000018c6c00

0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996328
Is c1t0d0s0 on disk1 or not?
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996335
Also mount /dev/dsk/c1t0d0s0 /a
and check /a/etc/system
0
 

Author Comment

by:rajsolaris
ID: 36996392
Is c1t0d0s0 on disk1 or not?  - How to confirm this ? because I tried to boot from all the disks like
disk, disk0, disk1....etc But no luck.

# more /a/etc/system
*ident  "@(#)system     1.18    97/06/27 SMI" /* SVR4 1.5 */
*
* SYSTEM SPECIFICATION FILE
*

* moddir:
*
*       Set the search path for modules.  This has a format similar to the
*       csh path variable. If the module isn't found in the first directory
*       it tries the second and so on. The default is /kernel /usr/kernel
*
*       Example:
*               moddir: /kernel /usr/kernel /other/modules



* root device and root filesystem configuration:
*
*       The following may be used to override the defaults provided by
*       the boot program:
*
*       rootfs:         Set the filesystem type of the root.

0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996518
First of all, you need to find out the physical paths to disk c1t0d0s0

# cd /a/dev/dsk
# ls -al | grep c1t0d0s0

you should see some thing like:

c1t1d0s0 -> ../../devices/pci@1c,600000/scsi@2/sd@1,0:a

Then, under ok prom, create boot disk entry

ok>nvalias disk1 /pci@1c,600000/scsi@2/sd@1,0

Now try to boot from disk1

ok>boot disk1 -s
0
 

Author Comment

by:rajsolaris
ID: 36996564
I got this :

# mount /dev/dsk/c1t0d0s0 /a
# cd /a/dev/dsk
# ls -al | grep c1t0d0s0
lrwxrwxrwx   1 root     root          43 Jun 17  2009 c1t0d0s0 -> ../../devices/pci@1c,600000/scsi@2/sd@0,0:a
0
 

Author Comment

by:rajsolaris
ID: 36996588
So it should be like this:

ok nvalias disk1 /pci@1c,600000/scsi@2/sd@0,0
ok>boot disk1 -s

Thanks again.
0
 

Author Comment

by:rajsolaris
ID: 36996612
The above is the question Sir. Is that okay ?
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996626
Yep, I could see any problem.
0
 

Author Comment

by:rajsolaris
ID: 36996649
I ran those commands from ok prompt and got this:

{1} ok nvalias disk1 /pci@1c,600000/scsi@2/sd@0,0
{1} ok boot disk1 -s

SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses
Probing system devices
Probing memory
Probing I/O buses


Sun Fire V210, No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.2, 4096 MB memory installed, Serial #65447285.
Ethernet address 0:3:ba:e6:a5:75, Host ID: 83e6a575.



Rebooting with command: boot disk1 -s
Boot device: /pci@1c,600000/scsi@2/sd@0,0  File and args: -s
Evaluating:

Can't locate boot device

Thanks
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996677
Please run

ok setenv auto-boot? false
ok reset-all
ok probe-scsi-all
0
 

Author Comment

by:rajsolaris
ID: 36996690
Here is the output:

{1} ok setenv auto-boot? false
auto-boot? =          false
{1} ok  reset-all

SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses
Probing system devices
Probing memory
Probing I/O buses


Sun Fire V210, No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.2, 4096 MB memory installed, Serial #65447285.
Ethernet address 0:3:ba:e6:a5:75, Host ID: 83e6a575.




{1} ok probe-scsi-all
/pci@1c,600000/scsi@2,1

/pci@1c,600000/scsi@2
Target 0
  Unit 0   Disk     FUJITSU MAT3073N SUN72G 0602
Target 1
  Unit 0   Disk     FUJITSU MAT3073N SUN72G 0602

Thank you.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996714
OK, try boot disk1 -s again please.
0
 

Author Comment

by:rajsolaris
ID: 36996717
{1} ok boot disk1 -s
Boot device: /pci@1c,600000/scsi@2/sd@0,0  File and args: -s

Can't locate boot device

Thanks
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996731
Can you please double check under /a/dev/dsk for c0t0d0s0 and c1t0d0s0. One should be on sd@1,0 or sd@2,0. Because probe-scsi-all command showed that.
0
 

Author Comment

by:rajsolaris
ID: 36996736
{1} ok printenv nvramrc
nvramrc =             devalias disk1 /pci@1c,600000/scsi@2/sd@0,0
                      devalias rootdisk /pci@1c,600000/scsi@2/disk@0,0:a devalias rootmirror /pci@1c,600000/scsi@2/disk@1,0:a


{1} ok printenv boot-device
boot-device =         rootdisk rootmirror net

{1} ok devalias
screen                   /pci@1d,700000/SUNW,XVR-100@1
rootmirror               /pci@1c,600000/scsi@2/disk@1,0:a
rootdisk                 /pci@1c,600000/scsi@2/disk@0,0:a
disk1                    /pci@1c,600000/scsi@2/sd@0,0
xnet2                    /pci@1d,700000/pci@1/SUNW,hme@0,1:dhcp,
xnet1                    /pci@1e,600000/pci@3/SUNW,hme@0,1:dhcp,
xnet                     /pci@1e,600000/pci@2/SUNW,hme@0,1:dhcp,
net3                     /pci@1d,700000/network@2,1
net2                     /pci@1d,700000/network@2
net1                     /pci@1f,700000/network@2,1
net                      /pci@1f,700000/network@2
cdrom                    /pci@1e,600000/ide@d/cdrom@0,0:f
ide                      /pci@1e,600000/ide@d
disk3                    /pci@1c,600000/scsi@2/disk@3,0
disk2                    /pci@1c,600000/scsi@2/disk@2,0
disk1                    /pci@1c,600000/scsi@2/disk@1,0
disk0                    /pci@1c,600000/scsi@2/disk@0,0
disk                     /pci@1c,600000/scsi@2/disk@0,0
scsi                     /pci@1c,600000/scsi@2
sc-control               /pci@1e,600000/isa@7/rmc-comm@0,3e8
ttyb                     /pci@1e,600000/isa@7/serial@0,2e8
ttya                     /pci@1e,600000/isa@7/serial@0,3f8
name                     aliases

See if this is correct.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996761
OK, try "boot rootmirror -s" please.
0
 

Author Comment

by:rajsolaris
ID: 36996777
{1} ok boot rootmirror -s
Boot device: /pci@1c,600000/scsi@2/disk@1,0:a  File and args: -s
SunOS Release 5.10 Version Generic_138888-07 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_disconnect'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getsockname'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_free'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_load'
/kernel/fs/sparcv9/sockfs: undefined symbol 'UDP_WR'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_create'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_close'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_listen'
/kernel/fs/sparcv9/sockfs: undefined symbol 'udp_output'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_recvd'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_mpprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_alloc_hdr'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_get_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'tcp_wput'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_sprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_bind'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getpeername'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_sendmsg'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_set_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_connect'
WARNING: mod_load: cannot load module 'sockfs'
WARNING: sockfs: unable to resolve dependency, module 'drv/ip' not found
/kernel/sys/sparcv9/c2audit: undefined symbol 'getsonode'
WARNING: mod_load: cannot load module 'c2audit'
WARNING: c2audit: unable to resolve dependency, module 'fs/sockfs' not found
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
strplumb: can't install module drv/ip, err -1
drv/wc:wcvnget() not defined properly

panic[cpu1]/thread=180e000: consconfig: unable to find wc device

000000000180b7b0 consconfig_dacf:cons_build_upper_layer+210 (60010d07300, 13c0000, ffffffffffffffff, 190ec00, 3, 13c0000)
  %l0-3: 00000000018cec00 0000000001260000 00000300000bdc28 0000000000000000
  %l4-7: 0000000000000000 00000000018c9800 000000000190ec00 00000000018c2400
000000000180b890 consconfig_dacf:dynamic_console_config+68 (18c2400, ffffffffffffffff, 0, 60010d07300, 1870000, 1870000)
  %l0-3: 00000000018475a8 0000060010ce2000 00000000018c9c00 00000000018c9400
  %l4-7: 00000000018c9c00 00000000018c9800 00000000018c9800 00000000018c2400
000000000180b940 unix:stubs_common_code+70 (122862238d7, dcc8d, 53555554, 0, 60500, 0)
  %l0-3: 000000000180b209 000000000180b2e1 000000123e000000 0000000000000001
  %l4-7: 0000000000000000 0000000001818ac0 0000000000000000 0000060010cc9490
000000000180ba10 genunix:main+13c (18c6e48, 18c2800, 18397b0, 1879800, 181b578, 1815000)
  %l0-3: 0000000001015400 0000000000000001 0000000070002000 0000000000000002
  %l4-7: 00000000018ca0a8 00000000018ca000 00000000018c6e58 00000000018c6c00

syncing file systems... done
skipping system dump - no dump device configured
rebooting...

SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses
Probing system devices
Probing memory
Probing I/O buses


Sun Fire V210, No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.2, 4096 MB memory installed, Serial #65447285.
Ethernet address 0:3:ba:e6:a5:75, Host ID: 83e6a575.



Rebooting with command: boot
Boot device: rootdisk  File and args:
Boot load failed.
The file just loaded does not appear to be executable.
{1} ok

-------------------

I have commented the entries for:
/dev/md/dsk/d1
/dev/md/dsk/d3
/dev/md/dsk/d4

in vfstab file. is the error output because of that ? The mirrors were detached before patching.

Thanks
0
 

Author Comment

by:rajsolaris
ID: 36996785
Appreciate your time and suggestions ganjos.
Thanks
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996806
"The mirrors were detached before patching."

That was the problem if did not follow up the right procedure. But don't worry about me. Have you changed d1, d3 and d4 to physical devices, ie c1t0d0s... in vfstab?

0
 

Author Comment

by:rajsolaris
ID: 36996835
This is the existing vfstab file. So the mirrors should not have been  detached before patching ?



# mount /dev/dsk/c1t0d0s0 /a
# more /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/md/dsk/d1 /dev/md/rdsk/d1 /       ufs     1       no      -
/dev/dsk/c1t0d0s0       /dev/rdsk/c1t0d0s0      /       ufs     1       no      -
/dev/dsk/c1t0d0s3       /dev/rdsk/c1t0d0s3      /var    ufs     1       no      -
/dev/dsk/c1t0d0s4       /dev/rdsk/c1t0d0s4      /home   ufs     2       yes     -
#/dev/md/dsk/d3  /dev/md/rdsk/d3      /var    ufs     1       no      -
#/dev/md/dsk/d4  /dev/md/rdsk/d4                /home   ufs     2       yes     -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     size=512m
rojobserver020:/usr/rodata_test/saportal -   /usr/rodata/saportal     nfs   -
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996876
Don't need to, but if you want for some reason, you need to run "metaroot /dev/dsk/... " on to the physical disk. so this will clean up all metadevices before a re-boot took place. Anyway, try one more thing, run
ok> boot cdrom -s
# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0
# init 0
ok> boot rootmirror -s
0
 

Author Comment

by:rajsolaris
ID: 36996896
Still Same:

# cd
#  installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0
# pwd
/tmp/root
# umount /a
# init 0
# syncing file systems... done
Program terminated
{0} ok boot rootmirror -s

SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses
Probing system devices
Probing memory
Probing I/O buses


Sun Fire V210, No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.2, 4096 MB memory installed, Serial #65447285.
Ethernet address 0:3:ba:e6:a5:75, Host ID: 83e6a575.



Rebooting with command: boot rootmirror -s
Boot device: /pci@1c,600000/scsi@2/disk@1,0:a  File and args: -s
SunOS Release 5.10 Version Generic_138888-07 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_disconnect'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getsockname'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_free'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_load'
/kernel/fs/sparcv9/sockfs: undefined symbol 'UDP_WR'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_create'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_close'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_listen'
/kernel/fs/sparcv9/sockfs: undefined symbol 'udp_output'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_recvd'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_mpprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_alloc_hdr'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_get_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'tcp_wput'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_sprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_bind'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getpeername'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_sendmsg'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_set_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_connect'
WARNING: mod_load: cannot load module 'sockfs'
WARNING: sockfs: unable to resolve dependency, module 'drv/ip' not found
/kernel/sys/sparcv9/c2audit: undefined symbol 'getsonode'
WARNING: mod_load: cannot load module 'c2audit'
WARNING: c2audit: unable to resolve dependency, module 'fs/sockfs' not found
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
strplumb: can't install module drv/ip, err -1
drv/wc:wcvnget() not defined properly

panic[cpu1]/thread=180e000: consconfig: unable to find wc device

000000000180b7b0 consconfig_dacf:cons_build_upper_layer+210 (60010d05300, 13c0000, ffffffffffffffff, 190ec00, 3, 13c0000)
  %l0-3: 00000000018cec00 0000000001260000 00000300000bdc28 0000000000000000
  %l4-7: 0000000000000000 00000000018c9800 000000000190ec00 00000000018c2400
000000000180b890 consconfig_dacf:dynamic_console_config+68 (18c2400, ffffffffffffffff, 0, 60010d05300, 1870000, 1870000)
  %l0-3: 00000000018475a8 0000060010ce0000 00000000018c9c00 00000000018c9400
  %l4-7: 00000000018c9c00 00000000018c9800 00000000018c9800 00000000018c2400
000000000180b940 unix:stubs_common_code+70 (f76aca1b7, 546ba7, 53555554, 0, 62600, 0)
  %l0-3: 000000000180b209 000000000180b2e1 000000123e000000 0000000000000001
  %l4-7: 0000000000000000 0000000001818ac0 0000000000000000 0000060010cc74b0
000000000180ba10 genunix:main+13c (18c6e48, 18c2800, 18397b0, 1879800, 181b578, 1815000)
  %l0-3: 0000000001015400 0000000000000001 0000000070002000 0000000000000002
  %l4-7: 00000000018ca0a8 00000000018ca000 00000000018c6e58 00000000018c6c00

syncing file systems... done
skipping system dump - no dump device configured
rebooting...
Probing system devices
Probing memory
Probing I/O buses
Probing system devices
Probing memory
Probing I/O buses


Sun Fire V210, No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.2, 4096 MB memory installed, Serial #65447285.
Ethernet address 0:3:ba:e6:a5:75, Host ID: 83e6a575.



Rebooting with command: boot
Boot device: rootdisk  File and args:
Boot load failed.
The file just loaded does not appear to be executable.
{1} ok
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996907
Then this:
ok> boot cdrom -s
# mount /dev/dsk/c1t0d0s0 /a
# metaroot /a/dev/dsk/c1t0d0s0
# init 0
ok> boot rootmirror -s
0
 

Author Comment

by:rajsolaris
ID: 36996928
I get the following:

# mount
/ on /pci@1e,600000/ide@d/cdrom@0,0:b read/write/setuid/devices/dev=800019 on Wed Dec 31 16:00:00 1969
/devices on /devices read/write/setuid/devices/dev=44c0000 on Wed Oct 19 16:43:51 2011
/system/contract on ctfs read/write/setuid/devices/dev=4500001 on Wed Oct 19 16:43:51 2011
/proc on proc read/write/setuid/devices/dev=4540000 on Wed Oct 19 16:43:52 2011
/etc/mnttab on mnttab read/write/setuid/devices/dev=4580001 on Wed Oct 19 16:43:52 2011
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=45c0001 on Wed Oct 19 16:43:52 2011
/system/object on objfs read/write/setuid/devices/dev=4600001 on Wed Oct 19 16:43:52 2011
/tmp on swap read/write/setuid/devices/xattr/dev=45c0002 on Wed Oct 19 16:44:12 2011
/dev on /tmp/dev read/write/setuid/devices/dev=45c0002 on Wed Oct 19 16:44:15 2011
/cdrom on /devices/pci@1e,600000/ide@d/sd@0,0:a read only/setuid/devices/noglobal/maplcase/rr/traildot/dev=800018 on Wed Oct 19 16:47:22 2011
/usr on /cdrom/Solaris_10/Tools/Boot/usr read/write/setuid/devices/dev=800018 on Wed Oct 19 16:47:22 2011
/dev/fd on fd read/write/setuid/devices/dev=47c0001 on Wed Oct 19 16:47:23 2011
/tmp/root/var/run on swap read/write/setuid/devices/xattr/dev=45c0003 on Wed Oct 19 16:47:29 2011
/a on /dev/dsk/c1t0d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=800000 on Wed Oct 19 16:47:46 2011

# metaroot /a/dev/dsk/c1t0d0s0
metaroot: /dev/md/admin: No such file or directory

Thanks.
0
 

Author Comment

by:rajsolaris
ID: 36996931
Here is the md devices listing.................

# ls -l /a/dev/md
total 6
lrwxrwxrwx   1 root     root          31 Jun 17  2009 admin -> ../../devices/pseudo/md@0:admin
drwxr-xr-x   2 root     root         512 Jun 24  2009 dsk
drwxr-xr-x   2 root     root         512 Jun 24  2009 rdsk
# ls -l /a/dev/md/dsk
total 18
lrwxrwxrwx   1 root     root          36 Jun 24  2009 d1 -> ../../../devices/pseudo/md@0:0,1,blk
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d10 -> ../../../devices/pseudo/md@0:0,10,blk
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d11 -> ../../../devices/pseudo/md@0:0,11,blk
lrwxrwxrwx   1 root     root          36 Jun 24  2009 d3 -> ../../../devices/pseudo/md@0:0,3,blk
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d30 -> ../../../devices/pseudo/md@0:0,30,blk
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d31 -> ../../../devices/pseudo/md@0:0,31,blk
lrwxrwxrwx   1 root     root          36 Jun 24  2009 d4 -> ../../../devices/pseudo/md@0:0,4,blk
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d40 -> ../../../devices/pseudo/md@0:0,40,blk
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d41 -> ../../../devices/pseudo/md@0:0,41,blk
# ls -l /a/dev/md/rdsk
total 18
lrwxrwxrwx   1 root     root          36 Jun 24  2009 d1 -> ../../../devices/pseudo/md@0:0,1,raw
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d10 -> ../../../devices/pseudo/md@0:0,10,raw
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d11 -> ../../../devices/pseudo/md@0:0,11,raw
lrwxrwxrwx   1 root     root          36 Jun 24  2009 d3 -> ../../../devices/pseudo/md@0:0,3,raw
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d30 -> ../../../devices/pseudo/md@0:0,30,raw
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d31 -> ../../../devices/pseudo/md@0:0,31,raw
lrwxrwxrwx   1 root     root          36 Jun 24  2009 d4 -> ../../../devices/pseudo/md@0:0,4,raw
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d40 -> ../../../devices/pseudo/md@0:0,40,raw
lrwxrwxrwx   1 root     root          37 Jun 24  2009 d41 -> ../../../devices/pseudo/md@0:0,41,raw
0
 

Author Comment

by:rajsolaris
ID: 36996949
Hi qanjos,
In the vfstab file the md devices line is commented. Does that need to be removed ?

#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/md/dsk/d1 /dev/md/rdsk/d1 /       ufs     1       no      -
/dev/dsk/c1t0d0s0       /dev/rdsk/c1t0d0s0      /       ufs     1       no
-
/dev/dsk/c1t0d0s3       /dev/rdsk/c1t0d0s3      /var    ufs     1       no
-
/dev/dsk/c1t0d0s4       /dev/rdsk/c1t0d0s4      /home   ufs     2       yes
-
#/dev/md/dsk/d3  /dev/md/rdsk/d3      /var    ufs     1       no      -
#/dev/md/dsk/d4  /dev/md/rdsk/d4                /home   ufs     2       yes
-
Thanks
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996953
All meta-devices should be there, right?
# metastat -p

Can you revise back to the mirroring status before patching?
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996960
No that dosen't matter in te vfstab.

can you see any information in /a/etc/system file?
# cat /a/etc/system
0
 

Author Comment

by:rajsolaris
ID: 36996965
yes.

# cat /a/etc/system
*ident  "@(#)system     1.18    97/06/27 SMI" /* SVR4 1.5 */
*
* SYSTEM SPECIFICATION FILE
*

* moddir:
*
*       Set the search path for modules.  This has a format similar to the
*       csh path variable. If the module isn't found in the first directory
*       it tries the second and so on. The default is /kernel /usr/kernel
*
*       Example:
*               moddir: /kernel /usr/kernel /other/modules



* root device and root filesystem configuration:
*
*       The following may be used to override the defaults provided by
*       the boot program:
*
*       rootfs:         Set the filesystem type of the root.
*
*       rootdev:        Set the root device.  This should be a fully
*                       expanded physical pathname.  The default is the
*                       physical pathname of the device where the boot
*                       program resides.  The physical pathname is
*                       highly platform and configuration dependent.
*
*       Example:
*               rootfs:ufs
*               rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a
*
*       (Swap device configuration should be specified in /etc/vfstab.)



* exclude:
*
*       Modules appearing in the moddir path which are NOT to be loaded,
*       even if referenced. Note that `exclude' accepts either a module name,
*       or a filename which includes the directory.
*
*       Examples:
*               exclude: win
*               exclude: sys/shmsys



* forceload:
*
*       Cause these modules to be loaded at boot time, (just before mounting
*       the root filesystem) rather than at first reference. Note that
*       forceload expects a filename which includes the directory. Also
*       note that loading a module does not necessarily imply that it will
*       be installed.
*
*       Example:
*               forceload: drv/foo



* set:
*
*       Set an integer variable in the kernel or a module to a new value.
*       This facility should be used with caution.  See system(4).
*
*       Examples:
*
*       To set variables in 'unix':
*
*               set nautopush=32
*               set maxusers=40
*
*       To set a variable named 'debug' in the module named 'test_module'
*
*               set test_module:debug = 0x13

set nfssrv:nfs_portmon=1
set noexec_user_stack_log=1
set noexec_user_stack=1
* Begin MDD root info (do not edit)
rootdev:/pseudo/md@0:0,1,blk
* End MDD root info (do not edit)

Thanks.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36996976
Put a "*" in frant of "rootdev:/pseudo/md@0:0,1,blk", then reboot from disk1 please.
0
 

Author Comment

by:rajsolaris
ID: 36996984
I am getting this:

* Begin MDD root info (do not edit)
*rootdev:/pseudo/md@0:0,1,blk
* End MDD root info (do not edit)
"system" 84 lines, 2060 characters
# cd
# umount /a
# init 0
# syncing file systems... done
Program terminated
{0} ok boot disk1 -s

SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses
Probing system devices
Probing memory
Probing I/O buses


Sun Fire V210, No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.2, 4096 MB memory installed, Serial #65447285.
Ethernet address 0:3:ba:e6:a5:75, Host ID: 83e6a575.



Rebooting with command: boot disk1 -s
Boot device: /pci@1c,600000/scsi@2/sd@0,0  File and args: -s
Evaluating:

Can't locate boot device

{1} ok

Thanks.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36997003
"boot rootmirror -s" please.
0
 

Author Comment

by:rajsolaris
ID: 36997007
ok.

Do you see there are two devaliases for disk1

{1} ok devalias
screen                   /pci@1d,700000/SUNW,XVR-100@1
rootmirror               /pci@1c,600000/scsi@2/disk@1,0:a
rootdisk                 /pci@1c,600000/scsi@2/disk@0,0:a
disk1                    /pci@1c,600000/scsi@2/sd@0,0
xnet2                    /pci@1d,700000/pci@1/SUNW,hme@0,1:dhcp,
xnet1                    /pci@1e,600000/pci@3/SUNW,hme@0,1:dhcp,
xnet                     /pci@1e,600000/pci@2/SUNW,hme@0,1:dhcp,
net3                     /pci@1d,700000/network@2,1
net2                     /pci@1d,700000/network@2
net1                     /pci@1f,700000/network@2,1
net                      /pci@1f,700000/network@2
cdrom                    /pci@1e,600000/ide@d/cdrom@0,0:f
ide                      /pci@1e,600000/ide@d
disk3                    /pci@1c,600000/scsi@2/disk@3,0
disk2                    /pci@1c,600000/scsi@2/disk@2,0
disk1                    /pci@1c,600000/scsi@2/disk@1,0
disk0                    /pci@1c,600000/scsi@2/disk@0,0
disk                     /pci@1c,600000/scsi@2/disk@0,0
scsi                     /pci@1c,600000/scsi@2
sc-control               /pci@1e,600000/isa@7/rmc-comm@0,3e8
ttyb                     /pci@1e,600000/isa@7/serial@0,2e8
ttya                     /pci@1e,600000/isa@7/serial@0,3f8

Thanks
0
 

Author Comment

by:rajsolaris
ID: 36997012
still same:

Rebooting with command: boot
Boot device: rootdisk  File and args:
Boot load failed.
The file just loaded does not appear to be executable.
Thanks
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36997019
This can be fixed later. But command is
ok> boot rootmirror -s
0
 

Author Comment

by:rajsolaris
ID: 36997027
okay. I ran the same command just did not copy paste all the output. Here I ran it again .....

{1} ok boot rootmirror -s
Boot device: /pci@1c,600000/scsi@2/disk@1,0:a  File and args: -s
SunOS Release 5.10 Version Generic_138888-07 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_disconnect'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getsockname'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_free'
/kernel/fs/sparcv9/sockfs: undefined symbol 'nd_load'
/kernel/fs/sparcv9/sockfs: undefined symbol 'UDP_WR'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_create'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_close'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_listen'
/kernel/fs/sparcv9/sockfs: undefined symbol 'udp_output'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_recvd'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_mpprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_alloc_hdr'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_get_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'tcp_wput'
/kernel/fs/sparcv9/sockfs: undefined symbol 'mi_sprintf'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_bind'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getpeername'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_sendmsg'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_set_opt'
/kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_connect'
WARNING: mod_load: cannot load module 'sockfs'
WARNING: sockfs: unable to resolve dependency, module 'drv/ip' not found
/kernel/sys/sparcv9/c2audit: undefined symbol 'getsonode'
WARNING: mod_load: cannot load module 'c2audit'
WARNING: c2audit: unable to resolve dependency, module 'fs/sockfs' not found
/kernel/drv/sparcv9/ip: undefined symbol 'msg_setcredpid'
/kernel/drv/sparcv9/ip: undefined symbol 'untimeout_default'
/kernel/drv/sparcv9/ip: undefined symbol 'timeout_generic'
WARNING: mod_load: cannot load module 'ip'
strplumb: can't install module drv/ip, err -1
drv/wc:wcvnget() not defined properly

panic[cpu1]/thread=180e000: consconfig: unable to find wc device

000000000180b7b0 consconfig_dacf:cons_build_upper_layer+210 (60010d05300, 13c0000, ffffffffffffffff, 190ec00, 3, 13c0000)
  %l0-3: 00000000018cec00 0000000001260000 00000300000bdc28 0000000000000000
  %l4-7: 0000000000000000 00000000018c9800 000000000190ec00 00000000018c2400
000000000180b890 consconfig_dacf:dynamic_console_config+68 (18c2400, ffffffffffffffff, 0, 60010d05300, 1870000, 1870000)
  %l0-3: 00000000018475a8 0000060010ce0000 00000000018c9c00 00000000018c9400
  %l4-7: 00000000018c9c00 00000000018c9800 00000000018c9800 00000000018c2400
000000000180b940 unix:stubs_common_code+70 (76e339b4aa, 7f63fa, 53555554, 0, 60800, 0)
  %l0-3: 000000000180b209 000000000180b2e1 000000123e000000 0000000000000001
  %l4-7: 0000000000000000 0000000001818ac0 0000000000000000 0000060010cc74a0
000000000180ba10 genunix:main+13c (18c6e48, 18c2800, 18397b0, 1879800, 181b578, 1815000)
  %l0-3: 0000000001015400 0000000000000001 0000000070002000 0000000000000002
  %l4-7: 00000000018ca0a8 00000000018ca000 00000000018c6e58 00000000018c6c00

syncing file systems... done
skipping system dump - no dump device configured
rebooting...

SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses
Probing system devices
Probing memory
Probing I/O buses


Sun Fire V210, No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.2, 4096 MB memory installed, Serial #65447285.
Ethernet address 0:3:ba:e6:a5:75, Host ID: 83e6a575.



Rebooting with command: boot
Boot device: rootdisk  File and args:
Boot load failed.
The file just loaded does not appear to be executable.
{1} ok

Thank you.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36997039
This
#  /usr/sbin/fsck -y /dev/rdsk/c1t0d0s0
** /dev/rdsk/c1t0d0s0
** Last Mounted on /a
** 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?  yes

448208 files, 20696069 used, 7161673 free (473497 frags, 836022 blocks, 1.7% fragmentation)

may delete some files on disk1. Would you be able to revise back to meta-devices, so far we only changed vfstab and /etc/system files.
0
 

Author Comment

by:rajsolaris
ID: 36997049
you mean uncomment the metadevices entries from the vfstab ?
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36997054
What is output of
# metastat -p
0
 

Author Comment

by:rajsolaris
ID: 36997063
# metastat -p
metastat: /dev/md/admin: No such file or directory
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36997072
"The mirrors were detached before patching."

What have you done?
0
 

Author Comment

by:rajsolaris
ID: 36997094
-bash-3.00$ metastat -c
d4               m   10GB d40 d41
    d40          s   10GB c1t0d0s4
    d41          s   10GB c1t1d0s4
d3               m   10GB d30 d31
    d30          s   10GB c1t0d0s3
    d31          s   10GB c1t1d0s3
d1               m   27GB d10 d11
    d10          s   27GB c1t0d0s0
    d11          s   27GB c1t1d0s0

bash-3.00# metadetach d4 d41
d4: submirror d41 is detached
bash-3.00# metadetach d3 d31
d3: submirror d31 is detached
bash-3.00# metadetach d1 d11
d1: submirror d11 is detached

Thanks
0
 

Author Comment

by:rajsolaris
ID: 36997166
Thank you very very much for all the help.
Hope if you could assist me kindly tomorrow morning. I am at EST timezine.

Thanks again.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36997175
1) Are you use ufs or zfs?
2) assume d1, d3 and d4 are still good.
3) use "fsck" to fix disk c0t0d0s0 with -o b=n (n=32, or other alternate super blocks)
4) use "newfs -Nv /dev/rdsk/c0t0d0s0" to find out other alternate super blocks.
5) Go though the similar process as disk1, don't forget to put back commended entries in vfstab and /etc/system
6) boot rootdisk -s

BTW, fsck can't use on zfs.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36997220
You're welcome, I am down under:)
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 36997734
To cleanup disk1 alais

ok nvunalias disk1 /pci@1c,600000/scsi@2/sd@0,0
0
 

Author Comment

by:rajsolaris
ID: 37000564
Okay. Thank you.
0
 

Author Comment

by:rajsolaris
ID: 37000647
Hi qanjos,
I got the following output from the command you asked to run.

# /usr/sbin/newfs -Nv /dev/rdsk/c0t0d0s0
mkfs -F ufs -o N /dev/rdsk/c0t0d0s0 5704320 640 1 8192 1024 64 2 5 6144 t 0 -1 8 16 n
/dev/rdsk/c0t0d0s0:     5704320 sectors in 8913 cylinders of 1 tracks, 640 sectors
        2785.3MB in 140 cyl groups (64 c/g, 20.00MB/g, 3392 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 40992, 81952, 122912, 163872, 204832, 245792, 286752, 327712, 368672,
 5324832, 5365792, 5406752, 5447712, 5488672, 5529632, 5570592, 5611552,
 5652512, 5693472,

Thanks.
0
 

Author Comment

by:rajsolaris
ID: 37000790
And this ....

# fsck -F ufs -o b=40992 /dev/rdsk/c0t0d0s0
Alternate super block location: 40992.
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
# fsck -F ufs -o b=32 /dev/rdsk/c0t0d0s0
Alternate super block location: 32.
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).

Thanks.
0
 

Author Comment

by:rajsolaris
ID: 37001120
#  fsck -F ufs -o b=32 /dev/rdsk/c1t0d0s0
Alternate super block location: 32.
** /dev/rdsk/c1t0d0s0
** 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
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? y

448208 files, 20696069 used, 7189337 free (473497 frags, 839480 blocks, 1.7% fragmentation)


***** FILE SYSTEM WAS MODIFIED *****
---------------------------------------------------

# fsck -F ufs -o b=32 /dev/rdsk/c0t0d0s0
Alternate super block location: 32.
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).

Thanks.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 37003068
You can try any of them one by one for disk c0t0d0s0

32, 40992, 81952, 122912, 163872, 204832, 245792, 286752, 327712, 368672,
 5324832, 5365792, 5406752, 5447712, 5488672, 5529632, 5570592, 5611552,
 5652512, 5693472

If no good, that means the disk is bad.
0
 

Author Comment

by:rajsolaris
ID: 37007061
Thank You for the feedback.

I am still getting the same.

# fsck -F ufs -o b=5570592 /dev/rdsk/c0t0d0s0
Alternate super block location: 5570592.
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
# fsck -F ufs -o b=5611552 /dev/rdsk/c0t0d0s0
Alternate super block location: 5611552.
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
# fsck -F ufs -o b=5652512 /dev/rdsk/c0t0d0s0
Alternate super block location: 5652512.
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
# fsck -F ufs -o b=5693472 /dev/rdsk/c0t0d0s0
Alternate super block location: 5693472.
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
......

Please advise.

Thanks,
-Raj
0
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 1200 total points
ID: 37010265
Looks like this disk has broken down.
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 37010360
If the disk is showing errors, then it is better to replace it and restore latest backup
0
 

Author Comment

by:rajsolaris
ID: 37018356
So experts, was the disk bad already ? I mean when I checked the pre-configuration backup of the
server for vfstab file. the root device entry was missing. I added that later But by the time the system was booted many times. Please enlighten.

We will be rebuilding this box from the backup.

Thanks a lot.
0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 800 total points
ID: 37045275
Some times the disk has errors due to physical problems (mechanical or electronic) , or some times there are block corruption which you can not recover from.

It is better to replace disk with another. You may keep the old disk a side till you rebuild the system on the new disk since you may need some of your files (not OS files, but data, scripts, programs). from it.
0
 

Author Closing Comment

by:rajsolaris
ID: 37177502
Thanks a lot Ganjos for your valuable help and guidance.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month13 days, 3 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question