Blackbox-raspberry
Posts: 9
Joined: Sat Feb 01, 2020 12:58 pm

Network mount dosent work with kernel (Linux TestPi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux

Tue Sep 21, 2021 10:34 am

Issue

When I mount a network share with the command below and the kernel (Linux TestPi 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l GNU/Linux), I can work normally on the drive. (So create folders and files, open and save files).

If I mount this network share with the same command and the kernel (Linux TestPi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux), it looks like I can work there as well. However, every time I do this I get the following error:

Code: Select all

sudo mkdir test7
mkdir: cannot create directory 'test7': No such file or directory
or

Code: Select all

sudo touch test.txt
touch: cannot touch 'test.txt': No such file or directory

Mounting Command

`sudo mount -t cifs -o credentials=/home/pi/.credentials/fritzbox //192.168.111.1/projectbackup/projectbackup/outdoorenclosurePI/ /mnt/backup`

Output from mount

Code: Select all

//192.168.111.1/projektsicherung/projektsicherung/AußengehegePI/ on /mnt/sicherung type cifs (rw,relatime,vers=3.1.1,cache=strict,username=test user,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.111.1,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=65536,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1)
Systems

I tested this issue on a Raspberry Pi 2 and Raspberry Pi 4


Important notice

The only thing I changed during these two points was a kernel update. All other updates were done manually beforehand to avoid any interaction.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4125
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Network mount dosent work with kernel (Linux TestPi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/L

Tue Sep 21, 2021 10:42 am

Closing as a duplicate of https://github.com/raspberrypi/linux/issues/4594.

Please don't cross-post - it just wastes time.

Return to “Raspberry Pi OS”