The Common Internet File System (previously known as SMB) is a layer 7 networking protocol providing file and device sharing across local networks. It was originally designed and implemented by Microsoft as part of the Windows operating system.
Questions tagged [cifs]
429 questions
7
votes
2 answers
How to troubleshoot Linux in-kernel dns_resolver
Linux provides a facility that lets kernel and its modules to resolve DNS names by relying on user-space tools. This, for example, is used by CIFS to support referrals in the DFS.
The problem I'm seeing is that I can't get the kernel to resolve a…

Sergey
- 71
- 1
- 2
7
votes
3 answers
Native SMB/CIFS through ZFS or Samba Instead
I was totally unaware of native SMB/CIFS on ZFS. This wiki doc does not mention performance differences. What kind of performance differences exist between the two?

songei2f
- 1,934
- 1
- 20
- 30
7
votes
3 answers
Mounting Linux user home directories on CIFS server
I was wondering about peoples experiences with mounting users home directories from an Active Directory authenticated CIFS server under Linux. Preferably the mount would be accomplished upon login instead of mounting every home directory on boot…

bluehavana
- 131
- 1
- 6
6
votes
1 answer
Symlinks look like regular files on samba shares
Symlinks on my samba share aren't behaving the way I want them to – specifically, the links look like duplicate regular files to the client machine. This used to work (i.e. symlinks on the server looked like symlinks on the client), but at some…

Justin Goeres
- 83
- 2
- 4
6
votes
1 answer
CentOS cifs client sees Windows 2012 deduplicated files as symlinks
I have CentOS 7.0 VM with a volume mounted on a Windows 2012-R2 file server.
The volume contains some big files related to an internal Wordpress site.
About a week ago the site became 'broken' and what I found is that from Linux the files look like…

Niels Basjes
- 2,196
- 3
- 19
- 26
6
votes
5 answers
Windows file explorer using port 80 (webdav) instead of 445 (samba smb cifs) for UNC path
I have a Windows 7 Ultimate x86_64 machine, which is failing to access a network samba server. I launch the "Run" dialog, and type in \\192.168.x.x so I am bypassing DNS and NetBIOS name resolution, and broadcast discovery, just going directly to…

Edward Ned Harvey
- 512
- 3
- 6
- 14
6
votes
2 answers
Can't create or follow symlinks from linux client with a cifs mounted Windows Server 2008 R2 share
Windows Server 2008 R2 NTFS supports symlinks. If I log into the server as Administrator I can create symlinks with mklink, so I know the Admin user has the permissions to do this. If I mount a share onto an Ubuntu 10 client using mount -t cifs -o…

JustinP
- 891
- 1
- 8
- 8
6
votes
5 answers
Multiple logins with pam_mount means multiple (redundant) mounts
I've configured pam_mount.so to automagically mount a cifs share when users login; the problem is if a user logs into multiple times simultaneously, the mount command is repeated multiple times.
This so far isn't a problem but it's messy when you…

Jamie
- 1,284
- 7
- 22
- 40
5
votes
2 answers
Unable to list new files on a cifs share with ls *
I have an old HP-UX system running version 11.11, it has a cifs mount configured to a netapp filer.
In the past several days we've been seeing some odd behaviour for the share where files can be created & accessed if the full path is used, but…

JMP
- 123
- 1
- 1
- 6
5
votes
0 answers
`ls` command hangs indefinitely in some directory in an azure File Storage share
I have an azure File Storage share mounted in a Ubuntu 16.04 VM following this how-to. Everything seems to work fine. So I run some process that produces a lot of data, e.g. 10k files for each run, collect them into a directory for each run, and…

petrux
- 151
- 1
- 5
5
votes
4 answers
mount.cifs: mount error(112): Host is down
I am trying to mount a windows samba share on CentOS and RHEL 6 machines, but gives following error.
~]# mount.cifs //example.com/Linux_Support /mnt -o credentials=/root/cifsauth,noserverino,vers=3.0
mount error(112): Host is down
Refer to the…

Arun Krishnan
- 379
- 2
- 3
- 13
5
votes
3 answers
Symlinks not preserved by rsync when copying to cifs share
I have two servers, let's call them sA and sB. I need to backup data (several TBs) from sA to sB but because of problems with sB SSH, I'm using my local pc as "middle man". sA is a Linux server, sB is a QNAP nas.
So first I mount sB locally…

Fabio
- 229
- 2
- 8
5
votes
1 answer
CIFS/SAMBA Mount still attempts before network is ready even with _netdev
The title gives a pretty good synopsis. I am running a debian derivative (osmc) on a raspberry pi 2 in this case. and am trying to mount a share. It mounts 100% a ok from the command line or just using mount -a with the exact same /etc/fstab but on…

ehiller
- 251
- 1
- 3
- 10
5
votes
2 answers
Heterogeneous environment "roaming" profiles
By "roaming profiles" I really mean "shared home directories".
So, I set up an AD pair, and shared a folder on \\ad-1\homes. Then set the AD user object to mount H:\ = \\ad-1\homes\%username%. This works fine on Windows (as you'd expect).
I also…

Tom O'Connor
- 27,480
- 10
- 73
- 148
5
votes
7 answers
Windows networking performance (SMB/CIFS)
Are there registry settings or other settings available to tune Windows networking (SMB/CIFS) performance?
I'm trying to get maximum throughput for large file copy operations but any settings would be interesting.
So far:
TCP Settings
Adjust…

Luke Quinane
- 717
- 1
- 9
- 20