Date: Fri, 07 Dec 2007 15:45:32 +0100 From: julien <julien.bellang@free.fr> To: Jim Rees <rees@freebsd.org> Cc: freebsd-fs@freebsd.org, =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no> Subject: Re: FSCK failed does'nt correct file size when INCORRECT BLOCK COUNT is found Message-ID: <47595C8C.6060203@free.fr> In-Reply-To: <20071207125852.GC6665@citi.umich.edu> References: <1196788551.47558b47ee317@imp.free.fr> <86d4tiu0ui.fsf@ds4.des.no> <20071207125852.GC6665@citi.umich.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
I can't get a UPS in my environment. I already tested with the write cache desactivated, but the problem still the same, I obtain files with holes and incorrect size and blockcount. The only difference is that there is less holes and performance are falling down. The problem is really easy to reproduce, you have just to copy several big files and shutdown the power in the midle of the copy. Jim Rees a écrit : > Dag-Erling Smørgrav wrote: > > Get a UPS. > > We should strive to prevent data corruption in the face of unexpected system > shutdown. Having a user who loses power several times a week seems useful > for testing, especially when he is willing to delve into fsck sources and > figure out what's going on. My recommendation would be to turn off caching > in the disk and report back in a couple of weeks. > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47595C8C.6060203>