public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Philip Webb <purslow@ca.inter.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] lvm2 questions
Date: Fri, 5 Jun 2009 02:16:20 -0400	[thread overview]
Message-ID: <20090605061620.GB4753@ca.inter.net> (raw)
In-Reply-To: <a0811460906042132t30325d94u6450c3d3eb4727cd@mail.gmail.com>

090604 Maxim Wexler wrote:
> why give the logical volumes any size at all ?
> If they can be expanded at will,
> why not just the let the files fill them up as much as they need ?

That's not how it works: you need to create the LVs with enough space
for your likely needs & LVM then assigns them in its own way to the PVs;
later, if you made an LV too small, you can increase it
(you also have to extend the file system after you've done that,
but of couse don't simply reformat the whole LV);
if you want to decrease an LV -- rather unlikely in real life -- ,
the problem is that you may risk losing data, if that part is dropped:
I would imagine the correct procedure is to copy everything somewhere
-- another LV, another partition, a USB stick -- ,
then delete the LV & recreate it with the smaller size.

When I set up LVM in my newly-built machine in Nov 2007 ,
I tried to estimate what each LV would need based on experience.
Recently, I added a whole new LV & extended another,
but otherwise LVM has worked flawlessly (even SystemRescue recognises it).

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




  reply	other threads:[~2009-06-05  6:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-04 19:01 [gentoo-user] lvm2 questions Maxim Wexler
2009-06-04 23:00 ` Albert Hopkins
2009-06-05  4:32   ` Maxim Wexler
2009-06-05  6:16     ` Philip Webb [this message]
2009-06-05  8:34       ` Neil Bothwick

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=20090605061620.GB4753@ca.inter.net \
    --to=purslow@ca.inter.net \
    --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