Skip to contentSkip to conversation

lvextend and lvresize

linux-lvm Brent Clark 3 participants 5 messages Mar 11, 2011

lore
Share & tools
lore
#0 lore raw

Hiya

What is the difference between lvextend and lvresize?

Thanks
Brent

#1 lore raw
Quoted 1 line · Brent Clark

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:

http://tldp.org/HOWTO/LVM-HOWTO/

http://linux.die.net/man/8/lvm
http://linux.die.net/man/8/lvextend
http://linux.die.net/man/8/lvresize

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html-single/Logical_Volume_Manager_Administration/index.html

http://content.hccfl.edu/pollock/AUnix1/LVM.htm
http://blog.fosketts.net/guides/walkthrough-logical-volume-manager-linux

#2 lore raw
Quoted 8 lines · On Fri, 11 Mar 2011, [email protected] wrote:
Quoted 1 line · Brent Clark

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.

Signature · 4 lines
	      Stuart D. Gathman <[email protected]>
    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.
#3 lore raw
Quoted 1 line · Stuart D. Gathman

It is a reasonable enough question. �The OP obviously had already read

I stand corrected, and offer my apologies.