Network connection drops while transferring files to OMV

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Network connection drops while transferring files to OMV

      Hello,
      I hope this is the right place to post the issue I'm having.

      My configuration:
      • a Windows 10 PC connected through a wireless connection to my Router
      • a self-build NAS with OMV, directly connected through a cable to my Router


      The problem I've been having since I first installed OMV 1 year ago is that everytime I start moving a large quantity of files from my main computer to the NAS for a backup, the wireless connection on my PC randomly drops. It may happen soon after I start or after many minutes. Sometimes it even does not happen at all and I'm able to complete the task without any issue.

      Specifically, when it happens, my PC loses it's wifi connection and I have to manually disconnect from the network and reconnect to make it work again.
      I though it may be an issue of my PC but it only happens when I'm transferring files to OMV so there must be some kind of relation?


      A few things I've tried/done in the last few months without resolving the issue:
      • connected the NAS to my PC directly through a cable
      • changed the wireless card on my PC with a better one (now an Asus PCE-AC68)
      • changed the network card on my NAS with a better one (from a Realtek RTL8111F to an Intel 82574L)
      • changed Router/Modem
      • formatted my PC and changed a few components


      What do you think?
      Is there something obvious I may have overlooked?

      Thank you for any hints! :)

      (let me add that I'm quite experienced with windows PC but I'm really a noob with Linux)
    • As you have found this could be anything but almost certainly related to your network. Most of mine is Ethernet but there are things I never do, 1) Never connect anything directly to a router I used a powered switch, connections on the back of routers are no more than hubs. 2) Nearly all of my transfers are done done via Ethernet, if for any reason I need to transfer via wireless then I break it down in chunks of no larger than 2GB in size.

      The other problem could be traffic/interference on your wifi channel, inSSIDER was the software to use but this has now become a paid application, you could try this what you are looking for is a clean channel or one that is not in use much and change to that in your router. There is also one available in the MS store for free, WiFi analyzer, no idea if it's any good though.
      Raid is not a backup! Would you go skydiving without a parachute?
    • Peach1200 wrote:

      A few things I've tried/done in the last few months without resolving the issue:
      Have you tried to change the frequency range? 2.4 GHz can be very crowded. 5 GHz might give better results.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • geaves wrote:

      As you have found this could be anything but almost certainly related to your network. Most of mine is Ethernet but there are things I never do, 1) Never connect anything directly to a router I used a powered switch, connections on the back of routers are no more than hubs. 2) Nearly all of my transfers are done done via Ethernet, if for any reason I need to transfer via wireless then I break it down in chunks of no larger than 2GB in size.

      The other problem could be traffic/interference on your wifi channel, inSSIDER was the software to use but this has now become a paid application, you could try this what you are looking for is a clean channel or one that is not in use much and change to that in your router. There is also one available in the MS store for free, WiFi analyzer, no idea if it's any good though.
      - "connections on the back of routers are no more than hubs."
      What do you mean exactly?

      - "The other problem could be traffic/interference on your wifi channel"
      I've already tried switching channels; in addition I've also moved to a new house in the meantime and the problem still occurs

      macom wrote:

      Peach1200 wrote:

      A few things I've tried/done in the last few months without resolving the issue:
      Have you tried to change the frequency range? 2.4 GHz can be very crowded. 5 GHz might give better results.
      Unfortunately it does happen with both frequencies (I usually stay on 5GHz).



      The thing I can't quite explain is why my computer does lose its connection and I have to manually disconnect and connect again to make it work again.
      Why does it happen only when transferring files to the NAS?
      The NAS works great when I'm just streaming contents from it. Does this mean that it's my computer's fault?

      Thank you both for your answers! :)
    • Peach1200 wrote:

      What do you mean exactly?
      When data is sent across a network it's from one machine to another and invariably will go through some sort of network switch or hub. The problem with a hub (which is what all routers have) is that the data is broadcast to all ports until it gets a reply from the computer the data is meant for, this happens continuously. A switch on the other hand does the same but only once, it then remembers where that machine is connected on the switch.
      At home I have one connection from my router to a switch, so all my internal traffic goes through the switch and only internet traffic is directed to the router.
      I still believe the issue here is the router for whatever reason it cannot cope with large amounts of data being sent through it's hub and therefore drops your connection, but it can cope with streaming. Having experienced this long ago I simply do not use nor rely on a routers ethernet connections other than for internet access.
      Raid is not a backup! Would you go skydiving without a parachute?
    • geaves wrote:

      Peach1200 wrote:

      What do you mean exactly?
      When data is sent across a network it's from one machine to another and invariably will go through some sort of network switch or hub. The problem with a hub (which is what all routers have) is that the data is broadcast to all ports until it gets a reply from the computer the data is meant for, this happens continuously. A switch on the other hand does the same but only once, it then remembers where that machine is connected on the switch.At home I have one connection from my router to a switch, so all my internal traffic goes through the switch and only internet traffic is directed to the router.
      I still believe the issue here is the router for whatever reason it cannot cope with large amounts of data being sent through it's hub and therefore drops your connection, but it can cope with streaming. Having experienced this long ago I simply do not use nor rely on a routers ethernet connections other than for internet access.
      Thank your for the explanation, I will give it a try!

      In the meantime, I realized that among all the variables, the antivirus software was one I still haven't worked on (been using Webroot SecureAnywhere for a few years now).
      This morning I tried to backup 20GB of data disabling it and it seems to have worked flawlessly (crossed fingers).
      I'll keep testing in the next few days and report back if anything changes.

      In the meantime, thank you very much for your help! :)
    • geaves wrote:

      what you are looking for is a clean channel or one that is not in use much and change to that in your router

      No it's not. Let the router do this since the device hopefully knows better than you. Autochannel is the only option since choosing 'a clean channel' only further pollutes the shared media (channels are overlapping and only a few of them should be chosen. In 2.4GHz band for example only these channels: 1, 6 and 11 where 1-11 are allowed or 1, 5, 9 and 13 where 12/13 are also allowed. Simply let the AP do its job).

      Also most internet access routers sold today or within the last 5 years already contain a switch and not a hub (and how should a hub have a chance to influence a wireless connection, the whole wireless principle is 'hub' or 'shared medium'... but it happens at the access point component of the router). Those routers usually also allow for static DHCP leases by the way.
    • Just done another test this evening, transferring 48GB of data through the wireless connection from my laptop to the NAS.
      Result is:
      • antivirus ON: error after a couple GB
      • antivirus OFF: transferred 38GB so far without any issue


      It looks like Webroot was inferfering somehow! :)

      tkaiser wrote:

      Also most internet access routers sold today or within the last 5 years already contain a switch and not a hub (and how should a hub have a chance to influence a wireless connection, the whole wireless principle is 'hub' or 'shared medium'... but it happens at the access point component of the router). Those routers usually also allow for static DHCP leases by the way.
      I was curious to know more about this topic today but I did not found any information online.
      Is there anything I can read?
    • Peach1200 wrote:

      Just done another test this evening, transferring 48GB of data through the wireless connection from my laptop to the NAS.
      Result is:
      • antivirus ON: error after a couple GB
      • antivirus OFF: transferred 38GB so far without any issue


      It looks like Webroot was inferfering somehow! :)
      As I was writing this, the usual error occured.. :S
      Maybe it's not Webroot's fault after all.

      I will continue testing...
    • Peach1200 wrote:

      I will continue testing...
      I have a W10 laptop which uses wireless only, I very rarely use this at home.

      So I copied 40GB+ of movies to a folder on the desktop of the laptop, then copied that folder to another share on my server, this was in my home office which has my router and server insitu, no network or connection failure. So I then moved the laptop to the furthest point from the router and server and did the same, and again no network or connection failure.

      Your particular problem is either hardware or network related.
      Raid is not a backup! Would you go skydiving without a parachute?
    • geaves wrote:

      Peach1200 wrote:

      I will continue testing...
      I have a W10 laptop which uses wireless only, I very rarely use this at home.
      So I copied 40GB+ of movies to a folder on the desktop of the laptop, then copied that folder to another share on my server, this was in my home office which has my router and server insitu, no network or connection failure. So I then moved the laptop to the furthest point from the router and server and did the same, and again no network or connection failure.

      Your particular problem is either hardware or network related.
      Thank you very much for testing.

      I've tried transferring 40GB of data from my desktop PC to my laptop and while it didn't work with Webroot on, it worked perfectly as soon as I switched it off.
      I'm more and more convinced now that the main culprit may be the antivirus after all.

      Thank you all for your support! :)