BackupPC-users

Re: [BackupPC-users] backuppc 3.0.0: another xfs problem?

2008-12-23 18:36:54
Subject: Re: [BackupPC-users] backuppc 3.0.0: another xfs problem?
From: Chris Robertson <crobertson AT gci DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 23 Dec 2008 13:35:23 -0900
thomathom AT gmail DOT com wrote:
> How dangerous is it to run xfs without write barriers?

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

As long as your computer shuts down properly, sends a flush to the 
drives, and the drives manage to clear their on-board cache before power 
is removed or the chip set is reset, it's not dangerous at all.  :o)

Here's a thread from SGI's XFS mailing list from before XFS on Linux had 
barrier support:
http://oss.sgi.com/archives/xfs/2005-06/msg00149.html

Here's an informative thread on LKML with some good information:
http://lkml.org/lkml/2006/5/19/33
A analysis of the performance hit due to barriers (and a fairly vague 
suggestion on a solution) can be found at:
http://lkml.org/lkml/2006/5/22/278

The executive summary is that you can use xfs_db to change the log 
(journal) to version 2, which allows larger buffers, which reduces "the 
impact the barriers have (fewer, larger log IOs, so fewer barriers)."

Chris

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/