Red Hat Bugzilla – Bug 52180
umount fails - device busy
Last modified: 2014-03-16 22:22:51 EDT
Description of Problem:
This is complicated and may be kernel, mount, or something else but I am
starting with initscripts.
This occurs on beta hardware system #28 (all scsi disks) as well as another
system with only ide disks.
I have created a rc1 (roswell2) system with multiple partitions (lots of
them). When I installed rc1, I made /, /usr, and /usr/src all ext3
partitions. However, I left /home, usr/local, and a bunch of other
partitions mounted on /home all ext2.
During shutdown, I get messages that umount2 FAILED with device busy for
both /home and /usr. /etc/init.d/halt then trys to umount again. Most of
the time this succeeds. However, at least one time this failed also.
I have run some "controlled" experiments:
I switch to single user mode (telinit 1) and make sure everything is down.
I then manually umount partitions.
I get clean shutdowns if only / and /usr are left mounts. Other
combinations (including only / and /home) result in failed umounts.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
umount failed during shutdown
This defect is considered SHOULD-FIX for Fairfax.
I have become convinced it is something to do with ext3 so I am changing this to
The problem seems to occur when there are any other partitions other that / and
/usr mounted. With /, /usr, and /usr/src all ext3 are mounted, the first umail
of /usr fails but succeeds on the retry. This has happened for every shutdown I
I have added email@example.com as a CC since that seems to be the assignee for
new kernel problems.
Could you paste/attach the output of "mount" during a normal session ?
(eg just boot as you normally would)
I am now thinking that I was correct in my first call as being an initscripts
problem. I believe that /etc/init.d/halt tries to umount /usr before it has
Also, if you have a partition mounted even lower in a directory tree, it will
really fail: /usr/src/redhat/SOURCES
I am attaching my /proc/mounts (is this what you want?).
I have changed the Component back to initscripts.
Created attachment 29214 [details]
Created attachment 29215 [details]
I see the problem in /etc/init.d/halt --
In function "halt_get_remaining", the output of awk needs to be piped to sort -r
I will try this later
Will be added in 6.27-1.