Re: Sysinstall automatic filesystem size generation.

From: Chuck Swiger (cswiger_at_mac.com)
Date: 08/29/05

  • Next message: J. T. Farmer: "Re: Sysinstall automatic filesystem size generation."
    Date: Mon, 29 Aug 2005 17:15:39 -0400
    To: Matthias Buelow <mkb@incubus.de>
    
    

    Matthias Buelow wrote:
    > Chuck Swiger wrote:
    >>PS: Haven't we had this conversation before?
    >
    > Yes, indeed, and I don't want to reopen that issue since that would
    > lead to no new insights (and since I don't have the time atm. to
    > contribute anything I couldn't provide any stuff myself).

    Yet you seem willing to spend time discussing the matter...?

    > I was just refuting the claim of "very robust" filesystem when power goes
    > out in the context of 200GB consumer-grade hardware that this thread
    > was talking about.

    Most of the time, a FreeBSD system will come back up without losing data older
    than about thirty seconds, and that is tunable. Have you even tried to change
    the syncer sysctls I mentioned?

    > I think until a satisfactory solution can be
    > found (by making softupdates and/or a journalled filesystem as
    > reliable as possible through mechanisms like write-request barriers
    > and appropriate flushing at these) users who're running FreeBSD on
    > end-consumer hardware (desktop PC as workstation or personal server)
    > should be warned that softupdates does NOT work as described on
    > their hardware and that the filesystem can easily be corrupted when
    > the power goes out, no matter if softupdates is enabled or not.

    Great. I think "man ata" already says exactly this:

          hw.ata.wc
          set to 1 to enable Write Caching, 0 to disable (default is enabled).
          WARNING: can cause data loss on power failures.

    If your hard drive no longer works correctly when write-caching is disabled,
    it's defective. Nothing FreeBSD or any other system can do is going to change
    that.

    > One often sees the "softupdates" argument being fielded by FreeBSD
    > advocates, typically against Linux users with journalled fs, on web
    > forums, usenet and other less authoritative (and knowledgable)
    > places of discussion, and it is often presented as if it were some
    > kind of magic bullet that makes filesystem corruption impossible.

    "Often?" Strawman test: can you point out 3 examples by message-id or URL?

    And if you prefer to run a journalled filesystem under Linux instead of
    softupdates under FreeBSD, by all means, do whatever makes you happy.

    > This simply is not so.

    Very good.

    -- 
    -Chuck
    PS: I don't want a thread to end on a negative note.  It would be useful if 
    FreeBSD had a more adaptable method for dealing with drive power management and 
    caching; in particular, for laptops it might be nice to cache data for much 
    longer-- perhaps even hours-- if nothing fsync()s, in order to permit the drive 
    to spin down.
    (This is something both Windows and MacOS X are learning to do pretty well.)
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: J. T. Farmer: "Re: Sysinstall automatic filesystem size generation."

    Relevant Pages

    • Re: Is FreeBSD ready for desktop (Mozilla Flash)
      ... A number of hardware vendors ... > happen to be using a hardware/software combination blessed by Macromedia. ... >> layer for running the Linux version of the plugin exists. ... copies of FreeBSD running on i386 than on any of the other hardware ...
      (comp.unix.bsd.freebsd.misc)
    • RE: Anthonys drive issues.Re: ssh password delay
      ... The dmesg you sent indicated that the 2 disks were negotiating at ... > possible cause in the universe before blaming it on FreeBSD. ... to take the risk of it being hardware, ... believe is that it's a bug in the FreeBSD driver. ...
      (freebsd-questions)
    • Re: Quality of FreeBSD
      ... And wouldn't mind to wait longer for real production quality ... on the hardware you know ... and FreeBSD users to do some of the testing. ... This change will help shake out software bugs relating to ...
      (freebsd-stable)
    • Re: FreeBSD and hardware??
      ... Installing on laptop type hardware is a tricky proposition: ... FreeBSD project already has a very good world-wide on-line distribution ... Driver support really is the kicker in all of this. ... Apple MacOSX doesn't ...
      (freebsd-questions)
    • Re: i give up
      ... The list of supported hardware is often written in terms ... I've installed ethernet cards named "compex" to PCs and they worked well ... compatible with FreeBSD. ... nVidia sucks for use on Unix platforms. ...
      (freebsd-current)