[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
** Also affects: cifs-utils (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871779 Importance: Unknown Status: Unknown ** Summary changed: - SMB driver (SMBv2) does not show all files when mounting a windows top level share + SMBv2+ does not show all files when mounting a windows share -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMBv2+ does not show all files when mounting a windows share Status in Linux: Unknown Status in linux package in Ubuntu: Confirmed Status in cifs-utils package in Debian: Unknown Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
> The funny thing is you can enter or list the "hidden" folder if your force the path. The bug has been confirmed and there are explanations and patches but the maintainers don't seem ready to apply it which is unfortunate as it is a very nefarious bug (Windows 10 doesn't support SMB1.0 by default). If you aren't aware of this bug you could mistakenly think all files of a share are being backed up when they aren't. https://bugzilla.samba.org/show_bug.cgi?id=13107 https://www.spinics.net/lists/linux-cifs/msg14170.html Explanation of bug: https://www.spinics.net/lists/linux-cifs/msg14405.html Unfortunately I'm not sure how to apply the patches and recompile just the cifs module. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in Linux: Unknown Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
Hi all, Experiencing the same issue under debian stable (kernel 4.9.88-1). I opened a bugreport a few months ago with some network captures. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871779 The funny thing is you can enter or list the "hidden" folder if your force the path. ** Bug watch added: Debian Bug tracker #871779 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871779 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in Linux: Unknown Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
Re: [Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
Do you get a notice in dmesg when you don't specify the version at mount time? On Fri, Apr 27, 2018, 03:05 Walter Cheuk wrote: > Same problem happened to Ubuntu 16.04.5. I have to specify "vers=1.0" to > mount a NAS drive successfully. The help said the default version is > 1.0, so I spent a lot of time to check other options. Anyone please > update the help text. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1572132 > > Title: > SMB driver (SMBv2) does not show all files when mounting a windows top > level share > > To manage notifications about this bug go to: > https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions > -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in Linux: Unknown Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
Same problem happened to Ubuntu 16.04.5. I have to specify "vers=1.0" to mount a NAS drive successfully. The help said the default version is 1.0, so I spent a lot of time to check other options. Anyone please update the help text. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in Linux: Unknown Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
I'm seeing files (ok, one file) disappear from a share when it's mounted with vers=3.0. But it's not a top-level share, it's just "c:\Shares\jsmith" on a windows 2016 server: https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1764778/comments/15 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in Linux: Unknown Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
Same problem here with uBuntu 16.04 using Kernel "4.13.0-37-generic #42~16.04.1-Ubuntu SMP Mar 7 x86_64". A mounted share called "D" from a Windows 10 (1709) computer has at least one important directory just missing when mounted. I can enter the non-existing directory manually though by cd "directoryName" and then once inside see its contents (unsure if this listig is complete though). This is a major bug. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in Linux: Unknown Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
In my case the files do not appear only on directory listing. I can, however, do touch, edit, rm and other file operations, and they work fine. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in Linux: Unknown Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
@ahasenack 4.10.0-35-generic (buildd@lcy01-33) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 (Ubuntu 4.10.0-35.39~16.04.1-generic 4.10.17) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in Linux: Unknown Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
I filed a bug in bugzilla.samba.org in the CifsVFS "project", but I'm not 100% it's the right place. I don't know if they are upstream of the cifs code in the kernel, or if that's some old implementation that is no longer used. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in Linux: Unknown Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
@jchamp what's your kernel version? ** Bug watch added: Samba Bugzilla #13107 https://bugzilla.samba.org/show_bug.cgi?id=13107 ** Also affects: linux via https://bugzilla.samba.org/show_bug.cgi?id=13107 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in Linux: Unknown Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
I'm also experiencing this bug on Ubuntu 16.04.3. I don't think Windows supports SMB 1.0 any longer due to security issues. (mount error(121): Remote I/O error) Adding vers=2.0 or 2.1 to the mount command line options successfully mounts the share, but using rsync to back up this Windows share is not reliable if it is missing 2 files. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
This should have been moved back to "confirmed" before the expiration, fixing that now. ** Changed in: linux (Ubuntu) Status: Expired => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
[Expired for linux (Ubuntu) because there has been no activity for 60 days.] ** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in linux package in Ubuntu: Expired Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
I checked it with the 4.12.0 kernel, Problem still exists. I also verified the correct kernel version with uname -r. I added the tag kernel-bug-exists-upstream. ** Tags added: kernel-bug-exists-upstream -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in linux package in Ubuntu: Incomplete Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
I'm not a real Linux expert, but I'll do my very best. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in linux package in Ubuntu: Incomplete Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.12 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. Once testing of the upstream kernel is complete, please mark this bug as "Confirmed". Thanks in advance. [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12 ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Tags added: kernel-da-key -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in linux package in Ubuntu: Incomplete Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share
Check some debug options that can be enabled on-the-fly, taken from bug https://bugs.launchpad.net/ubuntu/karmic/+source/linux/+bug/406466/comments/8. In particular: echo 1 > /proc/fs/cifs/traceSMB showed that the missing files/directories are sent to the client when "ls -l /mountpoint" is issued. ** Package changed: cifs-utils (Ubuntu) => linux (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level share Status in linux package in Ubuntu: Confirmed Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp