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
3
votes
1 answer
Using same drive for iSCSI and SMB share under FreeNAS
I'm setting up a new FreeNAS server this weekend with pretty good success, but I am stuck on one last issue.
Right now I have 2x 1.5 TB drives that I want mirrored (I was planning Software RAID 1) for a total of 1.5 TB usable space.
I need to be…
user19588
3
votes
0 answers
Mount Windows 7 share using mount.cifs: Symlinks staying inside the share cannot be created
We have multiple Windows systems using Windows 7 (64bit). For web development, we want a project workspace directory that can be shared with a VM (Oracle VirtualBox). The solution included in Virtualbox is Shared Folders, which has been found to be…

Dabu
- 359
- 1
- 5
- 23
3
votes
2 answers
mounting windows shares on linux while keeping windows permissions
I have a windows share on a windows2003 server (WINJOE) which I want to back up to a Linux machine (LINUXJOE) that is properly joined to the domain. My goal is to backup shared folders of WINJOE to LINUXJOE while keeping windows permissions/owners.…

manjiki
- 350
- 3
- 11
3
votes
2 answers
How fast can a Windows 2008 CIFS client write to SAMBA server using 10Gb NIC?
We are experiencing a performance problem using Windows 2008 CIFS client. We have a FreeNAS server that delivers 1.3GB/s on ZFS write. We have 10Gb network connecting NAS server and CIFS clients. Using two Linux CIFS clients, we can get around…

Huamin
- 31
- 2
3
votes
2 answers
How to set permissions for a CIFS mount with autofs?
I've set up a CIFS mount on my CentOS 6.4 server with autofs :
File /etc/auto.mnt :
Photos -fstype=cifs,perm,rw,uid=505,forceuid,gid=505,forcegid,file_mode=0770,dir_mode=0770,credentials=/root/credentials.txt ://adsrv01/Photos
What a ls command…

mimipc
- 1,947
- 3
- 19
- 27
3
votes
1 answer
How to setup shared folder as virtual directory in IIS 7.5 (cross-domain)
This is my current understanding of how this should be done:
(TL;DR for the actual problem, please see the bold text.)
Create a folder on you storage server, henceforth known as B.
Create a local user account on B, henceforth known as BUser
Share…

Hammad Akhwand
- 151
- 1
- 1
- 5
3
votes
1 answer
Linux phantom mounts
For the second time in a year, I have encountered phantom mounts. "Normal" system tools show a CIFS mount does not exist, yet it's still really there. Adding or (mass) deleting files is instantly reflected on the remote server. Below is the…

Chris S
- 93
- 4
3
votes
4 answers
Looking for a way to mount cifs shares on centos 6 with multiple users
We have a CIFS share on our network. I have a centos 6.3 server in which I want to map the share.
The problem is that when mounting it in /etc/fstab I have to set which user (and password) to use.
The problem is that the linux server has many users.…

Assaf
- 31
- 1
- 2
3
votes
1 answer
"mount error(13): Permission denied" only in LXC container for CIFS/Samba share
I have a samba share that mounts just fine under the Ubuntu 12.04 host:
root:~# mount -t cifs -o credentials=/var/lib/lxc/vpn/rootfs/etc/samba/desktop.credentials //desktop/Media /media/Media
But when I try to do the same mount in an LXC container,…

Ross Patterson
- 149
- 2
- 8
3
votes
5 answers
server 2008 to 2003 slow filetransfer using cifs
I just tried copying a file over cifs (windows file sharing) between a server 2003 R2 and a new server 2008 SP1 and I'm getting horrible speed.
it's a 300MB file that is taking around 30 minutes to transfer. I'm getting around 1-2Mbit/s and this is…

jishi
- 868
- 2
- 11
- 25
3
votes
2 answers
Increase data transfer speed through bonding/lacp?
I want to maximize the throughput of a data transfer between two servers. The copy will be made at the application layer using Robocopy.
To clear things up, please check my Visio schema of the network:
FS1---------(SW1)===========(SW2)---------…

Delta
- 189
- 3
- 9
3
votes
2 answers
How are CIFS and SMB related to each other?
Are they synonyms, or components of a protocol stack?
Answers with proof links are welcome.

yrk
- 2,487
- 17
- 22
3
votes
4 answers
RSYNC to windows CIFS copies all directories on update (but not old content)
I have mounted a remote windows share (that will be where my backups to tape will be archiving).
I have 70GB of data that doesn't change that much, so I want to use RSYNC to mirror the data.
/usr/bin/rsync -rlptDv -e ssh --delete \
--exclude…

bomahony
- 31
- 1
- 3
3
votes
2 answers
rsync fails with error: Cannot stat destination... cannot allocate memory (12)
I am trying to rsync some directories on my linux server to a Windows 7 share mounted locally on the Linux server at /mnt/backups.
My rsync command looks like this:
rsync -avz --progress --partial --modify-window=1 --temp-dir=/tmp /home…

Justin
- 131
- 1
- 3
3
votes
1 answer
Why is my CIFS share showing the same files multiple times?
I have a Debian backup server running the FreeBSD kernel and a ZFS filesystem on which I store backups, using ZFS's snapshot and compression technologies. The Debian server uses rsync to pull files from multiple other servers via a cron job. This…

Josh
- 9,190
- 28
- 80
- 128