Why does 'fsck' fail to check an unmounted partition?
Issue
-
fsckfails to check an unmounted partition while the machine is running. -
I'm seeing filesystem errors on /tmp while rebooting the machine. I've tried to unmount /tmp while the machine is running but faced the following:
# umount /tmp
# fsck /tmp
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
fsck.ext3: Device or resource busy while trying to open /dev/sda8
Filesystem mounted or opened exclusively by another program?
Environment
- Red Hat Enterprise Linux Server 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.
