How to use UUIDs and labels to identify filesystems
Issue
- The device node name of a disk (
/dev/sda,/dev/hda,/dev/vda, 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/fstabreferences filesystems by the disk names. How can this be avoided?
Environment
- Red Hat Enterprise Linux 5 and later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
