Oracle Linux and OVM: How To Change The UUID Of Device Node
(Doc ID 2564049.1)
Last updated on OCTOBER 30, 2024
Applies to:
Oracle VM - Version 3.2.10 and laterLinux OS - Version Oracle Linux 5.11 and later
Linux x86-64
Linux x86
Information in this document applies to any platform.
Goal
The device node name of a disk (/dev/sda, /dev/hda, /dev/vda, /dev/xvdc, etc.) may change in some situations. For example, after switching cables around or upgrading certain packages, sda & sdc could swap places. This causes problems when /etc/fstab references filesystems by the disk names. It is not safe to use block device node names like /dev/sda1 and /dev/vdb2 to refer to filesystems in /etc/fstab.
Instead, use filesystem UUIDs (universally unique identifiers) or labels. Either of these allows for identifying a filesystem without resorting to ephemeral block device names.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |