[Bug 286828] [NEW] CIFS share broken after upgrade from 8.04 -> 8.10

Steve French smfrench at gmail.com
Fri Oct 31 15:25:04 GMT 2008


"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
<286828 at bugs.launchpad.net> 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 zerodogg at firefly ~]$ 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 zerodogg at firefly ~]$ ls -l /mnt/diverse/test
> ls: cannot access /mnt/diverse/test: No such file or directory
> [2 zerodogg at firefly ~]$ touch /mnt/diverse/test
> touch: setting times of `/mnt/diverse/test': Not a directory
> [1 zerodogg at firefly ~]$ ls -l /mnt/diverse/test
> -rwxr--r-- 1 zerodogg zerodogg 0 Oct 21 08:39 /mnt/diverse/test
>
> [0 zerodogg at firefly ~]$ ls -l /mnt/diverse/test2
> ls: cannot access /mnt/diverse/test2: No such file or directory
> [2 zerodogg at firefly ~]$ touch test2
> [0 zerodogg at firefly ~]$ 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 zerodogg at firefly ~]$ chmod 644 /mnt/diverse/test2
> chmod: changing permissions of `/mnt/diverse/test2': Not a directory
> [0 zerodogg at firefly ~]$ 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 zerodogg at firefly ~]$ 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 lisbeth at lisbeth ~]$ touch /mnt/diverse/123
> [0 lisbeth at lisbeth ~]$ ls -l /mnt/diverse/123
> -rwxr--r-- 1 lisbeth zerodogg 0 2008-10-21 08:53 /mnt/diverse/123
> [0 lisbeth at lisbeth ~]$ mount|\grep div
> //zdmybook/DIVERSE on /mnt/diverse type cifs (rw,mand,noexec,nosuid,nodev)
> [0 lisbeth at lisbeth ~]$ LC_ALL=C apt-cache policy smbfs
> smbfs:
>  Installed: 3.0.28a-1ubuntu4.5
>  Candidate: 3.0.28a-1ubuntu4.5
> [0 lisbeth at lisbeth ~]$ lsb_release -rd
> Description:    Ubuntu 8.04.1
> Release:        8.04
> [0 lisbeth at lisbeth ~]$ 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
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list