mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
5f958f45c0
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> Co-authored-by: Nelson Figueroa <30811275+nelsonfigueroa@users.noreply.github.com>
402 B
402 B
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}}