Filesystem was unmounted cleanly, however attempting to run repair/fsck operation returns "Device or resource busy"
Issue
- A FS corruption took place, which required running further recovery actions.
- The FS was unmounted cleanly without using
-lflag, i.e. without lazy unmount. -
However, attempting to run repair operations on the FS returns "Device or resource busy".
# xfs_repair /path/to/dev/device xfs_repair: cannot open /path/to/dev/device: Device or resource busy
Environment
- Red Hat Enterprise Linux (RHEL)
- ext4
- xfs
- local fs
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.