Re: 5.1-R-p11 unable to "sync disks" when shutting down

From: David Gilbert (dgilbert_at_dclg.ca)
Date: 12/31/03

  • Next message: Stefan Ehmann: "Re: page fault panic tracked down (selwakeuppri())"
    Date: Wed, 31 Dec 2003 17:37:09 -0500
    To: Esa Karkkainen <ejk@iki.fi>
    
    

    >>>>> "Esa" == Esa Karkkainen <ejk@iki.fi> writes:

    Esa> No, I don't use snapshots any more. I did use snapshots via
    Esa> bgfsck, but now I have disabled bgfsck, because for some reason I
    Esa> got panics which seemed to be related to bgfsck.

    I think it would be _very_ helpful if bgfsck could be made to only run
    once. Currently, you can have the following:

    crash -> boot -> defer for bgfsck -> multiuser -> bgfsck -> crash

    (loop until manual intervention)

    ... this happens when bgfsck can't fix something. I'd like to see:

    crash -> boot -> defer for bgfsck (but mark disk as having tried)
          -> multiuser -> bgfsck -> crash -> boot -> fsck in foreground
          -> multiuser

    ... but I believe this would require fsck support unless the startup
    scripts were writing to the filesystem to indicate no bgfsck.

    Dave.

    -- 
    ============================================================================
    |David Gilbert, Independent Contractor.       | Two things can only be     |
    |Mail:       dave@daveg.ca                    |  equal if and only if they |
    |http://daveg.ca                              |   are precisely opposite.  |
    =========================================================GLO================
    _______________________________________________
    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: Stefan Ehmann: "Re: page fault panic tracked down (selwakeuppri())"

    Relevant Pages

    • Re: 5.1-R-p11 unable to "sync disks" when shutting down
      ... > is partitions larger than 30G or so) partitions with more than one ... I don't use snapshots any more. ... I did use snapshots via bgfsck, ... I've mailed to -current about the above-mentioned panics and the message ...
      (freebsd-current)
    • Re: Journaling UFS with gjournal.
      ... +>> The performance impact is big for large files, ... +>> to write the data twice. ... IIRC SU and snapshots are independent, ... bgfsck depends on SU, not snapshots. ...
      (freebsd-current)