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.

learn more… | top users | synonyms

6
votes
0answers
4k views

Linux samba server: cifs_mount failed w/return code = -12

Server: RHEL 5.9 / smbd 3.0.33 - Clients: various, though all were using current mount.cifs (5.2) I already solved this problem, but it was such a nightmare to hunt down these error codes I felt like ...
5
votes
0answers
1k views

CIFS mounts hang on read

I have a problem with a bunch of CIFS mounts that look like this: //192.168.10.2/remote-share /home/windows-shared/remote-share cifs defaults,user=xxx,password=xxx,uid=603,gid=603 0 0 This ...
3
votes
0answers
1k views

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 ...
2
votes
0answers
41 views

Rsnaphost “works” when tested but not when run

I have set up rsnapshot successfully a couple of times, and maybe because everything was rather painless (except for the vi tab fiasco of 2013) I am now out of ideas. I have a cifs mounted remote ...
2
votes
0answers
921 views

NFS export CIFS share

I have a server 192.168.1.1 where a samba share is mounted to /image I would like to setup an NFS sever on this machine to share the mounted /image folder through NFS. When I add it to the exports ...
2
votes
0answers
1k views

How can I improve performance over SMB/CIFS for an application that has poor write speeds?

I have a third party application that reads several large files and generates a third large file. Its performance is quite good when the generated file is stored on "local storage", i.e. either a ...
2
votes
0answers
323 views

Why do I have to remount an smb share if I want to recreate a directory?

Suppose I have an SMB share mounted somewhere in a Linux filesystem. If I do this (from within the mounted share): rm -rf some-directory mkdir some-directory ls -a some-directory some-directory is ...
1
vote
0answers
26 views

Cifs mount hanging

I have a problem with a mount between a windows server and a linux machine. The share is on the windows machine. From time to time, the windows machine goes nuts and some services fail on it. After a ...
1
vote
0answers
23 views

Difference between Level 1 Oplock and Filter Oplock

As I know, there are 4 types of Opportunistic Locks: Level 1, Level 2, Filter, and Batch. For me, Level 1, Level 2 and Batch Oplock are not so difficult to understand, but I still don't understand ...
1
vote
0answers
73 views

How do audit file permissions changes over CIFS?

I have a few windows file servers but am slowly changing to Freenas/ZFS boxes which are working much better however I can't figure out how to audit when people change permissions to critical folders. ...
1
vote
0answers
21 views

io error on no-match glob within cifs OSX -> debian jessie mount

Using a wildcard/glob (at least * and ?) in bash causes an input/output error when there are no matches on a samaba cifs mount in Debain Jessie 8.2. On other filesystems, the expected No such file ...
1
vote
0answers
99 views

One slow SMB/CIFS share causes slow and laggy network performance to or from fast ones in Windows 7

Windows 7 SP1+ (Ultimate), connected to both local network Samba (latest stable versions) over Gigabit Ethernet, as well as a VPN'ed Samba share that goes out over my ISP link (1200 kbps uplink). All ...
1
vote
0answers
268 views

Powerbroker Open : Cannot automount CIFS share, where is the kerberos ticket?

I am using Powerbroker Open (formerly Likewise Open) to join CentOS 7 machines to a Windows 2012 R2 domain. Login etc. works fine. Now I am trying to use the automatic mount of home directories via ...
1
vote
0answers
72 views

Samba shares don't work when mounted via host names from /etc/hosts

I have /etc/hosts file with this line 10.1.17.123 SAMBAWINSERVER I am trying to mount samba shares referencing server by name in the hosts file. I tried to mount it via regular mount command or ...
1
vote
0answers
294 views

mounting subdirectory with mount.cifs gives permission denied, but gvfs works

