fsck

gareth bsd at lordcow.org
Mon May 15 05:01:03 PDT 2006


hi, this box has had far too many hard reboots, but can anyone shed some
light on whether this's inconsistent? i boot into single user mode,
run fsck and fix all the partitions. rerunning fsck shows no more problems.
mounting the filesystems and running fsck shows no problems. but when
i reboot into normal mode, and run fsck on these 2 particular partitions:
(and rebooting into single user mode again doesn't help).

# fsck /tmp
** /dev/ad0s1e (NO WRITE)
** Last Mounted on /tmp
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=83  OWNER=mysql MODE=100600
SIZE=0 MTIME=May 12 16:37 2006 
CLEAR? no

UNREF FILE I=84  OWNER=mysql MODE=100600
SIZE=0 MTIME=May 12 16:37 2006 
CLEAR? no

UNREF FILE I=85  OWNER=mysql MODE=100600
SIZE=0 MTIME=May 12 16:37 2006 
CLEAR? no

** Phase 5 - Check Cyl groups
82 files, 540 used, 126299 free (27 frags, 15784 blocks, 0.0% fragmentation)

# fsck /var
** /dev/ad0s1d (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=8314  OWNER=root MODE=100644
SIZE=0 MTIME=May 12 16:37 2006 
CLEAR? no

UNREF FILE I=8376  OWNER=root MODE=140666
SIZE=0 MTIME=May 12 16:37 2006 
CLEAR? no

** Phase 5 - Check Cyl groups
1637 files, 37723 used, 89116 free (1252 frags, 10983 blocks, 1.0% fragmentation)


More information about the freebsd-stable mailing list