View Single Post
  #1   (View Single Post)  
Old 2nd December 2008
map7 map7 is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 75
Default fsck reports errors but does not fix them.

When I do a fsck /var I get the following errors:
Code:
** /dev/da0s1d (NO WRITE)
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=188420  OWNER=mysql MODE=100600
SIZE=0 MTIME=Dec  2 11:31 2008 
CLEAR? no

UNREF FILE I=188447  OWNER=mysql MODE=100600
SIZE=0 MTIME=Dec  2 11:31 2008 
CLEAR? no

UNREF FILE I=188482  OWNER=mysql MODE=100600
SIZE=0 MTIME=Dec  2 11:31 2008 
CLEAR? no

UNREF FILE I=188483  OWNER=mysql MODE=100600
SIZE=0 MTIME=Dec  2 11:31 2008 
CLEAR? no

** Phase 5 - Check Cyl groups
37401 files, 231756 used, 1220491 free (2611 frags, 152235 blocks, 0.2% fragmentation)
To try and fix these errors I first go into single user mode with:
# init 1

Then when I recheck that label in single user mode no errors are reported?
# fsck /dev/da0s1d
Code:
** /dev/da0s1d (NO WRITE)
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
37401 files, 231756 used, 1220491 free (2611 frags, 152235 blocks, 0.2% fragmentation)
How do I fix the errors?

I've also tried booting frenzy but this does not boot on my computer, it crashes the kernel and reboots.
Reply With Quote