Difference between revisions of "CentOS 7.x change filesystem UUID"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>CentOS_7.x_file_system_management|CentOS 7.x file system management</yambe:breadcrumb> =CentOS 7.x change filesystem UUID= Changing filesystem UUID is requi...") |
(No difference)
|
Revision as of 04:57, 12 June 2017
<yambe:breadcrumb>CentOS_7.x_file_system_management|CentOS 7.x file system management</yambe:breadcrumb>
CentOS 7.x change filesystem UUID
Changing filesystem UUID is required for cloned systems. This is also required if a boot root device is detached from a AWS VM and attached to another VM created with same AMI ID. To change UUID use following steps:
- Find UUID using blkid
- Generate new using uuidgen
- Update filesystem UUID
- For ext filesystems update using:
- tune2fs <device> -U <new-UUID>
- For xfs use:
- xfs_admin -U generate <device>
- For ext filesystems update using:
Refer: