• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Hyper-V Very Slow to Capture Image

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    4
    510
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bnorwood
      last edited by

      My setup is a Microsoft 2016 server running Hyper-V Manager 10.0.14393.0. I have two VMs. One is a FOG server 1.5.5 running on Ubuntu 18.04.2 LTS. The other VM is my machine I create/update images (Windows 10) to the FOG server. I am noticing that when capturing an image it is very slow. For a 32GB image it takes between 7-8 hours. The only thing I found on the forums indicated that the Legacy Network Adapter used in the FOG virtual switch only runs at 100MB even when connected to a 1GB NIC. Is there a way to fix this or use an actual NIC instead of the virtual switch manager? Any information is greatly appreciated!

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @bnorwood Please start by scheduling a debug capture task. Boot the host and when you get to the shell run the following commands and post output here:

        uname -a
        ip a s
        ls -1 /sys/class/net/ | grep -v lo | xargs -n1 -I{} bash -c 'echo -n {} :" " ; basename `readlink -f /sys/class/net/{}/device/driver`'
        

        Note the backtick characters as well as single and double quotes. They all need to be used exactly as seen above.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • B
          bnorwood
          last edited by

          This is what I get.

          ec7f1715-698b-4512-a9e1-9483d92f2c7e-image.png

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth

            @bnorwood Sorry for my late reply…

            Please try the last command again exactly as I posted:

            ls -1 /sys/class/net/ | grep -v lo | xargs -n1 -I{} bash -c 'echo -n {} :" " ; basename `readlink -f /sys/class/net/{}/device/driver`'
            

            In the picture I see that the first quote before the echo a back tick was used instead of a single quote.

            Edit: I just saw the kernel version and I can imagine you still have one of the old kernels that had the Hyper-V slowness problem in it. Please update the kernel (FOG web UI -> FOG Configuration -> Kernel Update) and see if that makes a difference.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            151

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project