View Single Post
  #1   (View Single Post)  
Old 23rd July 2011
Quaxo Quaxo is offline
Port Guard
 
Join Date: Jun 2008
Posts: 29
Default How to force a file system clean?

Hi!

After a power falure my openbsd server halts on boot. One of my drive have "inconsistency" according to the prompt. This is what I get after the file system check is done:
...
CANNOT READ: BLK 28196704
/dev/rwd1i: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
...

I tryed "fsck_ffs /dev/rwd1i" and then I got:
...recal drive fault...
...(more numbers and stuff)...
CANNOT READ: BLK 128
CONTINUE? [Fyn?]

If I type "y" it keeps listing other blocks and I finally end up in a prompt.

What should I do to fix this (to repair my file system, or force marking it clean)?

/Quaxo
Reply With Quote