From: Andi Kleen <andi@firstfloor.org>
To: "Kent Overstreet" <kent.overstreet@gmail.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] LVM/RAID/FS integration
Date: 29 Jun 2007 11:39:44 +0200 [thread overview]
Message-ID: <p73myyj3xr3.fsf@bingen.suse.de> (raw)
In-Reply-To: <6f703f960706271609m6fdfb9c1ha3555a68fe1d9d55@mail.gmail.com>
"Kent Overstreet" <kent.overstreet@gmail.com> writes:
>
> Basically, the order we want is fs -> raid -> lvm. Given a set of
> identical drives, we want LVM to handle them separately and divide
> them up into LVs identically; then corresponding LVs are raided
> together. We might have a raid5 volume and a raid1 volume, each of
> which can be resized independently. The FS then makes use of both of
> them, putting metadata and frequently used data on the raid1 and
> everything else on the raid5 (btrfs, as I understand it, will be able
> to do this sort of thing eventually).
XFS can do it already using its realtime volume feature. It keeps the
metadata on the original device and puts the data on another device.
The log can be also on another device (but other file systems support
that too)
People often complain about the code size and complexity
of XFS, but it actually implements a lot of functionality
other file systems don't have in there.
Arguably it's all not too easy to configure and a little awkward to
have upto 3 LVs per fs.
And there is no concept of "frequently used data" (which would be
probably hard anyways; how would you move data if it becomes
frequently used) Out of tree XFS actually supports that using DMAPI
and an external manager for automatic swapping of files to tape
robots, but you probably don't want to go this way. DMAPI is pretty
ugly.
> The trouble is it's completely impractical with current tools; we need
> tighter integration between md and LVM.
The current direction seems to be to slowly duplicate all MD
functionality in DM, but then there were also some movements
to add a little volume manager to MD. We'll see who wins.
They both move relatively slowly.
> throw out my ideas before I get too far in. Thoughts?
Some nicer high level userland utilities who know how to integrate all
this would be probably a good idea.
That seems to be the main appeal of ZFS anyways --
simpler user interfaces.
-Andi
next prev parent reply other threads:[~2007-06-29 8:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-27 23:09 Kent Overstreet
2007-06-29 9:39 ` Andi Kleen [this message]
2007-07-09 18:09 ` Phillip Susi
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=p73myyj3xr3.fsf@bingen.suse.de \
--to=andi@firstfloor.org \
--cc=kent.overstreet@gmail.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®