Modify persistent naming attributes
You can change the UUID or Label persistent naming attribute of a file system.
Before you begin
- If you are modifying the attributes of an XFS file system, unmount it first.
About this task
Changing
udev attributes happens in the background and might take a long time. The udevadm settle command waits until the change is fully registered, which ensures that your next command is able to use the new attribute correctly.In the following commands:
- Replace new-uuid with the UUID you want to set; for example,
1cdfbc07-1c90-4984-b5ec-f61943f5ea50. You can generate a UUID by using theuuidgencommand. - Replace new-label with a label; for example,
backup_data.