How to change the UUID or Label attributes of a swap volume online?
Issue
- How to change the UUID or Label attributes of a swap volume online?
- How to use swaplabel utility to change Label of swap volume?
# swaplabel /dev/mapper/swapvg-swaplv
LABEL: swapdata
UUID: 7b4f3d3d-a4e0-45c5-bcc6-c0d700189292
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.