Re: [linux-pm] Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume
From: David Greaves <hidden>
Date: 2007-06-29 13:30:36
Also in:
linux-pm, linux-xfs, lkml
From: David Greaves <hidden>
Date: 2007-06-29 13:30:36
Also in:
linux-pm, linux-xfs, lkml
Rafael J. Wysocki wrote:
On Friday, 29 June 2007 09:54, David Greaves wrote:quoted
David Chinner wrote:quoted
On Fri, Jun 29, 2007 at 08:40:00AM +0100, David Greaves wrote:quoted
What happens if a filesystem is frozen and I hibernate? Will it be thawed when I resume?If you froze it yourself, then you'll have to thaw it yourself.So hibernate will not attempt to re-freeze a frozen fs and, during resume, it will only thaw filesystems that were frozen by the suspend?Right now it doesn't freeze (or thaw) any filesystems. It just sync()s them before creating the hibernation image.
Thanks. Yes I realise that :) I wasn't clear, I should have said: So hibernate should not attempt to re-freeze a frozen fs and, during resume, it should only thaw filesystems that were frozen by the suspend.
However, the fact that you've seen corruption with the XFS filesystems frozen before the hibernation indicates that the problem occurs on a lower level.
And that was why I chimed in - I don't think freezing fixes the problem (though it may make sense for other reasons). David