How to do FSCK on Solaris 10

Selasa, Februari 24, 20150 komentar

FSCK,

Sometimes this happen when your server suddenly reboot or pannic because of software or hardware problem. After reboot, the server not enter the multiuser but single user, so some of your filesystem not mounted properly. Of coures, your root fs not mounted.

This is the step when you got that problem.

After reboot the messages will appear like this  :

Give root password for maintenance
(or type Control-D for normal startup) : 


So, just enter your root password. After that just do these command :

1.  root@server #bash

2.  root@server #svcs -vx --> will see like this :  
[Mon Feb 23 11:27:07 2015] root@server # svcs -vx
[Mon Feb 23 11:27:41 2015] svc:/system/filesystem/usr:default (read/write root file systems mounts)
[Mon Feb 23 11:27:41 2015]  State: maintenance since Mon Feb 23 02:51:12 2015
[Mon Feb 23 11:27:42 2015] Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
[Mon Feb 23 11:27:42 2015]    See: http://sun.com/msg/SMF-8000-KS
[Mon Feb 23 11:27:42 2015]    See: /etc/svc/volatile/system-filesystem-usr:default.log
[Mon Feb 23 11:27:42 2015] Impact: 65 dependent services are not running:
[Mon Feb 23 11:27:42 2015]         svc:/system/filesystem/minimal:default
[Mon Feb 23 11:27:42 2015]         svc:/milestone/single-user:default
[Mon Feb 23 11:27:42 2015]         svc:/system/filesystem/local:default
[Mon Feb 23 11:27:42 2015]         svc:/application/psncollector:default 


3. After that, check on orange colour ( See: /etc/svc/volatile/system-filesystem-usr:default.log ). 

4. cat /etc/svc/volatile/system-filesystem-usr:default.log --> you will see what shoud you do 
fsck -F ufs /dev/vx/rdsk/rootdg/rootvol / --> this is "manually fsck" 

5. After fsck finished, you need to reboot the server and will enter multiuser properly. 

6. Check everything in your server.  


Thanks guys. I always write something that i never it know before.  


Share this article :
 
Support : Awan Argoho San Storage Solution
Copyright © 2011. Welcome To Awan Argoho's Website - All Rights Reserved
Email | awanargoho@gmail.com Whatsapp | 08111929925
Proudly powered by Blogger