Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fixing filesystem

Status
Not open for further replies.

ackka

Programmer
Sep 25, 1999
269
0
0
US
Hi I work for a small company that has a Sun Microsystems Solaris Machine, running SunOS 5.5.1 On boot the machine reports hard drive errors and to run fsck. I enter the root password and try to get a console but it keeps loading OpenWindows and completely locks the screen. I reboot the machine and boot OpenWindows normally, I log on using a normal user, then open a console and use su to log on as root. When I try to run fsck the executable is not located any place on the harddrive.

So i'm trying to figure out any way to fix the filesystem, basically the windows equivalent of scandisk.

thanks for any help
 
Boot in single user mode:

ok> boot -s

login and then make # fsck -Y

regard ph
 
FYI...

If you are already logged in to a GUI... you can use the init command... "init s" to take you to single user mode then do your "fsck -y".


Good Luck. Have a Great Day!! :)
~Sol
Sys Admin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top