public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: clflush <clflush@chello.be>
Cc: xfs@oss.sgi.com
Subject: Re: Questions about XFS
Date: Tue, 13 Mar 2007 10:55:30 -0500	[thread overview]
Message-ID: <45F6C972.1080508@sandeen.net> (raw)
In-Reply-To: <200703131440.56678.clflush@chello.be>

clflush wrote:
> Hi,
> 
> I have a few simple questions regarding the XFS file system. I built a new 
> small server here (commodity hardware, x86-64) and I've installed 32-bit 
> openSUSE 10.2 on it. After the system was installed, configured and up and 
> running, it hung while I was browsing with Firefox. The only thing I could do 
> was to press the reset button on the computer. After the reboot, when I 
> opened Firefox again, I noticed that all my bookmarks were gone. Those 
> bookmarks were imported from my desktop machine a few days after I configured 
> the new server.
> 
> All file systems on this new server are XFS because I heard good things about 
> it and it generally performs better in database operations compared to other 
> file systems available for Linux. However, I was pretty surprised that when I 
> had to reset the machine because it hung for some reason, all the bookmarks 
> in Firefox were gone, so now I have my doubts about the reliability and data 
> integrity of XFS. My older server, which also runs openSUSE 10.2 (32-bit) but 
> uses Ext3 as file system never had such issues and I had to reset it many 
> times because it was hanging for some reason.

sounds like you have several reliability problems ;-)

> Am I right to assume that XFS compared to Ext3 does not do a very good job 
> regarding data integrity? I know a little bit about file systems and I know 
> that most file systems depend on the application to do the right job 
> regarding the way it opens/locks/saves files, but in reality not all 
> applications are written in a safe way to guarantee this.
> 
> Basically, my two question that I have are:
> 
> - Why did I lost bookmarks on a machine running XFS while on another one which 
> runs the same OS version but uses Ext3 as file system, it never happened, no 
> matter how many times I had to reset it.

see also http://oss.sgi.com/projects/xfs/faq.html#nulls

> - Are there any efforts currently made to increase the data integrity of XFS?

this is essentially a loss of buffered data in the VM, outside the realm 
of what xfs can realistically protect.  With ext3, you probably were 
losing your "latest" bookmarks as well, but were luckily(?) getting back 
whatever used to be on-disk.

On the other hand, there were some changes made to xfs to explicitly 
sync files on close, if they have been truncated, which should help this 
sort of problem.  Depending on what's in OpenSuSE 10.2, that change may 
or may not be in your code...

-Eric

  parent reply	other threads:[~2007-03-13 15:55 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-13 13:40 Questions about XFS clflush
2007-03-13 15:36 ` Klaus Strebel
2007-03-13 15:53 ` Stein M. Hugubakken
2007-03-13 15:55 ` Eric Sandeen [this message]
2007-03-14 16:33 ` Stewart Smith
2007-03-15  4:26   ` Taisuke Yamada
2007-03-15  9:07     ` clflush
2007-03-15 14:41       ` Geir A. Myrestrand
2007-03-16 10:36       ` Martin Steigerwald
2007-03-17  0:47         ` Jason White
2007-03-29 15:07           ` cache flush support in SATA drives (was: Re: Questions about XFS) Martin Steigerwald
  -- strict thread matches above, loose matches on Subject: below --
2013-06-11  9:56 Questions about XFS Steve Bergman
2013-06-11 13:10 ` Emmanuel Florac
2013-06-11 13:35 ` Stefan Ring
2013-06-11 13:52 ` Ric Wheeler
2013-06-11 13:59 ` Ric Wheeler
2013-06-11 16:12   ` Steve Bergman
2013-06-11 17:19     ` Ric Wheeler
2013-06-11 17:27       ` Stefan Ring
2013-06-11 17:31         ` Ric Wheeler
2013-06-11 17:41           ` Stefan Ring
2013-06-11 18:03             ` Eric Sandeen
2013-06-11 19:30           ` Steve Bergman
2013-06-11 21:03             ` Dave Chinner
2013-06-11 21:43               ` Steve Bergman
2013-06-11 17:59         ` Ben Myers
2013-06-11 17:28     ` Eric Sandeen
2013-06-11 19:17       ` Steve Bergman
2013-06-11 21:47         ` Dave Chinner
2013-07-22 14:59       ` Steve Bergman
2013-07-22 15:16         ` Steve Bergman
2013-06-12  8:26     ` Roger Oberholtzer
2013-06-12 10:34       ` Ric Wheeler
2013-06-12 13:52         ` Roger Oberholtzer
2013-06-12 12:12       ` Stan Hoeppner
2013-06-12 13:48         ` Roger Oberholtzer
2013-06-13  0:48       ` Dave Chinner
2013-06-11 19:35 ` Ben Myers
2013-06-11 19:55   ` Steve Bergman
2013-06-11 20:08     ` Ben Myers
2013-06-11 21:57     ` Matthias Schniedermeyer
2013-06-11 22:18       ` Steve Bergman
2013-10-25 14:28 harryxiyou
2013-10-25 14:42 ` Emmanuel Florac
2013-10-25 14:57   ` Eric Sandeen
2013-10-25 16:24     ` harryxiyou
2013-10-25 16:44     ` harryxiyou
2013-10-26 10:41     ` Stan Hoeppner
2013-10-27  3:29       ` Eric Sandeen
2013-10-25 16:13   ` harryxiyou
2013-10-25 16:16     ` Eric Sandeen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45F6C972.1080508@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=clflush@chello.be \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox