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...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb>CentOS_7.x_file_system_management|CentOS 7.x file system management</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x system administration|System Administration]] > [[CentOS 7.x file system management|File system management]] > [[CentOS 7.x change filesystem UUID]]
=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:
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:
Line 20: Line 19:
* https://docs.oracle.com/cd/E37670_01/E37355/html/ol_admin_xfs.html
* https://docs.oracle.com/cd/E37670_01/E37355/html/ol_admin_xfs.html
* http://www.sudo-juice.com/how-to-change-the-uuid-of-a-linux-partition/
* http://www.sudo-juice.com/how-to-change-the-uuid-of-a-linux-partition/
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x system administration|System Administration]] > [[CentOS 7.x file system management|File system management]] > [[CentOS 7.x change filesystem UUID]]

Latest revision as of 06:50, 25 August 2022

Home > CentOS > CentOS 7.x > System Administration > File system management > 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:

  1. Find UUID using blkid
  2. Generate new using uuidgen
  3. Update filesystem UUID
    • For ext filesystems update using:
      tune2fs <device> -U <new-UUID>
    • For xfs use:
      xfs_admin -U generate <device>


Refer:



Home > CentOS > CentOS 7.x > System Administration > File system management > CentOS 7.x change filesystem UUID