Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1874
  • Last Modified:

fsck problem

When I boot into single user mode and perform an fsck -f no problems are found at all... However when I am booted in normal mode and do an fsck it reports the following:

** /dev/da0s1f (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=2802898  OWNER=qmailq MODE=100644
SIZE=1962 MTIME=May 19 09:53 2006
RECONNECT? no


CLEAR? no

UNREF FILE  I=2802900  OWNER=qmailq MODE=100644
SIZE=48 MTIME=May 19 09:53 2006
RECONNECT? no


CLEAR? no

UNREF FILE  I=2802901  OWNER=qmails MODE=100600
SIZE=18 MTIME=May 19 09:53 2006
RECONNECT? no


CLEAR? no

UNREF FILE  I=2802903  OWNER=qmails MODE=100600
SIZE=21 MTIME=May 19 09:53 2006
RECONNECT? no


CLEAR? no

UNREF FILE  I=2828978  OWNER=vmail MODE=100600
SIZE=2028 MTIME=May 19 09:53 2006
RECONNECT? no


CLEAR? no

UNREF FILE I=8481260  OWNER=mysql MODE=100600
SIZE=2412 MTIME=May 19 09:53 2006
CLEAR? no

UNREF FILE I=8481261  OWNER=mysql MODE=100600
SIZE=0 MTIME=May 19 09:51 2006
CLEAR? no

UNREF FILE I=8481265  OWNER=mysql MODE=100600
SIZE=0 MTIME=May 19 09:51 2006
CLEAR? no

** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no

SUMMARY INFORMATION BAD
SALVAGE? no

BLK(S) MISSING IN BIT MAPS
SALVAGE? no

14001 files, 4160038 used, 34573030 free (14886 frags, 4319768 blocks, 0.0% fragmentation)


Why is this occurring and more importantly why is it not detected in single user mode?

Thanks in advance!
-D-
0
John Gates, CISSP
Asked:
John Gates, CISSP
  • 3
  • 2
1 Solution
 
gheistCommented:
You are observing normal situation. No need to worry.
Because running filesystem changes under the hood and its state at every moment may not be completely consistent.
This is especially true about /var and /tmp

Soft dependencies will cause metadata to be more consistent while system is running.
async mount will make filesystem very nonconsistent.
5.x and 6.x will have more advanced fsck which will allow to mount dirty filesystems, and fsck while filesystems are accessed.

0
 
John Gates, CISSPSecurity ProfessionalAuthor Commented:
So you are saying that my fsck in sigle user mode finding no errors is correct?  I am a little confused by this...
0
 
gheistCommented:
It is described in every UNIX book in detail.
0
 
John Gates, CISSPSecurity ProfessionalAuthor Commented:
Can you show me 1 example?
0
 
gheistCommented:
at command prompt run "man fsck"
2nd or 3rd paragraph documents that fsck runs before mount unless commanded otherwise....
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now