From: Ray Morris <support@bettercgi.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Adding a disk to expand an existing logical volume
Date: Wed, 19 May 2010 12:35:30 -0500 [thread overview]
Message-ID: <1274290530.16893.13@raydesk1.bettercgi.com> (raw)
In-Reply-To: <05d201caf776$17abb110$47031330$@com> (from k@kevinkevin.com on Wed May 19 12:09:48 2010)
> lvextend -L+144G /dev/VolGroup00/my_volume
If you want to use all available space:
lvextend -L+100%FREE /dev/VolGroup00/my_volume
> I should note that this is a logical volume for a
> collection of Xen virtualized environments so its
> not an actual EXT3 filesystem. I wouldn’t need to
> run the last step I imagine.
Typically Xen images are files on the filesystem
of the host, so yes, you'd need to resize the host
filesystem, if you are creating Xen image files. Howver,
as long as you are making changes to your LVM, there is
another way which we use, because we think it's better.
Rather than having one huge LV which contains files which
are accessed as though they were block devices, we create
a LV for each guest. If you have only one big LV, that's
kind of pointless indirection, overhead that gains you
nothing. It's also problematic for recovery because
you have multiple overlapping ext3 filesystems - one
inside the other, meaning that recovery utilities will
find bogus superblocks belonging to the wrong filesystem.
--
Ray Morris
support@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/
Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php
On 05/19/2010 12:09:48 PM, kevin wrote:
> One last thing I want to confirm is the lvextend command to 'grow' the
> logical volume :
>
>
> lvextend -L+144G /dev/VolGroup00/my_volume
>
> After all said steps in previous messages on this thread are
> complete, is
> the above command correct for my particular scenario? Do I want to
> 'extend'
> the volume size or 'grow' it?
>
> Not sure what the difference is.
>
>
> ~k
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
>
next prev parent reply other threads:[~2010-05-19 17:35 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-19 15:43 [linux-lvm] Adding a disk to expand an existing logical volume kevin
2010-05-19 15:58 ` Digimer
2010-05-19 16:09 ` kevin
2010-05-19 16:28 ` Digimer
2010-05-19 16:24 ` Michael Guntsche
2010-05-19 22:28 ` Ron Johnson
2010-05-20 5:24 ` Luca Berra
2010-05-20 11:21 ` Bryn M. Reeves
2010-05-19 16:26 ` Malahal Naineni
2010-05-19 16:37 ` kevin
2010-05-19 16:46 ` Digimer
2010-05-19 17:05 ` Bryn M. Reeves
2010-05-19 16:51 ` Stuart D. Gathman
2010-05-19 16:57 ` Digimer
2010-05-19 17:07 ` kevin
2010-05-19 17:09 ` kevin
2010-05-19 17:28 ` Richard Shaw
2010-05-19 17:35 ` Ray Morris [this message]
2010-05-19 18:25 ` Digimer
2010-05-19 17:23 ` Ray Morris
2010-05-19 19:34 ` Stuart D. Gathman
2010-05-28 23:16 ` Ray Morris
2010-05-19 17:03 ` Bryn M. Reeves
2010-05-19 15:58 ` Richard Jerrido
2010-05-19 16:12 ` kevin
2010-05-19 16:46 ` Stuart D. Gathman
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=1274290530.16893.13@raydesk1.bettercgi.com \
--to=support@bettercgi.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 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.