From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] LVM (Was: the best filesystem for server: XFS or JFS (or?))
Date: Thu, 24 Mar 2011 15:38:02 +0100 [thread overview]
Message-ID: <321afabe36c26434f77c63b6e30e0a83.squirrel@www.antarean.org> (raw)
In-Reply-To: <4d8b2b5b.984cdf0a.1c4c.ffff8432@mx.google.com>
On Thu, March 24, 2011 12:30 pm, Volker Armin Hemmann wrote:
> On Thursday 24 March 2011 08:49:52 J. Roeleveld wrote:
>> On Wed, March 23, 2011 5:43 pm, Volker Armin Hemmann wrote:
>> > md raid devices can do barriers. Don't know about lvm. But lvm is such
>> a
>> > can
>> > of worms I am surprised people still recommend it.
>>
>> What is wrong with LVM?
>> I've been using it successfully without any issues for years now.
>> It does what it says on the box.
>
> it is another layer that can go wrong. Why take the risk? There
> are enough cases of breakage after upgrades - and besides snapshots... is
> the
> amount of additional code running really worth it? Especially with bind
> mounting?
There are always things that can go wrong and I agree, adding additional
layers can increase the risk.
However, the benefits of easily and quickly changing the size of
partitions and creating snapshots for the use of backups are a big enough
benefit to off-set the risk.
Bind-mounting is ok, if you use a single filesystem for everything. I have
partitions that are filled with thousands of small files and partitions
filled with files are are, on average, at 1GB in size.
I haven't found a filesystem yet that successfully handles both of these
with identical performance.
When I first tested performance I found that a simple "ls" in a partition
would appear to just hang. This caused performance issues with my
IMAP-server.
I switched to a filesystem that better handles large amounts of small
files and performance increased significantly.
The way I do backups is that I stop the services, create snapshots and
then restart the services.
I then have plenty of time to backup the snapshot.
If I were to do this differently, I'd end up having a downtime for over an
hour just for a backup.
Now, it's barely a minute of downtime.
That, to me, is a very big bonus.
--
Joost
next prev parent reply other threads:[~2011-03-24 14:38 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-21 19:32 [gentoo-user] the best filesystem for server: XFS or JFS (or?) Jarry
2011-03-21 19:50 ` Matthias Fechner
2011-03-21 20:07 ` Stéphane Guedon
2011-03-21 21:52 ` Dale
2011-03-21 22:14 ` Thanasis
2011-03-21 22:39 ` Michael Hampicke
2011-03-21 23:06 ` Paul Hartman
2011-03-22 1:51 ` Duong "Yang" Ha Nguyen
2011-03-22 8:13 ` Mr. Jarry
2011-03-22 8:58 ` Neil Bothwick
2011-03-22 15:43 ` Dale
2011-03-23 14:15 ` [gentoo-user] " Nicolas Sebrecht
2011-03-22 16:05 ` [gentoo-user] " Florian Philipp
2011-03-22 16:21 ` Neil Bothwick
2011-03-22 17:22 ` kashani
2011-03-23 7:27 ` Alan McKinnon
2011-03-23 7:50 ` Stéphane Guedon
2011-03-23 9:09 ` Volker Armin Hemmann
2011-03-23 13:04 ` Mr. Jarry
2011-03-23 16:43 ` Volker Armin Hemmann
2011-03-24 7:49 ` J. Roeleveld
2011-03-24 11:30 ` Volker Armin Hemmann
2011-03-24 14:38 ` J. Roeleveld [this message]
2011-03-24 17:19 ` [gentoo-user] LVM (Was: the best filesystem for server: XFS or JFS (or?)) Dale
2011-03-24 17:28 ` kashani
2011-03-24 18:17 ` Dale
2011-03-24 18:56 ` Bill Longman
2011-03-24 21:27 ` Dale
2011-03-24 19:08 ` Alan McKinnon
2011-03-24 21:07 ` Volker Armin Hemmann
2011-03-25 6:51 ` Joost Roeleveld
2011-03-25 7:17 ` Volker Armin Hemmann
2011-03-24 19:42 ` Neil Bothwick
2011-03-25 6:39 ` Joost Roeleveld
2011-03-24 19:11 ` Volker Armin Hemmann
2011-03-23 17:04 ` [gentoo-user] the best filesystem for server: XFS or JFS (or?) Florian Philipp
2011-03-21 21:53 ` Michael Hampicke
2011-03-21 22:54 ` Florian Philipp
2011-03-21 23:17 ` Amankwah
2011-03-21 23:24 ` Jacob Todd
2011-03-22 0:48 ` Dale
2011-03-22 9:02 ` Helmut Jarausch
2011-03-22 19:51 ` Volker Armin Hemmann
[not found] <gyT7j-67I-13@gated-at.bofh.it>
[not found] ` <gzzpU-32z-17@gated-at.bofh.it>
[not found] ` <gzNCy-1Wt-9@gated-at.bofh.it>
[not found] ` <gzR3s-817-11@gated-at.bofh.it>
[not found] ` <gzU1k-4Kg-13@gated-at.bofh.it>
[not found] ` <gzWwa-PR-25@gated-at.bofh.it>
[not found] ` <gzWFQ-13T-13@gated-at.bofh.it>
[not found] ` <gzXsf-2sf-37@gated-at.bofh.it>
[not found] ` <gzY4V-3CE-9@gated-at.bofh.it>
[not found] ` <gA0q6-7xQ-17@gated-at.bofh.it>
2011-03-26 17:44 ` [gentoo-user] LVM (Was: the best filesystem for server: XFS or JFS (or?)) Elaine C. Sharpe
2011-03-26 18:17 ` Dale
2011-03-26 21:15 ` Neil Bothwick
[not found] <gAFMD-2AC-33@gated-at.bofh.it>
[not found] ` <gAFMD-2AC-35@gated-at.bofh.it>
[not found] ` <gAFMD-2AC-37@gated-at.bofh.it>
[not found] ` <gAFMD-2AC-39@gated-at.bofh.it>
[not found] ` <gAFMD-2AC-41@gated-at.bofh.it>
[not found] ` <gAFMD-2AC-43@gated-at.bofh.it>
[not found] ` <gAFMD-2AC-45@gated-at.bofh.it>
[not found] ` <gAFMD-2AC-47@gated-at.bofh.it>
[not found] ` <gAFMD-2AC-29@gated-at.bofh.it>
[not found] ` <gAGpj-3Jw-15@gated-at.bofh.it>
2011-03-26 19:06 ` Elaine C. Sharpe
2011-03-26 21:13 ` Alan McKinnon
2011-03-26 22:20 ` Dale
2011-03-26 22:36 ` Mark Knecht
2011-03-26 23:46 ` Alan McKinnon
2011-03-28 16:37 ` Peter Humphrey
2011-03-26 23:37 ` Alan McKinnon
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=321afabe36c26434f77c63b6e30e0a83.squirrel@www.antarean.org \
--to=joost@antarean.org \
--cc=gentoo-user@lists.gentoo.org \
/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