UPDATE: ufs logging and file corruption.

From: Dan O'Callaghan (ocalld@cogent-dsn.com)
Date: Wed Oct 06 2004 - 12:27:18 EDT


UPDATE

sorry, i forgot to mention i'm using Solaris 8 2/04 with no additional
patches.

Thanks
Dan.

-----Forwarded Message-----
> From: Dan O'Callaghan <ocalld@cogent-dsn.com>
> To: Sunmanagers LIST <sunmanagers@sunmanagers.org>
> Subject: ufs logging and file corruption.
> 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


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:32 EDT