Hi Saifi, This is just a weird theory of mine for two error messages.
1. umount sends 'n' number of unsuccessful requests to the kernel for unmounting the device, before it quits. 2. kernel knows this fixed number 'n', and sends false acknowledgement (whatever the kernel code for it). 3. Shell will interpret this as " /dev/hdb1 resource or device busy" when umount quits. What happens if the 'n' in point 1 (total pre-determined attempts by umount), is greater than 'n' in point 2 (kernel's counter for umount's attempt numbers). My assumption may be totally weird and wrong; if so, please share a light moment and laugh at it. -- krish Namita Iyer <[EMAIL PROTECTED]> wrote: Saifi Khan wrote: > Hi: > > i mounted a partition /dev/hdb1 on /data/d1 directory > on the Gentoo machine. > > #mount /dev/hdb1 /data/d1 > > Now, when i attempt to (un)mount the device the system > responds "twice" for the device is busy. > > #umount /data/d1 > > /dev/hdb1 resource or device busy > /dev/hdb1 resource or device busy > > i have taken care that i am executing the command > from '/' directory. > > Can somebody point out, what i could be missing here ? > > Additionally, why the device is shown to be busy twice ? > > Any suggestions ? > > > thanks > Saifi. > Hi Saifi, You can find out which process is using the file/filesystem using 'lsof' or 'fuser'. If you don't find any process using it, then try : 'unmount -f -l /data/d1' -f is for forced -l as per the man pages is "Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)" -f alone will not work. Not sure why it responds twice though. Hope this helps. Namita

