ufs logging and file corruption.

From: Dan O'Callaghan (ocalld_at_cogent-dsn.com)
Date: 10/06/04

  • Next message: Dan O'Callaghan: "UPDATE: ufs logging and file corruption."
    To: Sunmanagers LIST <sunmanagers@sunmanagers.org>
    Date: Wed, 06 Oct 2004 16:52:26 +0100
    
    

    Hi all,

    I have a piece of kit that has SUN CP2040 boards and it's mobile.
    The problems arise when it gets powered down in the field in an
    uncontrolled manner. It corrupts the /etc/name_to_major file.

    I can re-create this problem every time. It's when a driver get's loaded
    to a custom PCI card, for a few minutes, firmware is loaded to the card.
    During the firmware load, the box is vulnerable.

    Now i know i've mentioned the corrupt /etc/name_to_major before; but
    i've just discovered that i cannot replicate this problem if i DISABLE
    UFS LOGGING.

    my thinking is; the name_to_major file is updated but held in the UFS
    logging's cache.

    If tried adding a "lockfs -f" to flush the cache but i still get
    corruption on the file.

    Can anyone offer any advice on controlling the UFS logging??
    are there any parameters to tune etc.....

    Thanks.

    -- 
    Dan O'Callaghan <ocalld@cogent-dsn.com>
    Cogent
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    

  • Next message: Dan O'Callaghan: "UPDATE: ufs logging and file corruption."