Questions tagged [cifs]

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.

429 questions
1
vote
0 answers

Kill a hanging sync from a cifs drive

I copied a file to a cifs drive and instinctively ran a sync on it, which hung indefinitely. Strangely, I could successfully unmount/remount the drive without issues, making me think that the drive simply didn't respond to the sync call properly. It…
1
vote
1 answer

SMB share in LAN with remote back-up

I would like to know if it somehow is possible to have a SMB share point towards the LAN NAS but when connecting to the share from an offsite location, it would use the backup remote share that is hosted e.g. on Azure instead. In the background I…
aardbol
  • 1,473
  • 4
  • 17
  • 26
1
vote
0 answers

The command "mv test_file TEST_FILE" fails with "mv: ‘test_file’ and ‘TEST_FILE’ are the same file" in a CIFS filesystem

I have a CIFS filesystem mounted in an Oracle Linux 7 server: //win-server/shared-folder on /data1/shared_folder type cifs…
1
vote
0 answers

Permissions per folder in samba share

I need to create a public share where there is a folder public and folder user such as everyone (including guests) have full access to public and for user only the specific user has full access but everyone else have Read and Execute…
Adam Katav
  • 111
  • 2
1
vote
0 answers

Converting a file server and Windows File Share to CIFS based share using Netapp Filer

My customer wants to decommission their old Windows Server 2008 file servers. The file shares contain lots of user home folders, group drive and data, application data etc. I would like to implement CIFS based solution using Netapp Filer and…
1
vote
0 answers

Sharing mounted CIFS filesystem with samba to macOS users

I have a CIFS filesystem which I am trying to share over samba with macOS users. I can't directly connect to the original samba share which I'm mounting as the CIFS fs on the server as I have to change samba configs and I don't have access to the…
Ybrin
  • 111
  • 1
1
vote
1 answer

Debugging slow ls on cifs mount strace makes it fast

I've got a server that has a cifs share (Azure storage files) mounted. Sometimes ls is returning slowly (20seconds). After debugging a bit I've so far found that: doing ls /data/some/symlink/directory return in 20 seconds going into the…
olle
  • 151
  • 6
1
vote
1 answer

Are Kerberos service tickets cached by mount.cifs or kernel?

When mounting a CIFS share using krbr5i and destroying my Kerberos tickets with kdestroy afterwards its still possible to mount other shares on the same server. How is this possible? Doesn't mount.cifs have to send the service ticket to the sharing…
sahisb
  • 31
  • 5
1
vote
0 answers

Network Share slow during high use but it's not as simple as it seems at first

We have half a dozen or so Windows 2008R2 boxes sending SQL backup files to a dump share on a 2008R2 file server over the weekend. There is a dedicated nic on the file server for this operation and separate primary nic just for regular file server…
Steve A
  • 11
  • 3
1
vote
0 answers

Cron job not deleting files in cifs mount

I have a cron job that runs a shell script. The contents of the shell script is as follows: #!/bin/bash cd sudo service confluence stop NOW=$(date +"%Y%m%d-%H%M%S") mkdir Backup/db mkdir Backup/data chmod 777 Backup/data/ sudo -u postgres pg_dump…
1
vote
0 answers

Cannot connect to SMB shares when network location is "Domain Netowork" Windows 2008 R2

PROBLEM: Access to the shares work when the network is "Public Network" or "Private Network" but not when it is "Domain Network". QUESTION: What different things change with the Network Location type, aside from firewall settings? BACKGROUND: I have…
HackSlash
  • 332
  • 4
  • 16
1
vote
1 answer

No dialect specified on mount error, where to set vers=1.0 with autofs/Fedora 26, Drobo FS

We are using Fedora 26 with the 4.13.9 kernel and NIS, and I'm aware of the issue where the default CIFS/Samba version is now 3.0. However we use an older Drobo FS which their support says only works with SMB version 1.0. We do not put the Drobo in…
RobbieTheK
  • 400
  • 6
  • 18
1
vote
1 answer

rsync: how to handle backup to CIFS volume

I am backing up data from a GNU/Linux system to a CIFS mount. There are clear limitations to this, such as characters in filenames (eg. colons (:)) and symlinks not being supported by the destination Windows file system. Rsync backup proceeds well…
Vince
  • 371
  • 5
  • 17
1
vote
3 answers

Older CIFS can not mount shares from Samba-4 server

I have a media-player, which used to connect to my main computer running Samba without a problem. It is running an old version of embedded Linux (kernel 2.6.22.19-27) and has CIFS. At some point, after I upgraded Samba software on the server…
Mikhail T.
  • 2,338
  • 1
  • 24
  • 55
1
vote
0 answers

Samba share not mounting on Linux CLI client (works on GUI)

I configured Samba server in RHEL 7.3 with following: mkdir /samba-share with chmod 777 /samba-share firewall and selinux is stoped. Configuration: [global] workgroup=MYGRP security= user passdb backend=…
anil
  • 15
  • 6