There is a relevant description of why this happens at http://www.jejik.com/articles/2007/07/automatically_mounting_and_unmounting_samba_windows_shares_with_cifs/
Problem seems to be that cifsd is killed before the unmounting takes place.
There is a relevant shutdown script at http://www.jejik.com/files/examples/umountcifs
the thing is, this not a bug in SMB itself, in stead it relates to the shutdown procedure of ubuntu which collides with the decision to mount cifs shares using a daemon.
attached solution works.
There is a relevant description of why this happens at http:// www.jejik. com/articles/ 2007/07/ automatically_ mounting_ and_unmounting_ samba_windows_ shares_ with_cifs/
Problem seems to be that cifsd is killed before the unmounting takes place.
There is a relevant shutdown script at http:// www.jejik. com/files/ examples/ umountcifs
the thing is, this not a bug in SMB itself, in stead it relates to the shutdown procedure of ubuntu which collides with the decision to mount cifs shares using a daemon.
attached solution works.