From: Stan Hoeppner <stan@hardwarefreak.com>
To: Roberto Spadim <rspadim@gmail.com>
Cc: Bill Davidsen <davidsen@tmr.com>,
Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: Help creating filesystem (xfs) and partitioning
Date: Fri, 26 Jul 2013 11:15:03 -0500 [thread overview]
Message-ID: <51F2A087.6040603@hardwarefreak.com> (raw)
In-Reply-To: <CAH3kUhHtU84KrMoGSKi2hK1o3foBOkOLQ0-z5+Rb9hVsBX6cbg@mail.gmail.com>
On 7/25/2013 8:47 PM, Roberto Spadim wrote:
>> And truthfully, for a system of this caliber, you don't really gain
>> anything by using XFS, certainly not from a performance standpoint. If
>> you were already an XFS user on large systems and it was simply your "go
>> to" filesystem, then using it on this system may make sense. And if you
>> don't have a working UPS, you should definitely stay away from XFS.
>> Power failure shouldn't cause filesystem corruption, but it may well
>> corrupt or zero out files that are open for write but not written. XFS
>> journals metadata, not data.
>
> i'm using xfs because i tested with ext4, xfs and reiserfs (v3) and
> xfs was the fastest
> i use UPS, but... well you know... some one can remove the power
> cable... users sometime make mistakes :) hehe
> i didn't tested the btrfs yet, i think it's not mature for production use
>
> well power failure is a problem in any filesystem... what filesystem
> you consider is the "best"?
This depends on your use case and workloads. EXT4 isn't suitable for
large multi-TB filesystems with highly parallel workloads whereas XFS
excels with these. Neither XFS nor EXT4 are suitable for USB thumb drives.
> considering that:
> i'm running filesystem over md raid1
> best = good power failure
> files with >40gb (some mysql tables are big)
> a big directory structure (root directory with man pages libs, linux
> kernel and some packages that i compile (php, mariadb, apache), and
> others linux tools, etc...)
> a home directory with maybe many temporary files, mysql sometime
> create temporary files for query sorting, in this case crud operations
> happens very often, create file/put data/read/delete file
>
> well i think it's a test scenario, but experiences/ideas are wellcome
As long as you have a good working UPS and barriers enabled (the
default) and working, then XFS should be fine. XFS does a barrier write
test during mount. If the test fails it will log an error in dmesg and
disable barriers. This obviously requires corrective action. Running
without barriers can potentially cause serious metadata corruption and
wreck the filesystem beyond repair due to drive caches not being
flushed. If the test passes, barriers are enabled, nothing is logged,
and you're good to go.
--
Stan
next prev parent reply other threads:[~2013-07-26 16:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-24 0:06 Help creating filesystem (xfs) and partitioning Roberto Spadim
2013-07-24 6:56 ` Stan Hoeppner
[not found] ` <CAH3kUhHoQiyhVotNpNDq-rcQ36vZbRrZvoEsUzyo0=9mz8=+3w@mail.gmail.com>
2013-07-24 17:28 ` Stan Hoeppner
[not found] ` <CAH3kUhEZLBZD79WW75gWF4a5dvhQas=1+oR6vaTbuNtTBRfayg@mail.gmail.com>
2013-07-24 19:35 ` Stan Hoeppner
2013-07-24 19:41 ` Mark Knecht
2013-07-25 2:34 ` Roberto Spadim
2013-07-25 21:52 ` Bill Davidsen
2013-07-25 22:36 ` Roberto Spadim
2013-07-25 23:27 ` Stan Hoeppner
2013-07-26 0:36 ` Roberto Spadim
2013-07-26 1:30 ` Stan Hoeppner
2013-07-26 1:47 ` Roberto Spadim
2013-07-26 16:15 ` Stan Hoeppner [this message]
2013-07-26 16:47 ` Roberto Spadim
2013-07-28 22:46 ` Bill Davidsen
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=51F2A087.6040603@hardwarefreak.com \
--to=stan@hardwarefreak.com \
--cc=davidsen@tmr.com \
--cc=linux-raid@vger.kernel.org \
--cc=rspadim@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.