Re: why redundant command for resizing logical volumes in LVM2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux