xfs
[Top] [All Lists]

Re: Null files reloaded :-)

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Null files reloaded :-)
From: David Sparks <daves@xxxxxxxxxxxxxxx>
Date: Fri, 23 Jul 2004 11:32:26 -0700
In-reply-to: <200407200444.21761.wizeman@wizy.org>
References: <200407200444.21761.wizeman@wizy.org>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.4) Gecko/20030624
What happens when an existing file is changed and only the metadata is sync'd?

I'm curios as to what happens in this situation:

open existing file
seek xxx
write data
[filesystem brought uncleanly offline]


The real world example is database files. What happens if a busy mysql database making a lot of inserts has the fs brought down uncleanly? Are sections of the file nulled or is the entire file nulled?


Thanks,

ds

ps I have XFS running on ~20 servers and have been very happy with it. Thank you for your hard work, it is appreciated!

I think that this + the earlier thread should be distilled into a few FAQ entries as it is useful knowledge, and surely to come up again. :)


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