Questions tagged [cifs]
Questions regarding Common Internet File System. CIFS is a protocol that defines a standard for remote file access, allowing for cross-platform file sharing.
509
questions
1
vote
0
answers
54
views
Kernel 6.8 shows symbolic links as?
is there a known issue with kernel 6.8 not handling symbolic links correctly? I created a brand new Ubuntu Desktop 22.04.4 virtual machine which defaulted to using kernel 6.8 and I see symbolic links ...
1
vote
0
answers
27
views
SMB mount won't follow NTFS symlinks or junctions
I have 2 problems, one old, one new.
I have a linux nas, that I also run a web server on. To share files from my main computer on the internet, I mount a specific folder located on my windows machine ...
0
votes
0
answers
63
views
mounting passwordless SMB share results in permission denied error
Here's what I did:
mkdir /mnt/shared
mount -v -t cifs //192.168.1.128/shared /mnt/shared
When I do that I'm prompted for a password. When I just hit enter (since the share I'm trying to connect to is ...
1
vote
0
answers
195
views
CIFS mount from Windows fileshare is very slow, how to improve performance?
Setup
I have two different Ubuntu VMs (in different locations), that each mount a fileshare (so there are also two fileshares) located on dedicated Windows VMs using CIFS. I have roughly followed this ...
0
votes
1
answer
51
views
Only one CIFS share is auto-mounted
I have the following two mounts listed in my /etc/fstab
//192.168.10.1/StashNas /mnt/stashnas cifs uid=sam,gid=sam,credentials=/etc/stashnas.credentials 0 0
//192.168.10.1/StashSam /mnt/stashsam cifs ...
1
vote
0
answers
192
views
Error on mountig Windows 11 share on Ubuntu Server (or Desktop) 24.04
I am trying to mount a Windows 11 share on Ubuntu Linux, version 24.04, both desktop and server edition, with no success.
I tried the following command:
mount -t cifs -o user=guest,password= //host/...
0
votes
1
answer
129
views
can't copy a file over cifs
I'm experiencing an issue with my SMB / CIFS over NAS QNAP setup:
//qnap.local/folder_x on /media/folder_x type cifs (rw,nosuid,nodev,noexec,relatime,vers=2.0,cache=strict,username=admin,uid=1000,...
0
votes
0
answers
40
views
file select browser can't access CIFS volume, apparmor or snap problem?
I'm running kubuntu 22.04 and I just installed a new program (czkawka) via snap that I'm using to find and remove duplicate images in my photo library. My libraries are stored on some NAS volumes ...
1
vote
1
answer
104
views
Copy on CIFS folder create 0 byte file
i'm trying to mount a CIFS folder on my Ubuntu 22.04 - 6.5.0-28-generic machine.
The folder is on our company Windows Domain Controller, is mounted on several other Windows VMs and is working ...
0
votes
0
answers
185
views
`mount -t cifs NAS` returns "mount error(2): No such file or directory"
I'm trying to mount a NAS in VS Code server with this command:
mount -t cifs //NAS_ip/dir1 /nas -o rw,file_mode=0777,dir_mode=0777,credentials=/config/cred,uid=
(id − u), gid =(id -g),vers=3.0
and I'...
0
votes
2
answers
152
views
How to execute scripts from a samba drive (cifs mounted)?
If I'm starting a shell script "test.sh" from a samba share, I've got an error:
bash: ./test.sh: /bin/sh: Defekter Interpreter: Eingabe-/Ausgabefehler
(bash: ./test.sh: /bin/sh: bad ...
1
vote
1
answer
151
views
Duplicate (copy/paste) file in nautilus on samba share hangs
I am on Ubuntu 22.04.4 LTS. I have a samba/cifs share to my NAS mounted in fstab.
It was never a problem to duplicate (copy/paste) a file on that share in Nautilus. Since a few days, however, nautilus ...
1
vote
1
answer
521
views
What happened with CIFS / SAMBA connections on Kernel 5.15.0-102-generic?
While I can 'ls' and 'mount' SMB/CIFS shares I can't in turn mount those directories to docker containers, it leads to:
Error: statfs /mnt/images: resource temporarily unavailable
exit code: 125
...
-1
votes
1
answer
231
views
unresponding cp between two remote cifs share, both on the same distant machine
I have 2 cifs remote share in /etc/fstab on xubuntu machine
//192.168.1.2/THOMAS /media/THOMAS cifs credentials=/root/.smbcredentials,_netdev,iocharset=utf8,vers=2.0,nofail,cache=none,uid=1000,...
2
votes
3
answers
510
views
Samba connection issues after the new 6.5.0-27-generic kernel update
All the systems that are facing the following issue are running Xubuntu 22.04.4 LTS.
I am using the following command to connect to samba shares:
sudo mount.cifs //192.168.../shareName mountPath -o rw,...
2
votes
2
answers
3k
views
CIFS on 22.04 LTS - has something changed between kernel 5.15.0-101-generic and 5.15.0-102-generic?
I have an Ubuntu 22.04 client connected via CIFS to an Ubuntu 22.04 server.
The mounts are done via an fstab entry similar to:
//machine.fqdn/sharename /mnt/some.directory cifs rw,credentials=/root/...
2
votes
1
answer
279
views
Drag and drop to my NAS
I'm running ubuntu Ubuntu 23.10.
I've created a NAS using OpenMediaVault v7 on a raspberry pi, creating a SMB/CIFS share.
I've permanently mounted the SMB share using fstab and it works wonderfully. ...
1
vote
0
answers
111
views
aufofs fail to mount cifs shares on Ubuntu 22.04
I followed the instructions to mount my cifs shares via autofs (https://wiki.ubuntuusers.de/Autofs/) but unfortunately, autofs doesn't any of them.
/etc/auto.master looks as following
#
# Sample auto....
0
votes
1
answer
125
views
Ubuntu network mounts intermittently stop working
As the title says, some of the mounts work all the time, and some I need to do a restart for them to work. They always show they're mounted on my GUI but they do not work. Like I said, a restart ...
0
votes
0
answers
65
views
Support for go file watchers with directly mounted CIFS shares
I am currently working with cifs-utils to manage CIFS shares in a Unix environment, specifically within Docker containers (ubuntu docker host). I am exploring the possibility of integrating a file ...
0
votes
1
answer
254
views
Cannot mout old NAS on Ubuntu 22.04
I have an old NAS, a Synology CS407, which I want to mount on my Ubuntu server running Ubuntu 22.04.3 LTS.
However, I cannot succeed in mounting it.
I have tried mounting it with NFS and SMB/CIFS, but ...
1
vote
1
answer
669
views
Very high system load on Ubuntu 22.04, probably related to mounting Samba/CIFS shares and kernel 6.5.0-15, why? Problems started in January 2024
The short version: I have a very high system load (load is 17 with 4 CPUs), and cannot pinpoint the reason, on a 22.04.3 system with kernel 6.5.0-15-generic. But it appears to be related to the number ...
0
votes
2
answers
2k
views
CIFS Mount fail - mount:bad usage or mount.cifs: bad UNC (/192.168.68.57/TrueNAS)
I’m a newb, but here I go. I’m running Ubuntu Server 23.10 and I have been trying to mount a NAS to it for days. Right up front I should mention that I have GNOME desktop installed and I can see as ...
1
vote
1
answer
960
views
mount cifs fails but accessing it via File Manager works
I have a NAS (a Western Digital "My Book"). I connected it to my TP-Link Router via USB.
It shows up in the TP-Link Router GUI no problem.
On my Ubuntu 20.04, I connected to it using the ...
1
vote
1
answer
1k
views
Mount error(22): Invalid argument
I'm new to Ubuntu and I'm having some problems mounting a NAS with CIFS
I've been searching the forums for 3 days now to find a solution that could help me.
Here is what I tested :
The command I am ...
0
votes
0
answers
35
views
mount windows smb to ubuntu server at boot [duplicate]
mount smb with user write/read, via cifs at boot, after network.
sudo mount -t cifs -o username=USER,password=PASS //ADDRESS/SHARE /PATH/TO/DIRECTORY/ _netdev
Can I add this to etc/fstab? Where do I ...
0
votes
1
answer
549
views
fstab mount no longer working
I have an ubuntu share that I use infrequently. The last time I used it was about 11 months ago. At the time it worked. I tried searching a solution but I could not find a solution.
I have the ...
-1
votes
1
answer
263
views
CIFS Windows 10 mount is read only
I am running Ubuntu 22.04.3 LTS trying to mount (CIFS/Samba) an NTFS drive on Windows 10 Pro Version 22H2 (OS Build 19045.3693). I actually have it working on one of the Windows drives, but have run ...
0
votes
2
answers
140
views
How do I get cifs mounts to not have all the files owned by root?
I have researched this problem and found advise to use the uid argument, but it is not helping.
/etc/fstab:
//192.168.0.234/Backups /home/mark/Backups cifs vers=3.0,credentials=/root/.smbCredentials ...
1
vote
1
answer
613
views
How to mount a Windows folder on AWS Ubuntu 22.04
We have just upgraded our server from Ubuntu 18.04 to 22.04. We can no longer mount our WinFS machine. All machines are hosted on AWS.
~$ sudo mount -a
mount error: cifs filesystem not supported by ...
0
votes
1
answer
797
views
Mount worked in 23.04, fails in 23.10
Did a complete wipe and fresh install going from 23.04 to 23.10.1 This shell scripted worked in 23.04
sudo mount -t cifs -o user=larry,pass=xxx,uid=1000,gid=1000 //10.0.0.21/Movies /smb/Helios4/...
0
votes
1
answer
1k
views
CIFS mounts broken after update from 23.04 to 23.10
For some weird reason my CIFS mounts have failed following the recent upgrade from ubuntu 23.04 to 23.10
Here's my /etc/fstab file...
//192.168.0.6/Backup /media/backup cifs rw,credentials=...
0
votes
0
answers
155
views
How do I set the permissions of a samba share I mount via GNOME GUI?
When I mount a samba share on my NAS via the Gnome UI, it creates a folder named 'smb-share:server=192.168.1.1,share=data' in the /run/user/1000/gvfs folder.
The permission of this folder are ...
0
votes
0
answers
124
views
Can no longer mount a DLINK DNS-323 NAS drive on Ubuntu 20.04
I have a problem where once I was able to simply mount a NAS drive either in using fstab or standalone. I am able to do this on Windows with no issues, but can not on Linux.
Furthermore, I have tried ...
1
vote
1
answer
2k
views
CIFS File system is not working
I am trying to mount CIFS system. Using command line, I can mount filesystem, but using fstab file, its not getting mounted getting. See below error, so please suggest on this:
[4419376.493828] CIFS ...
1
vote
0
answers
943
views
Cifs mounting doesnt work
pretty complicated problem, i did what i can and i also had a more versed person look at it but doesnt seem to bair any fruits.
On both machines we cannot mount our network share with cifs, on other ...
1
vote
1
answer
1k
views
mounting a cifs share for writing
I think I'm missing something obvious
I have a NAS (WD MyCloud Home). I can read and write to it from windows with no issues
I can mount it in ubuntu server using this command:
sudo mount -t cifs -o ...
1
vote
1
answer
990
views
Ubuntu 22.04: mount.cifs stopped working with vers=1.0,sec=ntlmv2 after upgrades
I used to mount an old NAS (QNAP TS-101) via /etc/fstab as cifs with the options vers=1.0,sec=ntlmv2 (these were the only options working for this network disk with Ubuntu 22.04 LTS). However, after ...
0
votes
1
answer
1k
views
How to debug failing CIFS connection?
Connection to Samba share fails with one specific ubuntu instance/device alone - any ideas what i could check on top would be highly welcome.
sudo dmesg:
[ 1214.845174] CIFS: Attempting to ...
1
vote
1
answer
467
views
Mounting a Wester Digital MyBook returns mount error(22): invalid argument
I tried mounting my WD MyBook like this:
sudo mount.cifs //192.168.x.x /mnt -o guest
But I get the error:
mount error(22): Invalid argument
I tried the usual mount commands but eventually this ...
0
votes
0
answers
1k
views
Unable to Mount CIFS Share at Boot Using /etc/fstab - Permission Denied
I am facing an issue with mounting a CIFS share at system startup using /etc/fstab. Here's what I have done so far:
I can successfully mount the CIFS share manually using the following command:
sudo ...
1
vote
1
answer
1k
views
Can't connect to smb 1.0
I am a newbie Kubuntu 22.04 x64 user.
I have kernel version: Linux 6.2.0-31-generic x86_64.
I have 2 houses, and i installed on both PCs the same OS version (same ISO):
a) PC Desktop + NAS running ...
5
votes
1
answer
760
views
Diagnosing / Troubleshooting SMB mount
Ubuntu 22.04: A Synology NAS SMB mount tested good with a Mac. A list of Samba share returned by MacOS Finder:
I would like to mount the SMB share:
sudo mount -t cifs //192.168.8.109/home -o ...
0
votes
0
answers
1k
views
Connecting to SMB 1.0 File Share
Running Ubuntu 22.04.3 LTS
After this mornings update, I can no longer connect to an SMB 1.0 server (server is running Samba 3.4.7 on Ubuntu 10.04.4 LTS).
The update was from Samba 2:4.15.13+dfsg-...
0
votes
0
answers
86
views
Problem mounting a large shared folder
I have a NAS and one Ubuntu on a VPS.I use Tailscale to make the connection between my NAS and the VPS, link is OK using this command :
sudo mount -o user=USER,file_mode=0777,dir_mode=0777 //100.95.78....
0
votes
0
answers
67
views
Mount CIFS doesn't work after reboot but will work from command line [duplicate]
In /etc/fstab I have the following
//10.10.1.191/TVENALL /mnt/medias/tv/TVENALL cifs auto,defaults,nofail,vers=3.0,credentials=/etc/plex.cred,uid=master 0 0
In journalctl -b I see the following
Aug ...
2
votes
0
answers
195
views
cifs mount gone after reboot laptop
I've got a cifs share to a laptop mounted in /etc/fstab. This is ubuntu 20.4.
//lt2345/share /mnt/test/lt12345 cifs _netdev,noserverino,nocase,rw,cred=/etc/cifspasswd,vers=3.11 0 0
it works fine ...
0
votes
1
answer
1k
views
network drives not getting mounted after reboot
we have a ubuntu 22.04 server.
we are mounting network drives from a windows server. The drives are mounted correctly but don't get mounted back when we reboot the Ubuntu server.
below are the ...
0
votes
0
answers
203
views
CIFS mount not on showing correct owner
I have a CIFS mount on Ubuntu 20.04.6 LTS. getcifsacl shows the correct domain user as owner but not getfacl shows unix root user as owner.
Not sure what i am missing.
wbinfo -t
wbinfo -n
wbinfo -S ...
1
vote
1
answer
3k
views
mounting cifs gives error 115 but can ping and smbclient connects
I have a SMB fileshare that used to connect to a Ubuntu 20.04 LTS workstation but something in the local network config has changed and now I get mount error(115): Operation now in progress error. ...