On a windows file share we have a user "drone" who is given read write permissions to ONLY access a subfolder "child": /SHARE/parent/child But is not given read/write access to "parent" (however is ...
1
vote
0answers
94 views

Issue with executing net use command through telnet session

When executing net use command for mapping cifs share to windows drive. The drive is available only for that telnet session. But when i am doing it manually the drive is available permanent. ...
1
vote
0answers
114 views

Windows 8.1 with CIFS Share Freezes File Explorer

We have recently migrated all of our network files over to a CIFS share. We have remapped the drives on our computers, but are encountering a very specific problem with several users who have Surface ...
1
vote
0answers
53 views

404 Not Found. File exists (mounted)

First off, I will update this post with any information you may need, but since I have no idea where to begin, I will try to summarize the issue. Please just ask if you want to see something. I'm ...
1
vote
0answers
74 views

Is it safe to delete chunks.chk file while using SDFS?

I setup a temporary storage NAS using various hard drives and random components lying about my workshop. It is running CentOS 7, with a software RAID of 8 500 GB SATA drives connected as spare drives ...
1
vote
0answers
2k views

How to setup/overcome file size limitation/“file too large” error in samba/cifs 2.1 on Synology DS214 with DSM 5

I'm mounting a samba share with some sparse files over cifs with -o username=user,gid=999,uid=999,rw,vers=1.0. The NAS has 3TB capacity and 500 GB free disk space, creating a 4TB sparse file with ...
1
vote
0answers
2k views

Why is my OSX client having so much trouble connecting to our SMB server?

I'm asking this here because I think I'm more likely to find SMB/kerberos experts here than in Ask Different, which seems to be mostly related to OSX client issues. When I first connect to our SMB ...
1
vote
0answers
524 views

Synology cifs mount wont allow execution

I have a synology NAS. I am able to mount a cifs directory fine on linux (tried both centos 6 and Ubuntu 12). I can do everything fine except I can't execute anything on it. If I try tab to complete, ...
1
vote
0answers
409 views

correct samba configuration for write access to group?

I'm trying to reconfigure Samba/CIFS on a CentOS client machine specifically because the current setup requires any users logged into the machine to sudo writes to the samba share. I want to take ...
1
vote
0answers
476 views

CHMOD permission denied on SMB share

I'm mounting an SMB/CIFS share on my CentOS 6.4 server using /etc/fstab as follows: Mount windows share to /mnt/mywebsite //10.1.1.4/mywebsite /mnt/mywebsite cifs ...
1
vote
0answers
575 views

Unable to mount samba share

I'm using CentOS 5 and I'm trying to mount a share, but I continuously receive the same error. mount error: cifs filesystem not supported by the system mount error(19): No such device I have samba ...
1
vote
0answers
245 views

CIFS slashes changed to backslashes after upgrade

I am working on linux server which does its backup via rsync to a cifs-mounted share on an external NAS (D-Link DNS-320). Everything worked fine on opensuse 11.4. After upgrade to opensuse 12.2, the ...
1
vote
0answers
76 views

Permit any user to mount any CIFS share

Essentially, I want the Ubuntu pre-10.10 behaviour back. The setuid method (see notes) does not work anymore. I search a lot on the Internet, but I haven't found a satisfying solution. I have read a ...
1
vote
0answers
82 views

Prioritize One Network Share Over Another And/Or Cap Network Share Traffic? (Windows Server 2008 R2 Enterprise)

One of my fileservers is a hyper v VM running Windows Server 2008 R2 Enterprise. The NIC in the VM maps to a 1 GB NIC on the host that is dedicated just to this VM. I have two shares on the file ...
1
vote
0answers
224 views

Apache serving Samba share leads to poor performance?

This is a question about a problematic interaction between Apache and Samba. Our Linux server (on a private intranet) mounts a Windows share, which is physically thousands of miles away, and serves ...
1
vote
0answers
522 views

FTP from mounted CIFS - Download never ends (continues after 100%)

I have the following situation: I have two servers, one sharing files over CIFS, the other shares files by FTP. The FTP-Server has the CIFS Share mounted, and FTP users can download from this mount. ...
1
vote
0answers
2k views

Windows Server 2008 R2 Shared folders are very slow when uploading files

I have a little problem, I have a server with Windows Server 2008 R2 Enterprise edition with the File Service installed, and a client with Windows 7 Pro. Everything works fine but the file transfert ...
0
votes
0answers
17 views

cifs samba share acces over credential file not working

basicly i'm trying to chance the user and pw to use the credentail file, this is working: mount -t cifs //ip/c$ /mnt/System/ -o username=administrator,password=<pw> umount /mnt/System/ this ...
0
votes
0answers
8 views

mySQL/mariaDB stops to work when CIFS mount is broken

A few weeks ago I switched from CentOS 5.7 to the new installation with 7.1. The system have two functions: apache|php|mysql webpage for our local database gate that allows to use windows exports ...
0
votes
0answers
6 views

Apache write access to a SMB Share

Apache server can follow symlink, i've tested it in the local filesystem and all worked fine. So the problem is in the SMB share. I authorized the user ApacheSLINUX01 to be the one who have the full ...
0
votes
0answers
20 views

Apache won't write in a CIFS drive from himself

I want to connect a virtual SMB drive to a Linux server to let peoples save their files/data in a "cloud". To do this, i'm using wordpress, and now what i have to do is to let the apache User write on ...
0
votes
0answers
28 views

How to identify Access Denied in event ID 5145 : shared object in Win 2012 R2 server

In a Windows 2012 R2 that is serving CIFS folders, how to spot when a file or directory access has been denied? I had activate GPO "Detailed File Share Audit" ID 5145 to both cases 'Success' and ...
0
votes
0answers
29 views

CIFS/SMB file manipulation list

I want to list all operations (for example: read, write, create, remove ...) for file and folder in CIFS/SMB share in Windows Server. But I cannot find any source mention about that. Do you have any ...
0
votes
0answers
17 views

Symbolic link in CIFS/SMB and Samba

As I know, Symbolic links is supported in SMB2. Has Samba implemented this feature yet?. If it is implemented in Samba, is there any difference between symbolic link supported in Windows Server share ...
0
votes
0answers
11 views

remote location mounted with mount.fcifs doesn't show in FTP

I am using Centos 6.6 and I mounted a remote location by this command: mount.cifs -o user=adrian,pass=1234,uid=adrian_site,gid=psacln //server/path /local/path So I specified the user and group, in ...
0
votes
0answers
109 views

Mount a Windows 10 share on an old device, “Host is down” due to old “Called by” field

I have an old device which I would like to mount a share on to transfer a few files from it, it has an old version of busybox on it and runs a small Linux Operating System on it. I would like to ...
0
votes
0answers
131 views

Any way to have wildcards in fstab?

My goal is to allow any user to mount a cifs share to /media/networkshare or even better /media/networkshare/share_* Is there any way to allow wildcards in fstab such that they can do that? I can't ...
0
votes
0answers
78 views

get rid of CIFS temporary files

I have access to a CIFS share which I mount under Debian linux using cifs-utils 6.4. When I access the mounted folders, I sometimes come across files with names of the form "cifs####" where the last ...
0
votes
0answers
292 views

FreeNAS Share Timeout

I'm trying to backup to a Share on FreeNAS with Veeam Endpoint Backup, however after about 20 minutes (was originally 6 minutes until I ran a chkdsk on my MBP's hard drive) I receive the error: ...
0
votes
0answers
162 views

