Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-15 00:19:37 +00:00
parent 220486abce
commit d5421f7c01
42 changed files with 459 additions and 43 deletions

21
tldr/linux/lvrename Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# lvrename
> Rename a logical volume.
> More information: <https://manned.org/lvrename>.
- Rename an LV using full paths:
`sudo lvrename {{/dev/vg_name/old_lv}} {{/dev/vg_name/new_lv}}`
- Rename an LV using the volume group and names:
`sudo lvrename {{vg_name}} {{old_lv}} {{new_lv}}`
- Answer "yes" to any prompts:
`sudo lvrename {{[-y|--yes]}} {{/dev/vg_name/old_lv}} {{/dev/vg_name/new_lv}}`