[linux-lvm] lvextend and lvresize

Stuart D. Gathman stuart at bmsi.com
Fri Mar 11 14:16:19 UTC 2011


On Fri, 11 Mar 2011, hansbkk at gmail.com wrote:

> On Fri, Mar 11, 2011 at 2:44 PM, Brent Clark <brentgclarklist at gmail.com>
> wrote:
> > What is the difference between lvextend and lvresize?
> 
> 
> Someone might be generous enough to answer, but IMO it is
> inconsiderate to waste the time of thousands of people by posting a
> question easily answered by a little research:

It is a reasonable enough question.  The OP obviously had already read
the man pages, which seems to describe the same cababilities for 
lvresize and lvextend/lvreduce.  He wants to know why we have both?
Is it historical accident?  Or is there some subtle feature that
distinguishes the two?

First of all, notice that all three commands are links to the lvm
command, so they share code.  As far as I know, they are all just
alternate syntax for the same operations.  You might want to 
use lvextend rather that lvresize, for instance, to avoid accidentally
reducing instead with a typo and destroying data.

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.




More information about the linux-lvm mailing list