SMBFS Locking Issues with Advanced Server 2000/2003 [kernel 2.6.14]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Attached errors. Intermittent errors occur when VNC viewer is installed and running from a remote server which is also mapped with smbfs. Problem can be recreated by executing perl commands remotely against source code stored on a Windows 2000/2003 Advanced Server. There are no other applications locking the code. The first error occurs when running Perl and Perl hangs remotely and the process never returns. After hitting control C to break out of Perl, SMBFS leaves the files locked remotely and they cannot be deleted until the volume is unmounted. Unmounting and remounting clears the problem, but this is dirty and should recover more gracefully.

Mount also reports erroneously when this occurs that the volume is mounted twice, which it is not the case -- the volume was only mounted once.
Perl command:

perl -pi -e "s/interface/interfaceIndex/g" *[ch]

erroneous mount info:

/dev/sda3 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda4 on /pfs type dsfs (rw)
//192.168.2.27/dsfs on /win type smbfs (0)
//192.168.2.27/dsfs on /win type smbfs (0)


Error returned after perl croaks:

[root@predator dsarchive]#
[root@predator dsarchive]# rm -rf 01-14-06-final/
rm: cannot remove `01-14-06-final//utils/dscapture.c': Text file busy
rm: cannot remove `01-14-06-final//utils/dsinput.c': Text file busy
[root@predator dsarchive]#
[root@predator dsarchive]#
[root@predator dsarchive]#

Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux