1833767 Members
2513 Online
110063 Solutions
New Discussion

fsck root file system

 
SOLVED
Go to solution
j773303
Super Advisor

fsck root file system

How to use fsck to check the / file system? Thanks.
Hero
4 REPLIES 4
Sunil Sharma_1
Honored Contributor

Re: fsck root file system

Hi,

/ can not be unmounted so fsck has to be done while it's mounted. other options are boot in single user mode and run fsck.

best way is boot from recovery/support CD and mount old / at some othe mount point and run fsck on that.


Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
j773303
Super Advisor

Re: fsck root file system

Since the OS is unix 9.05 , and I got the below message. How the next steps to check the file system.


Cnode id:1 cnode name:standalone
File system not properly SHUTDOWN Beginningï¼ File system repair
Fsck:/dev/dsk/c201d6s0:root file system
Contiuneï¼ (y/n) Y

Could not fix file system with fsck â pï¼ run fsck interactive!
Starting a shell for manualfsckï¼ ^D When file system fixed
(
Hero
Sunil Sharma_1
Honored Contributor
Solution

Re: fsck root file system

Hi,

refer this link for more details

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=679640

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Franky_1
Respected Contributor

Re: fsck root file system

Hi,

it is best to check in single user mode using

fsck -F vxfs -o full -y /dev/vg00/lvol3

Otherwise you can use the "-m" version

fsck -F vxfs -m /dev/vg00/lvol3 (sanity check without umount)

Regards

Franky
Don't worry be happy