The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Disk space for root partition chiru_h Shell Programming and Scripting 3 07-24-2007 12:25 PM
Replace a Failed Root Disk in AIX chinnu_mulakala AIX 1 08-14-2006 02:06 PM
Problem re-formatting Disk Partition jimthompson UNIX for Dummies Questions & Answers 1 01-11-2006 07:06 AM
root partition full and problem start rahul72 UNIX for Advanced & Expert Users 1 08-08-2002 08:06 AM
root partition was full and problem start rahul72 Filesystems, Disks and Memory 3 08-07-2002 04:28 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-04-2008
steeles steeles is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 2
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:


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.


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


# 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 steeles; 02-04-2008 at 06:07 AM.. Reason: more info
  #2 (permalink)  
Old 02-08-2008
stevie_velvet stevie_velvet is offline
Registered User
  
 

Join Date: Jan 2008
Location: London e Milano
Posts: 85
WARNING: Error writing ufs log state
WARNING: ufs log for / changed state to Error

Sounds terminal
  #3 (permalink)  
Old 02-11-2008
arm_naja arm_naja is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 41
I'm not sure, but Can you try

fsck -y fsck /dev/rdsk/c1t0d0s0

option -y : yes for all question

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


Ratcha.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0