lkml.org 
[lkml]   [2004]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject2.6.9 - unable to unmount tmpfs
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.082 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site