Skip to main content

Questions tagged [cifs]

CIFS is a virtual file system in use by samba, and Windows servers to share files between different system.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

Horrible performance when downloading from CIFS mounted drive

I have recently wanted to mount a remote CIFS drive. But i have run into one major issue. The speeds are amazing. Uploading is about 220Mbit/s.. However, downloading has speeds of 5Mbit/s.. Which is ...
DEPSTRCZ's user avatar
0 votes
2 answers
38 views

MySQL binlogs on cifs share getting OS errno 13 - Permission denied

I am creating a Rocky Linux 9 server to replace a CentOS 7 server. The original CentOS 7 server mounts a Windows shared directory where it stores the binlogs. When I try to duplicate this for the ...
SMich's user avatar
  • 1
0 votes
0 answers
23 views

Nas storage temporary file errors

We have a NAS storage used for file sharing linux+windows. This is old server, but it supports Samba dialect of 3.0 and we use it. This is the relevant line in /etc/fstsb: //nas1/Work /nas1/Work cifs ...
Alon Lanyado's user avatar
0 votes
0 answers
30 views

CIFS mount: Permissions and Ownership Changes

I have a CIFS mount for an application data. As part of the setup process, the application needs to be able to change the permissions and ownership of the folders within the mount. I currently have ...
Felix Jen's user avatar
  • 101
1 vote
1 answer
49 views

Discrepancy between "df" and "du" on a CIFS network drive

When I run df -H, my network mount reports 100% usage: user@system:/mnt/backup$ df -H Filesystem Size Used Avail Use% Mounted on ... //192.168.71.2/Linux-Database-...
widavies's user avatar
  • 113
0 votes
0 answers
40 views

CIFS Share not responding while writing a file

We have mounted a NetApp share in SUSE Linux 15 SPS 04. We can read/list the files in the share without any issues but the moment we try writing a file, it hangs/does not respond. Even we can't list ...
bala karthik's user avatar
0 votes
0 answers
63 views

Proper command for mounting Synology NAS on Ubuntu Linux via terminal

I have a Synology NAS DS223j that I need to access via an Ubuntu PC. Is this the correct way to mount a Synology NAS in Ubuntu Linux in the terminal? sudo mount -v -t cifs //192.168.0.96/$MOUNTFOLDER /...
Entropy1024's user avatar
1 vote
0 answers
65 views

Cannot touch a specific filename, but also cannot remove it [closed]

I'm using a linux terminal on a mounted drive which (according to df -Th ) is of type "cifs"; let's say I'm in directory /dir/. I created a file file_1. Then I deleted it, and now I want to ...
Jabber1's user avatar
  • 119
0 votes
0 answers
15 views

Mount distant volume at startup with $ in the distant volume path

I can mount a distant volume using: sudo mount -t cifs -o username=username,domain=domain '//nasaddress/home$' /mnt/point I would now like to mount the volume at startup so that is shows up in the ...
Liris's user avatar
  • 101
0 votes
1 answer
126 views

Rsync throwing errors but files appear to be fine

I am doing a massive 200TB transfer with rsync. I used a shell script I found off the internet to spawn a few processes but here is the relevant rsync command itself: rsync --recursive \ ...
john cs's user avatar
  • 164
0 votes
0 answers
101 views

CIFS mount share with IPv6 link-local address on Ubuntu

I'm trying to mount a Windows share on a headless Linux computer with the following systemd unit file: [Unit] Description=mount network drive from harvester OBC Requires=network-online.target ...
Joooeey's user avatar
  • 123
1 vote
1 answer
184 views

Any way to enable user_xattr on tmpfs?

I am trying to cache CIFS share files on a ramdisk with cachefilesd, however cachefilesd requires the cache directory filesystem to support user_xattr. tmpfs does not by default. Is there any way to ...
kataba's user avatar
  • 11
0 votes
0 answers
101 views

Debian Linux error on logoff because cifs

