Improvements to fsck performance in -current ...?

From: Marc G. Fournier (scrappy_at_hub.org)
Date: 09/30/03

  • Next message: Nate Lawson: "Re: Problem w/ ACPI in -CURRENT: Update"
    Date: Tue, 30 Sep 2003 18:42:21 -0300 (ADT)
    To: freebsd-current@freebsd.org
    
    

    Due to an electrician flipping the wrong circuit breaker this morning, I
    had my servers go down hard ... they are all -STABLE, with one of the four
    taking a *very* long time to fsck:

    jupiter# ps aux | grep fsck
    root 361 99.0 2.3 95572 95508 p0 R+ 4:21PM 121:13.21 fsck -y /dev/da0s1h
    jupiter# date
    Tue Sep 30 18:37:02 ADT 2003
    jupiter#

    Now, CPU time is rising, so I figure its still working away, and fsck
    shows:

    jupiter# fsck -y /dev/da0s1h
    ** /dev/da0s1h
    ** Last Mounted on /vm
    ** Phase 1 - Check Blocks and Sizes
    ** Phase 2 - Check Pathnames
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts

    so it isn't finding any errors ...

    A friend of mine asked if we had a journalling file system, which I told
    him know, as I don't believe we do ... but are/have there been any
    improvements to fsck in -CURRENT to improve performance on large file
    systems (this is a 6x36G RAID5 system)? Does UFS2 address any of this?

    I've actually had a 6x18gig RAID5 file system once take 11+hrs to fsck ...
    and when it was completed, everything seemed fine, with no reports of any
    file or directory corruption ... it obviously did a good job of checking
    the file system, just hate the lengthy downtime ...

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Nate Lawson: "Re: Problem w/ ACPI in -CURRENT: Update"

    Relevant Pages

    • RE: serioup problem after running fsck
      ... I'm not an expert in recovery and I'm not sure you could recover at ... > The easiest and first thing is to run fsck again (although I ... Running it once is no guarantee that the file system ... > shutdown command from the command line or the shutdown menu ...
      (RedHat)
    • fstab entries for external USB hard drives led to fsck.ext3 failure on boot, bug?
      ... 'F!3@$%ing fsck! ... Please repair the file system manually. ... CONTROL-D will terminate this shell and resume system boot. ... were to allow me to quickly mount an external hard drive ...
      (Debian-User)
    • Re: fsck - how to use?
      ... I got some lost files and some other file system ... > that there aren't any problems with the files on the disk as a result of the ... > that it is dangerous to run fsck on a mounted partition. ...
      (linux.redhat.misc)
    • Re: [SLE] How do I use fsck????
      ... > it couldn't fsck and that I would have to do it manually. ... in single user mode to fsck root, AND the root file system must be ... root or mounted file system, ...
      (SuSE)
    • Re: dangerous situation with shutdown process
      ... softupdates sometimes do take a long ... >>then fsck, then shutdown. ... Actually an fsck on a live filesystem will force the softupdates to ... You can fsck a mounted file system and fsck will run in read-only ...
      (freebsd-stable)