why redundant command for resizing logical volumes in LVM2?

Paul Howarth paul at city-fan.org
Mon Nov 29 16:29:21 UTC 2004


Robert P. J. Day wrote:
>   i'm sure there's a simple answer to this, but is there any
> compelling reason why there are three different commands in LVM2 for
> resizing a logical volume?
> 
>   lvreduce		# make smaller
>   lvextend		# make larger
>   lvresize		# resize
> 
> is there some pretty obvious redundancy here, or am i misreading the
> man pages?

All of the lvm2 commands are symlinks to a single binary. See:

$ ls -l /usr/sbin/lv*

Having several different commands allows for simpler, easier to remember 
commands for doing common tasks rather than having to remember one command 
with lots of complex options.

Paul.




More information about the fedora-list mailing list