linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] lvextend docmentation vs. implementation (lvm2-2.02.39), Suse-11.1
@ 2010-02-10  6:38 Linda A. Walsh
  2010-02-10  8:22 ` Christine Caulfield
  2010-02-10  9:20 ` Ray Morris
  0 siblings, 2 replies; 5+ messages in thread
From: Linda A. Walsh @ 2010-02-10  6:38 UTC (permalink / raw)
  To: linux-lvm

I have been trying to use the lvextend command using the documented
size format:  of +[number][%{LV|PV|VG|FREE}] --
specifically
+50%LV.

tried multiple variations on LV -- no luck.  Is this broken or
is this just not working in my setup, or am I doing something
wrong?  It fails with:
Invalid argument +5%LV
Error during parsing of command line.

Advice?
thanks,
-linda

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] lvextend docmentation vs. implementation (lvm2-2.02.39), Suse-11.1
  2010-02-10  6:38 [linux-lvm] lvextend docmentation vs. implementation (lvm2-2.02.39), Suse-11.1 Linda A. Walsh
@ 2010-02-10  8:22 ` Christine Caulfield
  2010-02-10  9:20 ` Ray Morris
  1 sibling, 0 replies; 5+ messages in thread
From: Christine Caulfield @ 2010-02-10  8:22 UTC (permalink / raw)
  To: linux-lvm

On 10/02/10 06:38, Linda A. Walsh wrote:
> I have been trying to use the lvextend command using the documented
> size format: of +[number][%{LV|PV|VG|FREE}] --
> specifically
> +50%LV.
>
> tried multiple variations on LV -- no luck. Is this broken or
> is this just not working in my setup, or am I doing something
> wrong? It fails with:
> Invalid argument +5%LV
> Error during parsing of command line.
>
>
The %age features are part of the -l switch, so the command line would 
be something like:

# lvextend -l30%VG storage/lvol0

That worked for ma anyway. If it still doesn't work your LVM tools might 
be too old

Chrissie

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] lvextend docmentation vs. implementation (lvm2-2.02.39), Suse-11.1
  2010-02-10  6:38 [linux-lvm] lvextend docmentation vs. implementation (lvm2-2.02.39), Suse-11.1 Linda A. Walsh
  2010-02-10  8:22 ` Christine Caulfield
@ 2010-02-10  9:20 ` Ray Morris
  2010-02-10 13:56   ` Linda A. Walsh
  1 sibling, 1 reply; 5+ messages in thread
From: Ray Morris @ 2010-02-10  9:20 UTC (permalink / raw)
  To: LVM general discussion and development

> It fails with: Invalid argument +5%LV

    You'd need to send the WHOLE command line you used
in order for us debug it for you, not just a couple of
characters from it.  That is, however, enough to see
a couple of problems you have.  This document may help
you solve two of your problems:
https://www.bettercgi.com/gpl/smart-questions.html

    I'm also going to guess that you tried throwing
"+5%LV" out there in the middle of the command line
rather than as the argument to -l.  The man
page says:

{
   -l/--extents   [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE}]  |
   -L/--size [+]LogicalVolumeSize[kKmMgGtT]
}
--
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 02/10/2010 12:38:13 AM, Linda A. Walsh wrote:
> I have been trying to use the lvextend command using the documented
> size format:  of +[number][%{LV|PV|VG|FREE}] --
> specifically
> +50%LV.
> 
> tried multiple variations on LV -- no luck.  Is this broken or
> is this just not working in my setup, or am I doing something
> wrong?  It fails with:
> Invalid argument +5%LV
> Error during parsing of command line.
> 
> Advice?
> thanks,
> -linda
> 
> 
> _______________________________________________
> 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/
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] lvextend docmentation vs. implementation (lvm2-2.02.39), Suse-11.1
  2010-02-10  9:20 ` Ray Morris
@ 2010-02-10 13:56   ` Linda A. Walsh
  2010-02-10 14:22     ` Alasdair G Kergon
  0 siblings, 1 reply; 5+ messages in thread
From: Linda A. Walsh @ 2010-02-10 13:56 UTC (permalink / raw)
  To: LVM general discussion and development



Ray Morris wrote:
>> It fails with: Invalid argument +5%LV
>
>    You'd need to send the WHOLE command line you used
> in order for us debug it for you, not just a couple of
> characters from it.  That is, however, enough to see
> a couple of problems you have.  This document may help
> you solve two of your problems:
> https://www.bettercgi.com/gpl/smart-questions.html
----
    Sorry -- I was using it with capital "L" not lower case...didn't know
there were two separate switches... my bad.
thanks,

-linda

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] lvextend docmentation vs. implementation (lvm2-2.02.39), Suse-11.1
  2010-02-10 13:56   ` Linda A. Walsh
@ 2010-02-10 14:22     ` Alasdair G Kergon
  0 siblings, 0 replies; 5+ messages in thread
From: Alasdair G Kergon @ 2010-02-10 14:22 UTC (permalink / raw)
  To: LVM general discussion and development

On Wed, Feb 10, 2010 at 05:56:05AM -0800, Linda A. Walsh wrote:
>    Sorry -- I was using it with capital "L" not lower case...didn't know
> there were two separate switches... my bad.
> thanks,

The implementation of the feature turned out simpler with -l than with -L.
(Because sizes supplied with -L require conversion to 'natural units'
of extents which may involve rounding.)

Alasdair

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-10 14:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10  6:38 [linux-lvm] lvextend docmentation vs. implementation (lvm2-2.02.39), Suse-11.1 Linda A. Walsh
2010-02-10  8:22 ` Christine Caulfield
2010-02-10  9:20 ` Ray Morris
2010-02-10 13:56   ` Linda A. Walsh
2010-02-10 14:22     ` Alasdair G Kergon

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).