lvextend, lvreduce, lvresize: add page (#4239)

Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
This commit is contained in:
Samuel Woon
2020-08-10 06:03:18 -05:00
committed by GitHub
parent cf27351f6e
commit 6310c08975
3 changed files with 41 additions and 0 deletions

15
pages/linux/lvresize.md Normal file
View File

@@ -0,0 +1,15 @@
# 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}}`