1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 19:39:50 +01:00
tldr/pages/linux/lvextend.md
Guillaume Bernard 1b66ca8aee
lvextend: fix typo, update link (#11553)
* fix: Update lvextend.md, missing +

* lvextend: update link

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-21 00:00:31 +05:30

459 B

lvextend

Increase the size of a logical volume. See also: lvm. More information: https://manned.org/lvextend.8.

  • Increase a volume's size to 120 GB:

lvextend --size {{120G}} {{logical_volume}}

  • Increase a volume's size by 40 GB as well as the underlying filesystem:

lvextend --size +{{40G}} -r {{logical_volume}}

  • Increase a volume's size to 100% of the free physical volume space:

lvextend --size +{{100}}%FREE {{logical_volume}}