Umount CIFS

hi guys

I have to umount a CIFS from a Windows machine...but it's been imposible

there is one special task

/sbin/umount.cifs /mondobackup

that task cannot be kill...so I cannot umount the unit

any idea how to kill this and umount this CIFS share?

by the way I've tried

umount -l
umount -f

same thing now I have these other commands holding the mount

ps aux | grep [m]ondo
root      5254  0.0  0.0   1420   292 ?        D    12:15   0:00 /sbin/umount.cifs /mondobackup
root      7593  0.0  0.0   1564   476 ?        D    13:18   0:00 fuser -cu /mondobackup
root      7724  0.0  0.0   1564   472 ?        D    13:18   0:00 fuser -ck /mondobackup
root      7882  0.0  0.0   1424   300 ?        D    13:20   0:00 /sbin/umount.cifs /mondobackup -f
root      8029  0.0  0.0   1424   300 pts/20   D    13:21   0:00 /sbin/umount.cifs /mondobackup -l

thanks a lot

See what's at the bottom of dmesg | less

something like this

CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode

Try to track down and kill any processes still using the share. That may allow it to finish unmounting.

If not, you may have to reboot. You'll never kill a lazy unmount. IMHO -l amounts to a denial-of-service bug: Open files will hold it open, but new ones can't be opened, causing a situation where there's no service and you can't force it to complete.

Found this too

CIFS VFS: cifs_mount failed w/return code = -6
 CIFS VFS: cifs_mount failed w/return code = -6
 CIFS VFS: Error 0xfffffffa on cifs_get_inode_info in lookup of \io.sys
 CIFS VFS: Error 0xfffffffa on cifs_get_inode_info in lookup of \msdos.sys

so my server will have to be rebooted.... :wall:

Those don't look that bad, but don't look relevant either.