My Oracle Support Banner

Oracle Linux and OVM: How To Change The UUID Of Device Node (Doc ID 2564049.1)

Last updated on JULY 14, 2019

Applies to:

Oracle VM - Version 3.2.1 to 3.4.6 [Release OVM32 to OVM34]
Linux OS - Version Oracle Linux 5.11 to Oracle Linux 7.6 with Unbreakable Enterprise Kernel [4.14.35] [Release OL5U11 to OL7U6]
Linux x86-64

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.