Discussion:
[linux-lvm] lvextend and lvresize
Brent Clark
2011-03-11 07:44:58 UTC
Permalink
Hiya

What is the difference between lvextend and lvresize?

Thanks
Brent
h***@gmail.com
2011-03-11 08:25:07 UTC
Permalink
Post by 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
Stuart D. Gathman
2011-03-11 14:16:19 UTC
Permalink
Post by h***@gmail.com
Post by 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
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 <***@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.
h***@gmail.com
2011-03-11 20:22:42 UTC
Permalink
It is a reasonable enough question.  The OP obviously had already read
I stand corrected, and offer my apologies.

h***@gmail.com
2011-03-11 08:31:39 UTC
Permalink
And nothing to do with LVM, but perhaps most valuable of all:

http://www.catb.org/~esr/faqs/smart-questions.html
Loading...