partprobe コマンドを使用してカーネルにパーティションテーブルを再度読み込むと失敗する
Issue
- fdisk から修正をした後、partprobe コマンドを実行してパーティションテーブルをカーネルに同期すると、以下のエラーメッセージが表示されます。
Error:Error informing the kernel about modifications to partition /dev/xxx -- Device or resource busy.This means Linux won't know about any changes you made to /dev/xxx until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
Warning:The kernel was unable to re-read the partition table on /dev/xxx (Device or resource busy).This means Linux won't know anything about the modifications you made until you reboot.You should reboot your computer before doing anything with /dev/xxx.
- また、parted または fdisk を直接使用すると、同じ EBUSY エラー状況で同様のエラーメッセージが発生します。
Environment
- Red Hat Enterprise Linux
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.
