2.6.9 - unable to unmount tmpfs

From: Christopher S. Aker
Date: Fri Oct 22 2004 - 10:46:49 EST


Kernel: 2.6.9 + skas3-v6 + cfq2 (from 2.6.9-ck1)

This box runs a bunch of UMLs -- I mount a tmpfs volume to hold the UML's memory file
each time an UML runs, and with 2.6.9 I'm unable to to unmount the tmpfs volume even
though there are no referring processes...

[root@host19 root]# lsof | grep "/linodes/holden/tmp"
[root@host19 root]#

[root@host19 root]# mount | grep holden
tmpfs on /linodes/holden/tmp type tmpfs (rw,size=64M,mode=0770)
tmpfs on /linodes/holden/tmp type tmpfs (rw,size=64M,mode=0770)
tmpfs on /linodes/holden/tmp type tmpfs (rw,size=64M,mode=0770)

[root@host19 root]# umount /linodes/holden/tmp
umount: /linodes/holden/tmp: device is busy
umount: /linodes/holden/tmp: device is busy
umount: /linodes/holden/tmp: device is busy

I assume this is a bug in 2.6.9 and not UML, possibly relating to ptrace (?) since
UML requires a kill -CONT <pid> to exit properly under 2.6.9 with any version of UML.
I tried creating a tmpfs mount and a few files within, and it unmounted correctly.

Thanks,
-Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/