lvreduce/lvextend vs lvresize
Hi
What is the difference in using lvreduce/lvextend vs lvresize ? Best regards |
Hi,
All three are symlinks to LVM for as far as I can tell. The only difference, in my opinion, is that lvresize can be used for both operations (shrinking and/or extending) while lvreduce / lvextend can only be used for one option, reducing / extending respectively. If there is something more to it, I'd love to know too. Always eager to learn. Kind regards, Eric |
Found one little difference:
lvreduce as the only one of the three commands has the -f option to force operation. At least according to the man page. Cheered to soon when you do a {lvreduce;lvextend;lvresize} --help all three have the -f option :( |
All times are GMT -5. The time now is 09:01 PM. |