Problem with fsck on solaris

From: Luc(lsd) (stdenisl_1_at_hotmail.com)
Date: 11/10/05


Date: 10 Nov 2005 11:21:05 -0800

Hi All,
   After aplying the latest patch bundle from sun on a server
enterprise 250
with a Storage D1000 attached to it , my server does not reboot
properly.
here is the message I get when rebooting the server.

Initializing Memory
Rebooting with command: boot
Boot device: disk:a File and args:
SunOS Release 5.9 Version Generic_118558-16 64-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
configuring IPv4 interfaces: hme0.
Hostname: Gargantua
The system is coming up. Please wait.
checking ufs filesystems
fsck: unknown dev: `/dev/rdsk/c2t0d0s1'

WARNING - Unable to repair one or more filesystems.
Run fsck manually (fsck filesystem...).
Exit the shell when done to continue the boot process.

/dev/md/rdsk/d20: is logging.

Type control-d to proceed with normal startup,
(or give root password for system maintenance):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode

Nov 8 16:09:59 su: 'su root' succeeded for root on /dev/console

Sun Microsystems Inc. SunOS 5.9 Generic May 2002
bash-2.05# fsck -y /dev/rdsk/c2t0d0s1
** /dev/rdsk/c2t0d0s1
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).

I did try the fsck fsck [-F ufs] -o b=32 /dev/md/rdsk/d10
ti fix the problem still not rebooting properly

I even did a newfs /dev/md/rdsk/d10
still not rebooting properly.

If I type the <ctrl>d when it ask me for maintenance
the server continue to boot with some error:
resuming mountall
starting rpc services: rpcbind done.
Setting netmask of hme0 to 255.255.255.0
Setting default IPv4 interface for multicast: add net 224.0/4: gateway
Gargantua
syslog service starting.
syslogd: /var/log/syslog #operator: No such file or directory
syslogd: /var/log/syslog # root: No such file or directory
Bus Error - core dumped
/usr/sbin/metadevadm -r failure 138.
Bus Error - core dumped
Could not start /usr/sbin/mdmonitord. Error 138.
/usr/local/apache/bin/apachectl start: httpd started
volume management starting.
The system is ready.

here is my 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/c0t0d0s1 - - swap - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1
no -
/dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 /var ufs 1
no -
/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs
2 yes -
swap - /tmp tmpfs - yes -
/dev/md/dsk/d10 /dev/md/rdsk/d10 /u01 ufs 1 yes
-
/dev/md/dsk/d20 /dev/md/rdsk/d20 /u02 ufs 1 yes
-
what can I do to fix this problem?

Thank's luc



Relevant Pages

  • Re: X4100 ILOM hangs with 0037
    ... but there is no progress after this BIOS code. ... Unfortunately I cannot get to the server physically at the moment, ... While rebooting only 0037 in the lower right corner on a black screen -> system hangs. ... Opened a service call with SUN a month ago, ...
    (comp.sys.sun.hardware)
  • Re: Problem with fsck on solaris
    ... > here is the message I get when rebooting the server. ... > Copyright 1983-2003 Sun Microsystems, ... > Entering System Maintenance Mode ... > Bus Error - core dumped ...
    (comp.unix.solaris)
  • Re: HELP! Ive been had! Someone hacked into my Linux box. What now?
    ... server that is using a default sshd configuration. ... As of now it is still rebooting at 9:00 AM. ... been "rootkitted" (the standard way of hijacking a server). ... Rootkits ...
    (comp.os.linux.security)
  • Re: Troubleshoot Failing Clients Internet Connection
    ... rebooting no problems with clients connecting to the interner on Tuesday and ... I plan to remove the card this weekend. ... How many nics in your SBS server? ... Internet when they first logon in the morning. ...
    (microsoft.public.windows.server.sbs)
  • Re: Whats the easiest way to CHANGE my (otherwise static) IP address?
    ... that every nntp server, every ftp server, every torrent server, etc., has ... If your ISP gives you a static IP number, no amount of rebooting things ... But if your internet connection is ...
    (alt.os.linux)