Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758487AbXFPWaR (ORCPT ); Sat, 16 Jun 2007 18:30:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756370AbXFPWaG (ORCPT ); Sat, 16 Jun 2007 18:30:06 -0400 Received: from mx1.redhat.com ([66.187.233.31]:35171 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755621AbXFPWaE (ORCPT ); Sat, 16 Jun 2007 18:30:04 -0400 Message-ID: <4674645F.5000906@gmail.com> Date: Sun, 17 Jun 2007 08:29:51 +1000 From: David Robinson User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: LVM general discussion and development CC: "'linux-kernel@vger.kernel.org'" , xfs@oss.sgi.com, linux-pm Subject: Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume References: <46744065.6060605@dgreaves.com> In-Reply-To: <46744065.6060605@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: 1386 Lines: 37 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. > > I know xfs/raid are OK with hibernate. Is lvm? I have LVM working with hibernate w/o any problems (w/ ext3). If there were a problem it wouldn't be with LVM but with device-mapper, and I doubt there's a problem with either. The stack trace shows that you're within XFS code (but it's likely its hibernate). You can easily check whether its LVM/device-mapper: 1) check "dmsetup table" - it should be the same before hibernating and after resuming. 2) read directly from the LV - ie, "dd if=/dev/mapper/video_vg-video_lv of=/dev/null bs=10M count=200". If dmsetup shows the same info and you can read directly from the LV I doubt it would be a LVM/device-mapper problem. Cheers, Dave - 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/