mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 10:42:07 +02:00
376 B
376 B
lvresize
Change the size of a logical volume.
- Change a volume's size to 120GB:
lvresize -L {{120G}} {{logical_volume}}
- Reduce a volume's size by 120GB as well as the underlying filesystem:
lvresize --size -{{120G}} -r {{logical_volume}}
- Increase a volume's size to 100% of the free phyiscal volume space:
lvresize --size {{100}}%FREE {{logical_volume}}