Windows Server 2012 cifs share works under Ubuntu 10.04 but not under 12.04 onwards

I want to mount a cifs share on our Ubuntu Linux machines. This worked fine until the share got migrated from a Windows Server 2008 machine to a Windows Server 2012 one by central administration. ...
0
votes
0answers
127 views

CIFS Input/Output error when executing set attributes

I have a CIFS share. It works perfectly with Windows, but if I want to create a file on the share, using Linux, it returns an I/O error stating that it could not set the attributes: $ touch a.txt ...
0
votes
0answers
45 views

Working example of mount.cifs -o setuids

According to man mount.cifs the option setuids should somehow affect the owner for new files on cifs mount, but there are many contradictory threads on lists.samba.org on this issue. No matter what I ...
0
votes
0answers
36 views

cifs implicit chown to current user

I want to mount a samba share, so it looks completely like a local mount. I added admin users on server so chown works on client. One problem remains: when I access the mount as a non-root user, new ...
0
votes
0answers
560 views

Is it possible to mount CIFS onto Solaris 10 server

I want to mount a SAN CIFS share on a solaris 10 u11 server. I found and info doc from Oracle saying its not supported until Solaris 11. Are there any 3rd party / Freeware tools for Solaris 10 that ...
0
votes
0answers
2k views

Optimal mount options for Windows Server 2012 R2

The Problem I have a directory that is shared by a Windows Server 2012 R2. Some Linux clients (Ubuntu 14.04) mount this share via /etc/fstab: //10.1.1.1/MyShare /mnt/myshare cifs ...
0
votes
0answers
83 views

Output of 'ls' changes every time it runs in CIFS mounted windows share - RHEL 4

I have a RHEL 4 server in our organisation. One windows (2003) share is mounted on the server using CIFS. Output mount shows something like this: //windows.server.fqdn/share on /mnt/shared1 type cifs ...