Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758076AbXFRHtt (ORCPT ); Mon, 18 Jun 2007 03:49:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751703AbXFRHtj (ORCPT ); Mon, 18 Jun 2007 03:49:39 -0400 Received: from s2.ukfsn.org ([217.158.120.143]:37026 "EHLO mail.ukfsn.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbXFRHti (ORCPT ); Mon, 18 Jun 2007 03:49:38 -0400 Message-ID: <4676390E.6010202@dgreaves.com> Date: Mon, 18 Jun 2007 08:49:34 +0100 From: David Greaves User-Agent: Mozilla-Thunderbird 2.0.0.0 (X11/20070601) MIME-Version: 1.0 To: David Robinson Cc: LVM general discussion and development , "'linux-kernel@vger.kernel.org'" , xfs@oss.sgi.com, linux-pm , LinuxRaid Subject: Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume References: <46744065.6060605@dgreaves.com> <4674645F.5000906@gmail.com> <46751D37.5020608@dgreaves.com> In-Reply-To: <46751D37.5020608@dgreaves.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1536 Lines: 62 David Greaves wrote: > David Robinson wrote: >> David Greaves wrote: >>> This isn't a regression. >>> >>> I was seeing these problems on 2.6.21 (but 22 was in -rc so I waited >>> to try it). >>> I tried 2.6.22-rc4 (with Tejun's patches) to see if it had improved - >>> no. >>> >>> Note this is a different (desktop) machine to that involved my recent >>> bugs. >>> >>> The machine will work for days (continually powered up) without a >>> problem and then exhibits a filesystem failure within minutes of a >>> resume. > OK, that gave me an idea. > > Freeze the filesystem > md5sum the lvm > hibernate > resume > md5sum the lvm > So the lvm and below looks OK... > > I'll see how it behaves now the filesystem has been frozen/thawed over > the hibernate... And it appears to behave well. (A few hours compile/clean cycling kernel builds on that filesystem were OK). Historically I've done: sync echo platform > /sys/power/disk echo disk > /sys/power/state # resume and had filesystem corruption (only on this machine, my other hibernating xfs machines don't have this problem) So doing: xfs_freeze -f /scratch sync echo platform > /sys/power/disk echo disk > /sys/power/state # resume xfs_freeze -u /scratch Works (for now - more usage testing tonight) David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/