xfs
[Top] [All Lists]

Re: File full of nulls again...

To: Federico Sevilla III <jijo@xxxxxxxxxxx>
Subject: Re: File full of nulls again...
From: Russell Howe <rhowe@xxxxxxxxxx>
Date: Wed, 7 Aug 2002 22:04:23 +0100
Cc: XFS Mailing List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20020801172323.GJ29766@xxxxxxxxxxxxxxxxxxxx>
References: <20020801154933.GA6523@xxxxxxxxxxxx> <20020801172323.GJ29766@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Fri, Aug 02, 2002 at 01:23:23AM +0800, Federico Sevilla III wrote:
> On Thu, Aug 01, 2002 at 11:49:33AM -0400, Timothy Ball wrote:

> The FAQ entry[1] for this still holds. It's been revised to mention that
> this happens much less with the newer kernels 

[snip]

> Perhaps running `sync` after saving the file and before testing
> what the changes did will help. :)

Just to be sure.. will running sync here help? I seem to remember
something about sync not flushing the log, and it being better to wait
for one of the periodic log flushes.

So if you expect a hang, and you can't remount ro beforehand, what actions
can you take to maximise data safety? sync? waiting? making a directory
and filling it with junk files to flush important stuff onto the drive?

-- 
Russell Howe     | Why be just another cog in the machine,
rhowe@xxxxxxxxxx | when you can be the spanner in the works?


<Prev in Thread] Current Thread [Next in Thread>