OCI: How to change or add a label to an XFS file system
in Linux
APPLIES TO:
Oracle Cloud Infrastructure
Linux x86-64
GOAL:
Some systems use LABELS instead of UUIDs to mount their file systems. This is particularly true with Exadata systems. If an instance is using a label to mount a file system, for example ‘DBSYS’ and the label has been removed from the file system the kernel won’t be able to find it and it will crash with a kernel panic halt.
SOLUTION:
To add a label to an XFS system this can be performed using xfs_admin command.
1. Validate if the file system has currently a label with:
$ xfs_admin -l /path/to/device
Tagged:
0