Help: root partition crashed, fsck failed. Disk problem?


 
Thread Tools Search this Thread
Operating Systems Solaris Help: root partition crashed, fsck failed. Disk problem?
# 1  
Old 02-04-2008
Help: root partition crashed, fsck failed. Disk problem?

recently this sunfire 280R (solaris 10) is having problme, it was able to boot up, then all suddent, it failed, and I can't even mount the first disk which contains root partition when I boot up from cdrom.

2 X 36G hard drive,

I scan first hard drive by "read", there is no bad block. The strange thing is that I can't issue "refresh" or "test", it keeps saying the disk is write protected. (I boot from cdrom as well to single user mode).

Partition:
Code:
Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm    1936 - 24619       31.25GB    (22684/0/0) 65534076
  1       swap    wu       0 -   361      510.65MB    (362/0/0)    1045818
  2     backup    wm       0 - 24619       33.92GB    (24620/0/0) 71127180
  3 unassigned    wm       0                0         (0/0/0)            0
  4 unassigned    wm       0                0         (0/0/0)            0
  5 unassigned    wm       0                0         (0/0/0)            0
  6 unassigned    wm       0                0         (0/0/0)            0
  7        var    wm     363 -  1935        2.17GB    (1573/0/0)   4544397

Here is the result for fsck.
Code:
# fsck /dev/dsk/c1t0d0s0
** /dev/dsk/c1t0d0s0
WARNING: Error writing ufs log state
WARNING: ufs log for / changed state to Error
WARNING: Please umount(1M) / and run fsck(1M)
WARNING: Error writing master during ufs log roll
WARNING: ufs log for / changed state to Error
WARNING: Please umount(1M) / and run fsck(1M)
Can't roll the log for /dev/dsk/c1t0d0s0.

DISCARDING THE LOG MAY DISCARD PENDING TRANSACTIONS.
DISCARD THE LOG AND CONTINUE? Y

** Last Mounted on /
** Phase 1 - Check Blocks and Sizes
PARTIALLY TRUNCATED INODE I=191000
SALVAGE? y

** Phase 2 - Check Pathnames
UNALLOCATED  I=191002  OWNER=root MODE=0
SIZE=0 MTIME=Feb  1 00:00 2008
NAME=/dbs/system_7.d4

REMOVE? y


CANNOT READ: BLK 3146654
CONTINUE? y

THE FOLLOWING SECTORS COULD NOT BE READ:
DIRECTORY CORRUPTED  I=189225  OWNER=root MODE=40555
SIZE=512 MTIME=Jun  2 12:29 2006
DIR=/wordm2

SALVAGE? y

MISSING '.'  I=189225  OWNER=root MODE=40555
SIZE=512 MTIME=Jun  2 12:29 2006
DIR=/wordm2

FIX? y

MISSING '..'  I=189225  OWNER=root MODE=40555
SIZE=512 MTIME=Jun  2 12:29 2006
DIR=/wordm2

FIX? y

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? Y

166177 files, 14823362 used, 17447401 free (141961 frags, 2163180 blocks, 0.4% fragmentation)

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

fsck ran successfully, but I still can't mount that root partition.
Code:
# mount /dev/dsk/c1t0d0s0 /a
WARNING: Error accessing ufs log for /a; Please run fsck(1M)
mount: I/O error
mount: cannot mount /dev/dsk/c1t0d0s0

Help please!!!

Last edited by Yogesh Sawant; 04-10-2011 at 11:38 AM.. Reason: added code tags
# 2  
Old 02-08-2008
Code:
WARNING: Error writing ufs log state
WARNING: ufs log for / changed state to Error

Sounds terminal

Last edited by Yogesh Sawant; 04-10-2011 at 11:38 AM.. Reason: added code tags
# 3  
Old 02-11-2008
I'm not sure, but Can you try
Code:
fsck -y fsck /dev/rdsk/c1t0d0s0

option -y : yes for all question

I think it should fsck for raw device (rdsk).


Ratcha.

Last edited by Yogesh Sawant; 04-10-2011 at 11:39 AM.. Reason: added code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Not able to run fsck on root file system

I am trying to root disk mirroring on SunFire V210 Server. There are two disks on this server c1t0d0 and c1t1d0 . I completed all the steps and I updated the vfstab file too. After I have updated the vfstab file I run df -h command but could not see the changes i made in vfstab. Suddenly the server... (1 Reply)
Discussion started by: newbi8321
1 Replies

2. 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

3. Solaris

Disk crashed

My system is SUN Solaris 5.6 and one of the disks on the server got crashed. Here are the details d23: Mirror Submirror 0: d24 State: Okay Submirror 1: d25 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) ... (1 Reply)
Discussion started by: asalman.qazi
1 Replies

4. UNIX for Advanced & Expert Users

Hard-disk partition is Full problem?

HI, Currently I am working in One of the webhosting company and I found on one of my server "/home" partition is getting full say 105% usage... But when I actually check the partition size using "du -h", exact partition utilization is only 60-70%. So... (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies

5. Shell Programming and Scripting

Disk space for root partition

Hello, I am trying to monitor disk space for each node on the machine. I am able to get all individual nodes but for the '/' node. For example: df -k: bash-2.05b# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/xxx 4127108 2415340 1502120 62% / /dev/yyy ... (3 Replies)
Discussion started by: chiru_h
3 Replies

6. AIX

Replace a Failed Root Disk in AIX

My root disk is failed and how to replace the root disk in AIX. Can u give a detailed explanation in step wise. Pls give the answer taking different scenarios. Regards Praveen (1 Reply)
Discussion started by: chinnu_mulakala
1 Replies

7. UNIX for Dummies Questions & Answers

Problem re-formatting Disk Partition

I have a disk formatted as follows. Part Flag Tag Cylinders Size =================================================== 0 wm root 0 - 38125 26.18 Gb 1 wu swap 38126 - 49776 8 Gb 2 wm backup 0 - 49779 34.18 Gb 3 wm unassigned 4 wm unassigned 5 wm unassigned 6 wm unassigned... (1 Reply)
Discussion started by: jimthompson
1 Replies

8. UNIX for Advanced & Expert Users

root partition full and problem start

We have SunOS 5.7 m/c. Following is the situation and problem what we are facing - - The root partition was full. - No login was possible on server (not from console also) - M/c was power swithced off - After this only console login is possible. FTP is possible. No telnet is possible. I... (1 Reply)
Discussion started by: rahul72
1 Replies

9. Filesystems, Disks and Memory

root partition was full and problem start

We have SunOS 5.7 m/c. Following is the situation and problem what we are facing - - The root partition was full. - No login was possible on server (not from console also) - M/c was power swithced off - After this only console login is possible. FTP is possible. No telnet is possible. I... (3 Replies)
Discussion started by: rahul72
3 Replies
Login or Register to Ask a Question