Unable to unmount a filesystem

From: Forkner, Robert (forknerr@acu.edu)
Date: Mon Aug 05 2002 - 10:38:09 EDT


   $ sudo umount /u04
   umount: 0506-349 Cannot unmount /dev/oralv04: The requested resource is
busy.

But when I use lsof to see what resources might be using it, or who might
have cd'd to it unintentionally ;-)... I get nothing:
   $ sudo lsof +d /u04 2>/dev/null
   $

As you can see, everything has been moved off of the filesystem so that I
can resize (shrink) it:

   $ ls -la /u04
   total 24
   drwxr-xr-x 3 oracle dba 512 Jul 31 10:41 .
   drwxr-xr-x 28 bin bin 1536 Aug 04 23:03 ..
   drwxrwx--- 2 oracle dba 512 Feb 08 18:58 lost+found

   $ ls -la /u04/lost+found
   total 16
   drwxrwx--- 2 oracle dba 512 Feb 08 18:58 .
   drwxr-xr-x 3 oracle dba 512 Jul 31 10:41 ..

So the OS thinks something is using the filesystem... if lsof won't identify
it, what will? I could always bring it down to single user mode, but this
is a production box and I hate to do that just to unmount a filesystem...
unfortunately, I need to reconfigure (shrink) filespace and therefore I do
NEED to unmount it. Any suggestions?



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:06 EDT