"cat /proc/fs/cifs/Stats" to see if there were any reconnections and "cat /proc/fs/cifs/DebugData" to list the version information that the server reports for this mount
If you can save a wireshark (or tcpdump) trace of the failure that would be ideal and would allow diagnosing the problem quickly. See http://wiki.samba.org/index.php/Capture_Packets for more details on how to do that. On Fri, Oct 31, 2008 at 10:03 AM, Launchpad Bug Tracker <[EMAIL PROTECTED]> wrote: > You have been subscribed to a public bug by Dustin Kirkland (kirkland): > > Binary package hint: smbfs > > System info: > smbfs: > Installed: 2:3.2.3-1ubuntu3 > Candidate: 2:3.2.3-1ubuntu3 > Description: Ubuntu 8.10 > Release: 8.10 > [0 [EMAIL PROTECTED] ~]$ uname -a > Linux firefly 2.6.27-7-generic #1 SMP Fri Oct 17 22:24:30 UTC 2008 x86_64 > GNU/Linux > > Expected results: > CIFS mounts keeps working after upgrade. > > Results: > After upgrading from 8.04 to 8.10 (roughly one week ago, on the 23rd of Oct > 08) using update-manager -d my CIFS mounts stopped working properly. I did > not change any settings between them, and I have another machine on this > network that is still running 8.04 and that doesn't have any problems. > > They mount fine, and I can, with some effort, copy and read files from it > (though I have to do it manually, as many programs will whine). As an example > (here /mnt/diverse is my cifs mountpoint, mounted from a MyBook network > drive): > [0 [EMAIL PROTECTED] ~]$ ls -l /mnt/diverse/test > ls: cannot access /mnt/diverse/test: No such file or directory > [2 [EMAIL PROTECTED] ~]$ touch /mnt/diverse/test > touch: setting times of `/mnt/diverse/test': Not a directory > [1 [EMAIL PROTECTED] ~]$ ls -l /mnt/diverse/test > -rwxr--r-- 1 zerodogg zerodogg 0 Oct 21 08:39 /mnt/diverse/test > > [0 [EMAIL PROTECTED] ~]$ ls -l /mnt/diverse/test2 > ls: cannot access /mnt/diverse/test2: No such file or directory > [2 [EMAIL PROTECTED] ~]$ touch test2 > [0 [EMAIL PROTECTED] ~]$ mv test2 /mnt/diverse/ > `test2' -> `/mnt/diverse/test2' > mv: preserving times for `/mnt/diverse/test2': Not a directory > mv: setting permissions for `/mnt/diverse/test2': Not a directory > removed `test2' > [0 [EMAIL PROTECTED] ~]$ chmod 644 /mnt/diverse/test2 > chmod: changing permissions of `/mnt/diverse/test2': Not a directory > [0 [EMAIL PROTECTED] ~]$ rsync -avzh --progress --partial test3 /mnt/diverse/ > sending incremental file list > test3 > 0 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/1) > rsync: mkstemp "/mnt/diverse/.test3.mllG7b" failed: Not a directory (20) > > sent 87 bytes received 31 bytes 236.00 bytes/sec > total size is 0 speedup is 0.00 > rsync error: some files could not be transferred (code 23) at main.c(1058) > [sender=3.0.3] > > The same commands, on the same mount on the 8.04 machine works perfectly > fine. It also worked fine on this (8.10) machine before the upgrade. > > The relevant fstab entry (I have tried with and without > dir_mode,file_mode,nounix): > //zdmybook/DIVERSE /mnt/diverse cifs > username=USERNAME,password=PASSWORD,uid=1000,gid=1000,dir_mode=0750,file_mode=0640,noauto,user,exec > 0 0 > [0 [EMAIL PROTECTED] ~]$ mount |grep div > //zdmybook/DIVERSE on /mnt/diverse type cifs (rw,mand,nosuid,nodev) > > The fstab entry on the 8.04 box: > //zdmybook/DIVERSE /mnt/Diverse smbfs > username=USER,password=PASSWORd,uid=1000,gid=1001,noauto,user,noatime 0 0 > > And as an example, this time from the 8.04: > [0 [EMAIL PROTECTED] ~]$ touch /mnt/diverse/123 > [0 [EMAIL PROTECTED] ~]$ ls -l /mnt/diverse/123 > -rwxr--r-- 1 lisbeth zerodogg 0 2008-10-21 08:53 /mnt/diverse/123 > [0 [EMAIL PROTECTED] ~]$ mount|\grep div > //zdmybook/DIVERSE on /mnt/diverse type cifs (rw,mand,noexec,nosuid,nodev) > [0 [EMAIL PROTECTED] ~]$ LC_ALL=C apt-cache policy smbfs > smbfs: > Installed: 3.0.28a-1ubuntu4.5 > Candidate: 3.0.28a-1ubuntu4.5 > [0 [EMAIL PROTECTED] ~]$ lsb_release -rd > Description: Ubuntu 8.04.1 > Release: 8.04 > [0 [EMAIL PROTECTED] ~]$ uname -a > Linux lisbeth 2.6.24-21-generic #1 SMP Mon Aug 25 16:57:51 UTC 2008 x86_64 > GNU/Linux > > ** Affects: samba (Ubuntu) > Importance: Undecided > Status: New > > -- > CIFS share broken after upgrade from 8.04 -> 8.10 > https://bugs.edge.launchpad.net/bugs/286828 > You received this bug notification because you are a direct subscriber of the > bug. > -- Thanks, Steve -- CIFS share broken after upgrade from 8.04 -> 8.10 https://bugs.launchpad.net/bugs/286828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs