From: Chris Cox <chris_cox@stercomm.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Best Practices deploying LVM
Date: Thu, 29 Oct 2009 18:58:32 -0500 [thread overview]
Message-ID: <1256860712.31532.217.camel@geeko> (raw)
In-Reply-To: <868096450910291645k49ebb1dfn1e55e5132805011e@mail.gmail.com>
On Fri, 2009-10-30 at 00:45 +0100, Abraham Pérez wrote:
> Hi everyone,
>
> I'm looking for some whitepapper or similar document to find any kind
> of best practices using LVM.
>
> For example, usually i make only one volume group in each server and
> inside it I create different logical volumes for different purposes,
> but talking with one colleague, we discover that he makes one volume
> group for each logical volume (more or less)... so my final question
> is: in performance terms, what configuration is more efficient and
> why?
Define "efficient"... anyhow, the idea of a volume group is
to present a pool of storage. So making a volume group per logical
volume sort of defeats the intended purpose.
So... a volume group has more to do with defining a class of
storage pool. Ideally physical volumes inside of a single volume
group have some kind of relationship (e.g. maybe they are all
of the same speed or type or raid, etc). It's common for low
end systems to have just one volume group. However, you COULD
segment storage pool types by function. Thus you could have
a System volume group for the OS volumes and a Data volume group
for user data (just an example).
There is a lot of ways to look at it.
Personally, just because of pvmove, I see physical volumes
as whole disks and not a myriad of piece meal partitions.
That way you get the potential ability to move data off
of a physical volume in a volume group to free areas on
different drives in that same group and remove a drive
from the volume group and from the system (e.g. think of upgrading
the size of drives you use inside of a volume group... you could
use this to upgrade the drives without having to necessarily
take anything down).
So my best practices...
1. Use multiple volume groups to define classes of storage.
2. Use full disk physical volumes over partitions.
3. I like unique naming of volume groups just so that if
a drive lands else where, and it presents itself to the system,
it will not collide with existing volume group names.
(but there is good reason for not doing this... and really
only a factor if you have a tendency to throw drives into
different computers all of the time)
>
> Please excuse my writen english, but I don't use it very often.
I use english all of the time.... it doesn't seem to help.
next prev parent reply other threads:[~2009-10-29 23:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-29 23:45 [linux-lvm] Best Practices deploying LVM Abraham Pérez
2009-10-29 23:58 ` Chris Cox [this message]
2009-10-30 0:00 ` Ray Morris
2009-10-30 0:42 ` malahal
2009-10-30 8:52 ` Abraham Pérez
2009-10-30 19:46 ` Ray Morris
2009-10-30 21:03 ` Abraham Pérez
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=1256860712.31532.217.camel@geeko \
--to=chris_cox@stercomm.com \
--cc=linux-lvm@redhat.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;
as well as URLs for NNTP newsgroup(s).