You are not logged in.

#1 2017-01-29 09:19:52

Vizitor
Member
Registered: 2015-01-05
Posts: 82

[SOLVED] Strange CIFS 'copy-FROM-nas_volume-to-computer' issue

Hi,
I really don't know where to put this, so I'll put it on newbie corner;
After recent update:

 ca-certificates-mozilla-3.28.1-1  gnupg-2.1.18-1  gtk-update-icon-cache-3.22.7-2  gtk3-3.22.7-2  kbd-2.0.4-1 libcanberra-0.30-8  libproxy-0.4.13-2  linux-4.9.6-1  linux-firmware-20161222.4b9559f-2  lxappearance-0.6.3-1  nss-3.28.1-1  nvidia-375.26-6  openssl-1.0.2.k-1 pango-1.40.3-2  python-setuptools-1:34.0.3-1  re2-20170101-1  rest-0.8.0-2 xfsprogs-4.9.0-1 

there is this very strange issue:
if I mount NAS Volume with cifs

sudo mount -t cifs //192.168.1.5/Volume_1 /mnt/nas2v1 -o guest,sec=ntlm

From pcmanfm, I can access every file on that cifs mounted NAS Volume (play, read, rename, delete, copy-from-computer-to-NAS), but can't copy-FROM-NAS-to-computer any file to my computer from pcmanfm, neither by drag-and-drop or by copy/paste. There is little popup window "Copying Files" with "File operation in progress" "Preparing..." and nothing is happening. If pcmanfm is started from terminal - there is no any error output, popup window just staying there, and nothing happens.
Same thing is also if I run pcmanfm as root.

However, if I use cp command from console (with same cifs mount) then copying works ok.
Also, if I mount NAS Volume in pcmanfm by "smb://192.168.1.5/Volume_1", then copying TO computer works ok
(of course I dismount cifs-mounted volume before mounting by smb - and vice-versa)

I tryed pcmanfm-gtk3, pcmanfm-qt and caja, but problem persist there too.

Reason why I am using cifs mount is:
- /var/cache/pacman/pkg is linked to folder on that NAS Volume, so several arch linux computers do not have to download from internet when updating/upgrading;
- (With smb mount used, I can't link /var/cache/pacman/pkg to /run/user/1000/gvfs/smb-share:server=192.168.1.5,share=volume_1 )
- Opening document on NAS with openoffice works ONLY if volume is cifs mounted; I can't open any.odt document from NAS Volume if it is mounted in filemanager by "smb://192.168.1.5/Volume_1"

System specs: 4.9.6-1-ARCH x86_64 with fluxbox (AMD athlon II X2 - 3.4G; nvidia GTX970; 8GB RAM)
without: firewalls, NetworkManager, samba, multilibs ;
with: smbclient and empty /etc/samba/smb.conf file created by (if I remember) recommendation for CUPS to work with smb shared printer

If I revert system to state before this recent upgrade mentioned before, then copying-FROM-nas_volume-to-computer works ok.
Is it something with upgrade from kernel 4.8.x to 4.9.6-1 ? I don't have knowledge to go on that.

[Edit] : SOLVED

Last edited by Vizitor (2017-05-30 08:32:21)

Offline

#2 2017-01-29 09:40:10

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [SOLVED] Strange CIFS 'copy-FROM-nas_volume-to-computer' issue

Is it a large file? I've had issues with pcmanfm-qt progress bar being static while file was actually copied.

More general note - I moved from NFS and CIFS to curlftpfs. Surprisingly, it is much more reliable and stable for me than former two.

Offline

#3 2017-01-29 10:03:13

Vizitor
Member
Registered: 2015-01-05
Posts: 82

Re: [SOLVED] Strange CIFS 'copy-FROM-nas_volume-to-computer' issue

Issue is happening even with few kilobites pdf or text file. I can wait forever, there, on destination (on computer) folder, there will only be a "copyed file" with zero size and nothing more. Untill this recent upgrade I have no issues with that, everything was working perfect and fast.

Also, I am using smbclient and libwbclient 4.4.0-1 (because newer versions have that annoying asking for password when accessing Windows Computer paswordless shared folders), but I tested this issue even with latest versions of that files (4.5.x) - cifs copying issue persists.

Last edited by Vizitor (2017-01-29 10:04:14)

Offline

#4 2017-02-08 15:27:43

allsts
Member
Registered: 2017-02-08
Posts: 7

Re: [SOLVED] Strange CIFS 'copy-FROM-nas_volume-to-computer' issue

This is exactly the same issue I have on Antergos.
The problem is related with the last Kernel update.
I restored an image (clonezilla) from one week ago and everything works fine using the same mounting script, but after install all antergos updates… fails again!
If I select LTS kernel on boot, everything works fine.
So, I restored again the clonezilla image and update all packages except “linux” and “linux-firmware” packages and can copy without fails.
Hope this to be solved in future kernel updates! Its really a very strange issue.

Offline

#5 2017-02-08 16:57:31

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [SOLVED] Strange CIFS 'copy-FROM-nas_volume-to-computer' issue

allsts wrote:

Hope this to be solved in future kernel updates!

Don't just hope, file kernel bug reports! smile

Offline

#6 2017-02-08 18:41:16

Vizitor
Member
Registered: 2015-01-05
Posts: 82

Re: [SOLVED] Strange CIFS 'copy-FROM-nas_volume-to-computer' issue

Just upgraded to kernel 4.9.8-1-ARCH, problem persisting;

Bug reported FS#52904

Offline

#7 2017-02-09 08:20:18

allsts
Member
Registered: 2017-02-08
Posts: 7

Re: [SOLVED] Strange CIFS 'copy-FROM-nas_volume-to-computer' issue

nesk wrote:

Don't just hope, file kernel bug reports! smile

I am new here roll.
Thanks Vizitor, voted up in Bugs.

Offline

#8 2017-05-30 08:30:37

Vizitor
Member
Registered: 2015-01-05
Posts: 82

Re: [SOLVED] Strange CIFS 'copy-FROM-nas_volume-to-computer' issue

Issue seems to be gone in newest kernels;
( I tested it on 4.11.3-1-ARCH and linux-lts 4.9.30-1 )

Markig this as [SOLVED]

Offline

Board footer

Powered by FluxBB