Windows Server TechCenter > Windows Server Forums > File Services and Storage > start a copy command in linux to copy a file from a nfs share location to another takes 20s to complete.
Ask a questionAsk a question
 

Answerstart a copy command in linux to copy a file from a nfs share location to another takes 20s to complete.

  • Wednesday, October 28, 2009 9:31 AMmartijn T Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I use Windows 2003 and SFU3.5
    I use usermapping.

    I want to copy a file from one location of a nfs share to another location on the same nfs share. I start the copy command from linux.

    I takes about 20s till i can open the file.

    When I do a copy and then move the file to another location, and back (all in a linux script) I can open the file right away.

    I cannot find anything with a file monitor tool or a networktool to explain why this is, or how I can solve this delay.

    Can anyone help?


Answers

  • Thursday, October 29, 2009 8:01 AMDavid Shen - MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hello martijn T,

     

    There are 2 monitor tools can help us to analysis why cause this delay in opening file.

     

    We can use Network Monitor 3.3 tool on Windows Server system to monitor the outcoming network copy flow to Linux NFS server.

     

    Download: Microsoft Network Monitor 3.3

    http://www.microsoft.com/downloads/details.aspx?FamilyID=983b941d-06cb-4658-b7f6-3088333d062f&displaylang=en

     

    How to use Network Monitor to capture network traffic

    http://support.microsoft.com/kb/812953

     

    Moreover, if you want to capture the network copy flow from Linux server, you may use Wireshark for Linux.

     

    Download: Wireshark

    http://www.wireshark.org/download.html

     

    As the issue seems to be related to interoperation between Windows system and Linux, I'd like suggest contact Microsoft Customer Service and Support (CSS) for this. You can speak directly with a Microsoft Support Professional to analyze the problem in a efficient way.

     

    For a complete list of Microsoft Product Support Services phone numbers, please go to the following address on the World Wide Web, to find the local number:

     

    How and when to contact Microsoft Customer Service and Support

     

    http://support.microsoft.com/kb/295539

     

    Hope the issue will be resolved soon.

     

    Best Regards,

    David Shen

     

    NOTE: This response contains a reference to a third party World Wide Web site. Microsoft can make no representation concerning the content of these sites. Microsoft is providing this information only as a convenience to you: this is to inform you that Microsoft has not tested any software or information found on these sites and therefore cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software on the Internet.


    This posting is provided "AS IS" with no warranties, and confers no rights.

All Replies

  • Thursday, October 29, 2009 8:01 AMDavid Shen - MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hello martijn T,

     

    There are 2 monitor tools can help us to analysis why cause this delay in opening file.

     

    We can use Network Monitor 3.3 tool on Windows Server system to monitor the outcoming network copy flow to Linux NFS server.

     

    Download: Microsoft Network Monitor 3.3

    http://www.microsoft.com/downloads/details.aspx?FamilyID=983b941d-06cb-4658-b7f6-3088333d062f&displaylang=en

     

    How to use Network Monitor to capture network traffic

    http://support.microsoft.com/kb/812953

     

    Moreover, if you want to capture the network copy flow from Linux server, you may use Wireshark for Linux.

     

    Download: Wireshark

    http://www.wireshark.org/download.html

     

    As the issue seems to be related to interoperation between Windows system and Linux, I'd like suggest contact Microsoft Customer Service and Support (CSS) for this. You can speak directly with a Microsoft Support Professional to analyze the problem in a efficient way.

     

    For a complete list of Microsoft Product Support Services phone numbers, please go to the following address on the World Wide Web, to find the local number:

     

    How and when to contact Microsoft Customer Service and Support

     

    http://support.microsoft.com/kb/295539

     

    Hope the issue will be resolved soon.

     

    Best Regards,

    David Shen

     

    NOTE: This response contains a reference to a third party World Wide Web site. Microsoft can make no representation concerning the content of these sites. Microsoft is providing this information only as a convenience to you: this is to inform you that Microsoft has not tested any software or information found on these sites and therefore cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software on the Internet.


    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Monday, November 02, 2009 10:59 AMmartijn T Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks for your reply.

    The nfs server is a windows machine. The linux client does a copy of a file from one location on the windows nfsshare to another location on the same share.

    I have used wireshark for windows to see the data come in. and that works just fine.
    I can see the data transfer, also I can see the file sync at the end.

    Between the file sync and 20 sec waiting nothing happens according to wireshark on the network.
    So i think linux is done with the file and there is something wrong with windows.

    When I test windows 2003 R2 sp1 with the buildin nfs, it gives the same problem.
    I updated it to sp2 and it seems to work fine.

    So i think i have to remove the sfu35 and switch to the builtin.

    Martijn.