Article ID: 78266
Article Type: Technical Reference
Last Modified:
Update fstab entries to use UUIDs, as follows:
blkid
Sample output:
/dev/sda2: UUID="4eb40294-4c6f-4384-bbb6-b8795bbb1130" TYPE="xfs"
/dev/sda1: UUID="2de37c6b-2648-43b4-a4f5-40162154e135" TYPE="swap"
# cat /etc/fstab
Sample output: /dev/sda2 / xfs defaults 0 0
UUID=a1228fd4-9288-4db2-8fd0-69dab79ccfda / xfs defaults 0 0
/dev/sda2 / xfs defaults 0 0
vi /etc/fstab
UUID=a1228fd4-9288-4db2-8fd0-69dab79ccfda / xfs defaults 0 0
:wq
, and then press ENTER. The system saves the configuration and then exits the vi editor.Note: If your system uses device names from the grub configuration, see "Upgrading a grub/grub2 Configuration for EFI Hosts to Use UUID Disk Identifiers". (https://kb.commvault.com/article/77906)