How to recover if / File System can't be checked
807567Apr 20 2001 — edited Apr 24 2001Hi,
I rebooted my Sun box with Solaris 7 this morning and got a BAD_TRAP panic. It cored dump to /dev/rdsk/c0t0d0s0 and rebooted itself. During this auto-reboot, I got the following messages:
The / file system (/dev/rdsk/c0t0d0s0) is being checked.
NOTICE: /: bad dir ino 522372 at offset 6144: mangled entry
NOTICE: /: bad dir ino 522372 at offset 0: mangled entry
NOTICE: /: bad dir ino 522372 at offset 1024: mangled entry
NOTICE: /: bad dir ino 522372 at offset 2048: mangled entry
NOTICE: /: bad dir ino 522372 at offset 3072: mangled entry
NOTICE: /: bad dir ino 522372 at offset 4096: mangled entry
NOTICE: /: bad dir ino 522372 at offset 5120: mangled entry
NOTICE: /: bad dir ino 522372 at offset 6144: mangled entry
:
can't stat /dev/rdsk/c0t0d0s0.
/dev/rdsk/c0t0d0s0: CAN'T CHECK FILE SYSTEM
/dev/rdsk/c0t0d0s0: Unexpected Inconsistency; Run fsck manually.
I login to Maintenance Mode as root as ran 'fsck -F ufs /dev/rdsk/c0t0d0s0' manually and got the same messages as above.
Is there a way to recover my Sun box at this point without re-installing the OS and other softwares/device drivers?
Thanks,
Sandy