Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-25 00:19:45 +00:00
parent 0861ba59e2
commit 9b06c2023f

View File

@@ -11,12 +11,16 @@ source: https://github.com/tldr-pages/tldr.git
- Increase a volume's size to 120 GB:
`lvextend {{[-L|--size]}} {{120G}} {{logical_volume}}`
`sudo lvextend {{[-L|--size]}} {{120G}} {{logical_volume}}`
- Increase a volume's size by 40 GB as well as the underlying filesystem:
`lvextend {{[-L|--size]}} +{{40G}} {{[-r|--resizefs]}} {{logical_volume}}`
`sudo lvextend {{[-L|--size]}} +{{40G}} {{[-r|--resizefs]}} {{logical_volume}}`
- Increase a volume's size to 100% of the free physical volume space:
`lvextend {{[-L|--size]}} +{{100}}%FREE {{logical_volume}}`
`sudo lvextend {{[-l|--extents]}} +{{100}}%FREE {{logical_volume}}`
- Increase a volume's size to 100% of the free physical volume space and resize the underlying filesystem:
`sudo lvextend {{[-l|--extents]}} +{{100}}%FREE {{[-r|--resizefs]}} {{logical_volume}}`