From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id qBA0xGLa149573 for ; Sun, 9 Dec 2012 18:59:16 -0600 Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by cuda.sgi.com with ESMTP id NjH0NGlYAYbXLGdY for ; Sun, 09 Dec 2012 17:01:43 -0800 (PST) Date: Mon, 10 Dec 2012 12:01:41 +1100 From: Dave Chinner Subject: Re: XFS write cache flush policy Message-ID: <20121210010141.GH15784@dastard> References: <20121208192927.GA17875@citd.de> <5955806.tSHc7WOiJd@saturn> <20121208195304.GA20044@citd.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20121208195304.GA20044@citd.de> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Matthias Schniedermeyer Cc: Michael Monnerie , Lin Li , xfs@oss.sgi.com On Sat, Dec 08, 2012 at 08:53:04PM +0100, Matthias Schniedermeyer wrote: > On 08.12.2012 20:40, Michael Monnerie wrote: > > Am Samstag, 8. Dezember 2012, 20:29:27 schrieb Matthias Schniedermeyer: > > > I have the same problem, several times. > > > > I'd like to chime in here, with a similar issue: I have Linux on my > > desktop, xfs is the home partition, 16G RAM. One day my system froze, no > > chance to do a buffer flush via SYS-S/U/B, I had to press the reset > > button (no power off, just reset). Upon restart, *lots* of files were > > gone, destroyed, etc, and my KDE desktop wouldn't work anymore. Luckily > > I have backups, and could restore - but this just shouldn't happen, and > > it was *much* better with older kernels. What is the problem that > > metadata isn't written to disk occasionally? I was on 3.6.6 when that > > happened, now on 3.6.8, so very recent. > > Now that you say it, this is what happend one of the other times, > luckily i had done a backup just before i rebooted, so after > xfs_repair'ing the partition (the only time i had to repair something > for as long as i'm using XFS) i had to restore my home-directory from > backup to get my desktop in a usable state again. So the hard lockup caused your filesystem to be corrupted, and after you ran repair lots of files were missing? http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F People, please be precise about what happened when reporting problems. Random "me too" posts with ambiguous information in them does not help solve problems. Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs