Bug 720528

Summary: file copies over network mounts fail
Product: [Fedora] Fedora Reporter: Jeff Guerdat <jguerdat>
Component: kernelAssignee: Tomáš Bžatek <tbzatek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: aquini, ccecchi, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, steved, tbzatek, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-11 18:42:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Guerdat 2011-07-12 00:09:53 UTC
Description of problem:
Attempting to copy a folder of files to a remote file system via NFS or CIFS fails every time after creating the remote folder and one file.  No problem copying when using F14 and CIFS (never used NFS with F14).  Tried Live CD with exact same problem.

Version-Release number of selected component (if applicable):
Every kernel released for F15 so far.

How reproducible:
Always

Steps to Reproduce:
1.Mount remote file system using either CIFS or NFS
2.Copy folder to remote system (drag'n'drop or via commandline)
3.
  
Actual results:
Nautilus hangs, commandline is unresponsive.

Expected results:
Successful copy operation without pause or hang

Additional info:
The only thing noted in /var/log/messages, every 4 minutes (this is an NFS example):

Jul 10 16:15:59 toshiba kernel: [ 1305.056051] nfs: server dlink not responding,
 timed out

Comment 1 Dave Jones 2011-07-12 00:56:45 UTC
what's the server running ?
Can you still ping it when nfs/cifs stops responding ?

(trying to determine if this is maybe a NIC problem, as affecting both protocols seems weird)

Comment 2 Jeff Guerdat 2011-07-12 01:39:27 UTC
Server is typically my D-Link NAS (DNS-320) which supports CIFS, NFS, ftp, AFP, UPnP.  From a Windows machine, CIFS and UPnP work fine.  The NAS OS is supposedly Linux and I have the latest firmware installed.  All I'm attempting to do is to copy photos from my F15 laptop to the NAS for backup and UPnP streaming.  The NAS is still there with pings and accessible from other machines.

As for NIC possibilities, I use a Belkin Cardbus N adapter using RPMfusion's rt2860 driver.  From the Live CD, I removed the card and used the built-in Intel ipw2200 device with the default driver.  Doesn't appear to be a NIC problem.

Comment 3 Jeff Guerdat 2011-07-12 01:45:34 UTC
Forgot to say that this happens connecting to a Windows 7 machine, too.

Comment 4 Tomáš Bžatek 2011-07-20 12:39:14 UTC
GIO switched to using splice(2) for file copy, could this be the source of problems?

Comment 5 Jeff Guerdat 2011-07-20 13:04:05 UTC
Is there something I can try from, say, F14 to test this?  Any copy to or from a network resource fails for me.  The Nautilus display indicates a couple of MB copied and then it just stalls forever.

Comment 6 Jeff Guerdat 2011-07-20 13:21:19 UTC
Just tried a bunch of small files to see if size was important.  Used /etc/yum.repos.d as the test.  26 files, failed after 4.3MB was transferred, stalled on the 9th file.

I have to reboot to regain control.  The shutdown takes 5 minutes - a network mount timeout?

Comment 7 Dave Jones 2012-04-11 17:05:21 UTC
is this still a problem with the 2.6.43.1 update ?

Comment 8 Jeff Guerdat 2012-04-11 17:40:44 UTC
Long since moved on to F15.  No problem there.