I used fsirand on the root filesystem.... :(

From: LOEWENTHAL Simon (sloewenthal@gemini.edu)
Date: Mon May 17 2004 - 15:29:20 EDT


Hi all,

I was using fsirand on a Solaris 9 server. Its man page said that if you
used this on the root filesystem then you should reboot immediatly
afterwards, so I brought the system to single user mode and ran this:

[root@gate]root$ fsirand /dev/dsk/c1t0d0s0
[root@gate]root$ reboot -- -s

Afterward it rebooted root failed FSCK complaining that the superblock was
bad:

The / file system (/dev/rdsk/c1t0d0s0) is being checked.
/dev/rdsk/c1t0d0s0: BAD SUPER BLOCK: BAD VALUES IN SUPER BLOCK
/dev/rdsk/c1t0d0s0: USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED
INFORMATION;
/dev/rdsk/c1t0d0s0: eg. fsck [-F ufs] -o b=# [special ...]
/dev/rdsk/c1t0d0s0: where # is the alternate super block. SEE fsck_ufs(1M).

/dev/rdsk/c1t0d0s0: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/rdsk/c1t0d0s0). Exit the shell when done to
continue the boot process.

Does anyone know how to get out of this fix?

Regards,
Simon.

---
Simon Loewenthal
Gemini Observatory
Information Systems Group
Video 139.229.33.88
Voice +56 51 205610
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.684 / Virus Database: 446 - Release Date: 13/05/2004
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:40 EDT