UUID とラベルを使用してファイルシステムを特定する
Issue
- ディスクのデバイスノード名 (
/dev/sda、/dev/hda、/dev/vdaなど) が変更する場合があります。たとえば、ケーブルを変更したり、特定のパッケージをアップグレードすると、sda と sdc が入れ替わります。これにより、/etc/fstabでディスク名を使用してファイルシステムを参照する場合に問題が発生します。この問題を回避するにはどうすれば良いですか?
Environment
- Red Hat Enterprise Linux 5 以降
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.
