From: Alasdair G Kergon <agk@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] (simple question) Is it possible to specify a size to extend an LVM partition to ? rather than the amount to increase by?
Date: Wed, 11 Jul 2012 13:31:46 +0100 [thread overview]
Message-ID: <20120711123146.GB2095@agk-dp.fab.redhat.com> (raw)
In-Reply-To: <CAGfHYAQg54kB4rRdCX1ubdi=K+LTBefw=AHELZeYb74XfNoXMg@mail.gmail.com>
On Wed, Jul 11, 2012 at 11:44:46AM +0100, Morgan Cox wrote:
> i.e say I have a 2GB partition and what to extend it to 10GB, I know I
> could use lvextend --size +8G /dev/vgpool/whatever
Try:
--size 10G
-L, --size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]
Extend or set the logical volume size in units of megabytes. A
size suffix of M for megabytes, G for gigabytes, T for ter‐
abytes, P for petabytes or E for exabytes is optional. With the
+ sign the value is added to the actual size of the logical vol‐
ume and without it, the value is taken as an absolute one.
Alasdair
next prev parent reply other threads:[~2012-07-11 12:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-11 10:44 [linux-lvm] (simple question) Is it possible to specify a size to extend an LVM partition to ? rather than the amount to increase by? Morgan Cox
2012-07-11 12:28 ` Greg Zapp
2012-07-11 12:31 ` Alasdair G Kergon [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-07-11 12:41 Morgan Cox
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=20120711123146.GB2095@agk-dp.fab.redhat.com \
--to=agk@redhat.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).