Mounting the DFS share using vers=1.0 is working:
# mount -t cifs -o dom=xxx,username=xxx,password=xxx,uid=xxx,gid=xxx,vers=1.0 //xxx.yy/path/ACC /w
# echo $?
0
But mounting the same DFS share with vers=2.0 gives the following error:
# echo 7 > /proc/fs/cifs/cifsFYI
# mount -t cifs -o dom=xxx,username=xxx,password=xxx,uid=xxx,gid=xxx,vers=2.0 //xxx.yy/path/ACC /w
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
kernel: Status code returned 0xc0000016 STATUS_MORE_PROCESSING_REQUIRED
kernel: Status code returned 0xc00000cc STATUS_BAD_NETWORK_NAME
kernel: CIFS VFS: BAD_NETWORK_NAME: \\nedasconet.nl\Proces
kernel: CIFS VFS: cifs_mount failed w/return code = -2
# echo 0 > /proc/fs/cifs/cifsFYI
Version 2 is enabled on the DFS share. And I already updated the system to the latest patches:
# uname -r
3.10.0-514.21.1.el7.x86_64
Is DFS using vers=2.0 supported on CentOS 7?
If so, any ideas?
Mount DFS share (vers=2.0,SMB2) error
Re: Mount DFS share (vers=2.0,SMB2) error
I have the same issue. Any solution for this?
Re: Mount DFS share (vers=2.0,SMB2) error
No idea but the OP was definitely not up to date so the first step is to run yum update then reboot into the new kernel (if there is one) and try again.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke