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?
** 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?
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!!!