I try to avoid the cifs_put_smb_ses: Session Logoff failure rc=-512 error on logoff which came up after about 30 seconds. If I umount the share manually before shutdown, the error does not appear. ...
Marlowe's user avatar
  • 101
0 votes
1 answer
107 views

How does nginx work with accessing files on mounted SAMBA/CIFS share?

I have a server running nginx as a web server for video streaming and am considering using an external CIFS/SMB storage share mounted to the server. As the server would need to download and upload for ...
kataba's user avatar
  • 11
2 votes
3 answers
813 views

How to auto-mount CIFS share if the server is only ready later?

I have two servers on my home network: A Linux server. (Currently running Debian with systemd, but I don't think there is anything Debian-specific here.) A NAS server. (Network Attached Storage.) ...
Denilson Sá Maia's user avatar
1 vote
1 answer
2k views

modprobe: FATAL: Module cifs not found in directory (Wrong version)

Running Ubuntu 22 in a Windows VM. Trying to give it access to a shared folder on my windows drive. mount -t cifs -o username=user '//ip/folder' /folder_on_ubuntu mount error: cifs filesystem not ...
HarryH's user avatar
  • 21
0 votes
0 answers
91 views

qBittorrent to CIFS share strange write spikes

This will probably get deleted, but I don't know how to write this without going on for paragraphs. I am having huge trouble trying to get qBittorrent to play nice with my new NAS (Synology DS1511+) ...
dhenry437's user avatar
0 votes
0 answers
43 views

How to symlink with cifs ext3 disk? Permission denied

$ sudo ln -s ~/somefile /media/fritz fails with Permission denied. I'm perfectly able to $ touch /media/fritz/foo.txt /etc/fstab/: //fritz.box/FRITZ.NAS/ /media/fritz cifs credentials=/home/me/....
jjk's user avatar
  • 411
0 votes
0 answers
250 views

mount folder directly to subdirectory of cifs share - RHEL 9

I have a cifs share that is currently mounted on serverA (in fstab - RHEL7) as: //<servername>/SHARE/folder /cifshared cifs credentials=<path to creds file> This works fine on ServerA. I ...
Andi's user avatar
  • 51
0 votes
1 answer
394 views

Permission Denied CIFS. Tried everything I can think of

//192.168.1.64/d /media/d cifs credentials=/home/nick/.smbcredentials,uid=nick,gid=media,file_mode=0777,dir_mode=0777,nofail,user 0 0 Here's my ls- l of the share once mounted: drwxrwxrwx 2 nick ...
Nick's user avatar
  • 3
1 vote
1 answer
364 views

Autofs with CIFS for home directories not really working

I'm having a bit of grief trying to get home directories that are automounted from a CIFS share working. In auto.master I have added the line /home/ /etc/auto.home and in /etc/auto.home I have * -...
BumpySiren's user avatar
1 vote
2 answers
3k views

Rocky Linux 9 can't mount share because CIFS is a dummy module

I have tried to mount an SMB share using cifs with this command: sudo mount.cifs -o vers=3.0,uid=user,credentials=/home/user/credentials,file_mode=0644,dir_mode=0755 //path/to/share /mnt/share And I ...
Noft's user avatar
  • 105
0 votes
0 answers
67 views

NAS starts to slow for mounting via fstab

To save energy, the NAS is shut down at night, and is started again by the first booting computer via WakeOnLan. After that, shares should be mounted by the computer. Unfortunately, the NAS is taking ...
Residuum's user avatar
  • 1,076
3 votes
1 answer
280 views

Horrible wget download speed to CIFS mount; local download and cp to share is fine

I'm having a horrible wget download speed to a CIFS share. This is the speed of wget download directly to the share: d64-18ef-43d5-b295- 2%[ ] 100.18M 11.7MB/s eta 6m 2s This ...
Janne Paalijarvi's user avatar
0 votes
1 answer
4k views

mount.cifs permission denied

I failed to mount a network drive and got mount.cifs permission denied $ nano ~/.smbcredentials username=xxx password=CwF $ sudo nano /etc/fstab //192.168.1.4/xxx /home/pi/mycloud cifs credentials=/...
user3523406's user avatar
0 votes
0 answers
390 views

CIFS with WD NAS

I use a My Cloud Home Duo from WD. Rather than using the web interface I would like to use CIFS under Linux. I tried the following commands based on: sudo mount -t cifs //192.168.1.3/Public ~/mycloud ...
user3523406's user avatar
1 vote
0 answers
602 views

Mount smb3 folder with SmbServerNameHardeningLevel=2

TLDR: Is the mount.smb3 command compatible with Windows endpoints with the policy SmbServerNameHardeningLevel set to 2? How can I make it work? Description of the error: I am on Ubuntu Desktop 22.04....
Jorge Yanes Diez's user avatar
0 votes
1 answer
199 views

/etc/fstab syntax incompatible between auto-mount and manual mount of CIFS

When I use this fstab syntax: # grep raven /etc/fstab \\raven.example.com\raven /raven cifs vers=2.0,credentials=/root/creds_smb_raven,\ uid=5000,gid=6000,file_mode=0664,dir_mode=...
Jim L.'s user avatar
  • 8,192
0 votes
1 answer
89 views

Running a script from CIFS mount point location

I have a shell script located in Windows file share. The file share is mounted on a Linux VM via CIFS mount point. Now, if I execute the shell script from the Linux VM, where will this script actually ...
Pritam Guha's user avatar
0 votes
1 answer
71 views

cifs mount oddity: adds directory with the name of the share?

I am trying to mount a samba share on Ubuntu using cifs (either by an fstab entry or by just using the mount command). My share is //hostname/data My mountpoint is /mnt/project1 I mount using sudo ...
jpp1's user avatar
  • 101
0 votes
0 answers
1k views

How to fix persistent "stale file handle" for mounted network attached storage

I have a Linux server running Ubuntu that I am trying to have our network attached storage drive successfully set up on. I'm able to mount it fine, but the issue is that within a few hours the folder ...
user3037237's user avatar
2 votes
0 answers
95 views

Transparently fallback writing to local disk when CIFS mount is down?

I have a CIFS share that is recording data 24/7 and would like files written to it to be saved locally if the network goes down and the share hangs. Is there any way to do this? I don't have the ...
Ian Smith's user avatar
0 votes
0 answers
187 views

How to add or modify systemd mount targets/conditions in unit file

I've got a .mount file that I globbed together as /etc/systemd/system/opt-hass-config.mount [Unit] Description=Mount the config dir of hass.mydomain.com [Mount] What=//[IP ADDRESS]/config Where=/opt/...
HilarieAK's user avatar
  • 101
2 votes
1 answer
491 views

cifs multiuser mount works at first, but "Permission denied" after a while

I have several Samba shares hosted on a TrueNAS-Scale server, and mount them with the "multiuser" option from an Arch Linux machine. After cifscreds add as my user, I can access the share, ...
twisteroid ambassador's user avatar
2 votes
0 answers
1k views

How can I mount a cifs share as a volume from a rootless podman container?

Say I create a named volume podman volume create --opt type=cifs --opt o=async --opt device=//mynas.lan/steamcache steamcache According to podman volume inspect, this volume's mountpoint is /home/me/....
Krateng's user avatar
  • 163
1 vote
1 answer
632 views

Issue mounting a network drive using fstab

I'm having a bit of a mare at the moment: I recently rebooted my host server, any my Ubuntu server 20.04 server was unable to mount a network drive again. I had a small issue where the systemd-...
fbarker92's user avatar
1 vote
1 answer
590 views

Opening a file with O_WRONLY flag but without write permissions

I've noticed that it's possible to open(...) a file with O_CREAT|O_WRONLY flags, but with 0400 mode (that is without w), then write data to the file and close it. This is somewhat contradictory to me, ...
aioobe's user avatar
  • 384
4 votes
0 answers
2k views

How can I troubleshoot a CIFS mount that breaks after 15 minutes?

Context I mount two Samba shares in a large corporate network (e.g. share A and B) on a machine with Ubuntu 20.04.5 LTS. Both mounts start out fine, but share B stops working after some time. This is ...
Saaru Lindestøkke's user avatar
1 vote
1 answer
2k views

Can't change ownership of cifs mounted Samba Share

In my Home Lab, I have an Ubuntu 20.04 Server and a Raspberry Pi as a VPN. I have two separate Samba shares on both machines. What I'm trying to do is mounting the Samba share on the Ubuntu server to ...
Emre Talha's user avatar
2 votes
1 answer
413 views

Strange permissions issue krb/windows domain/synology: within existing subfolders all access is denied

There are three machines in a network for this minimal example. A windows server acts as a domain (with everything that involves), a Synology NAS that's used to store some data and backups, and a ...
aphid's user avatar
  • 189
0 votes
1 answer
385 views

Linux Share Permission Error 13 When Mounting Share Remotely

Running a pc with Linux Mint 20.1 and Fedora 34, a share from the Linux Mint machine could be accessed on the Fedora machine. After updating Fedora to 35, share ceased being accessible from the Fedora ...
GreatMagusKyros's user avatar
1 vote
0 answers
564 views

Using server-side copy on a SMB share

According to the SMB docs server-side copy should work on recent versions of SMB via cp --reflink When trying this with a server running smbd 4.15 (via crazy-max/docker-samba) and a share mounted with ...
frsc's user avatar
  • 111
0 votes
0 answers
596 views

NAS issues with SMB/CIFS; how to 'see' client-server messaging?

I have a new Synology NAS (DS1621+), and have begun integration into my home network. I'm having some problems using it with my Linux hosts. I can mount the NAS, but the permissions (as seen from ...
Seamus's user avatar
  • 3,087
0 votes
1 answer
4k views

smbclient works but mount.cifs doesn't (NT_STATUS_MORE_PROCESSING_REQUIRED)

I am attempting to access a file share on an old machine which uses SMBv1. This is a remote machine which I do not have physical access to, but I believe it runs Windows XP. I can access it fine using ...
SystemParadox's user avatar
1 vote
0 answers
2k views

Mounting cifs drive gives: mount error(22): Invalid argument

I'm trying to run: mount -t cifs //192.168.56.24/cifsnetapp_share /cifs -o credentials=/root/secrets/secrets,gid=5103,_netdev However I keep on getting the following error: mount error(22): Invalid ...
Omprakash Prajapati's user avatar
0 votes
1 answer
2k views

Unable Mount Shared Windows Server Drive in Ubuntu 18.04

I am attempting to mount a shared drive located on a 2019 windows server(192.168.1.180) to my linux machine(Ubuntu 18.04). I've updated my fstab as you can see below and created a new directory for ...
dakota_man's user avatar
1 vote
1 answer
314 views

How does CIFS work when opening a file?

After I mount a network drive using mount -t cifs ... /mnt ... on /mnt directory on a linux machine, how exactly does the system read files from it? Is it opened as a stream whenever an app requests ...
donaastor's user avatar
  • 214
0 votes
1 answer
1k views

Boot customized Ubuntu image over PXE via Serva encounter Kernel panic

Background I made an Ubuntu 20.04 "customized" img via dd command from a USB disk drive. I use Serva as PXE server following Serva tutorial. The official Ubuntu 20.04.4 ISO PXE boots ...
laudai's user avatar
  • 35
0 votes
0 answers
4k views

mount error(13): Permission denied on GNU/Linux

I need help with mounting a Windows shared drive on Linux. I tried searching for the solution on Google and on this site, but unable to find one. I verified the user is having access to the shared ...
user avatar
2 votes
1 answer
1k views

Kubuntu 20.04.4 LTS cannot mount domain samba shares (either from terminal or fstab)

I have been trying to mount a simple share. All domain users should have read permissions. Kubuntu was configured for domain, I can see domain and log in with domain user. When I access shares with ...
pormulsys's user avatar
  • 145

1
2 3 4 5
9