Changes the name of logical volume lvdata to lvdata2 inside group vgdata. The device path changes from /dev/vgdata/lvdata to /dev/vgdata/lvdata2, so update fstab and any mounts that reference the old name. Renaming is safe while the volume is unmounted.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.