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

    Very slow cloning speed on specific model

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    18
    145
    58.3k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @Quazz Good point!!!

      @Duncan So we better do partclone tests then. I’ll look up the syntax later on.

      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
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @Duncan Try using https://gparted.org/livecd.php or https://clonezilla.org/clonezilla-live.php - I have not tried any of those lately but I am fairly sure you can boot up to a command shell with those.

        mkdir -p /mnt/ramdisk
        mount -t tmpfs -o size=2048m tmpfs /mnt/ramdisk
        partclone.dd -d3 -C -s /dev/nvme0n1 -O /mnt/ramdisk/test.img
        partclone.dd -d3 -C -s /mnt/ramdisk/test.img -O /dev/sda
        

        Note that the first partclone command will also kind of error out when the ramdisk drive is full. But test.img still seems to be ok - from what I tested. Then reply it back to disk.

        Do this same test on both devices, the one that is showing the issue and the one that seems ok.

        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

        D 1 Reply Last reply Reply Quote 0
        • D
          Duncan @Sebastian Roth
          last edited by

          @Sebastian-Roth

          alt text

          going so slow!

          will upload pic of the “working” one soon

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

            @Duncan Ok, nice! Well not nice that’s it’s going slow but we know it’s not specific to the FOS kernel/initrd.

            As well we know it’s not a general problem with Linux, right?!? dd speed is fine. The interesting thing seems that in the topic Quazz posted we read:

            I could trick it into being fast by having the disk mounted: dd to an unmounted drive wrote slow, and dd to a mounted drive or using O_DIRECT wrote fast.

            As far as I understand you dded to an unmounted drive and it went fast as well. So maybe this is a different issue?!

            Maybe we should get in touch with Thomas Tsai…?

            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
            • D
              Duncan @Duncan
              last edited by

              @Duncan

              In the meantime i have started to image with Acronis, imaging disk to disk in about 7 minutes. This will do until a fix is found. Many thanks to everyone for all the help

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

                @Duncan Good to know you have a workaround for now. But we will need you to keep on testing things as we don’t have the hardware to test and work on this.

                I will read through all of this over the weekend and see what steps we could take next.

                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

                D 1 Reply Last reply Reply Quote 0
                • Q
                  Quazz Moderator @Duncan
                  last edited by

                  @Duncan As I understand it, Acronis uses WinPE, supporting the idea that this some kind of Linux problem, but it appears to be hard to track down exactly how and why it happens.

                  1 Reply Last reply Reply Quote 0
                  • M
                    Middle @DeRo93
                    last edited by

                    @DeRo93 We didn’t get the issue fixed but ran out of G6 laptops to test with. We’re expecting the next batch of 50 on Tuesday so I expect to be more active on here next week.

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

                      @Quazz said in Very slow cloning speed on specific model:

                      As I understand it, Acronis uses WinPE, supporting the idea that this some kind of Linux problem, but it appears to be hard to track down exactly how and why it happens.

                      When you first mentioned Acronis I didn’t think much further. But now that you say WinPE I had to look this up. Not sure if newer versions are WinPE based but the older ones all were Linux based: https://kb.acronis.com/content/1537

                      @Duncan Which version of Acronis do you have? Any chance you can get to a console and run uname -a to get the kernel version for us?

                      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

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        Duncan @Sebastian Roth
                        last edited by

                        @Sebastian-Roth

                        Happy to help out where i can, we also have another batch of 60 coming. Will be interesting to see the success rate of these ones.

                        When i spoke to HP he was unsure of how to move forward with this. Hopefully gets escalated to there tech guys. I asked about and firmware updates, but he said only the BIOS was available.

                        1 Reply Last reply Reply Quote 0
                        • D
                          Duncan @Sebastian Roth
                          last edited by Duncan

                          Acronis True Image 2019

                          cant see a way to drop into console to run that command.

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

                            @Duncan said:

                            Acronis True Image 2019

                            Ok, reading some more on the web I found an article saying that Acronis actually has two different bootable medias - one WinPE/WinRE-based and one Linux-based. Do you have Acronis installed on one of your Windows PCs? Please see if you can launch the “Rescue Media Builder” as described here and create a Linux-based boot media. Just want to make sure we don’t compare apples with pears here when we see Acronis doing it fast.

                            Switching between virtual terminals in Linux is usually done by pressing Ctrl+Alt+F1 or F2…F7 - see if that gets you to a console.

                            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
                            • S
                              Sebastian Roth Moderator
                              last edited by

                              @Duncan I don’t have Acronis 2019 to test but I found an ISO download on their official website (dl.acronis.com) and booted that in a VM. On bootup I definitely see Linux kernel message and using Ctrl+Alt+F2 I as able to switch to a virtual terminal. Got kernel version 4.9.51-Acronis-b12-x86_64

                              We used kernel version 4.9.x in 2017 - see here: https://fogproject.org/kernels/

                              Though we don’t have the exact same kernel version yet we can still try to get close to that. We’ll still miss the Acronis specific patches (not sure but I guess they use some modifications) but it’s worth testing. We will build specific kernel and initrd for you.

                              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

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

                                @Duncan Here is something to test:

                                sudo -i
                                cd /var/www/html/fog/service/ipxe
                                wget https://fogproject.org/kernels/bzImage-4.9.51
                                wget https://fogproject.org/inits/init-4.9.x.xz
                                chown apache:apache bzImage-4.9.51 init-4.9.x.xz
                                

                                The last command will fail if your server is setup on Debian/Ubuntu rather than CentOS - use chown www-data:www-data ... instead.

                                Now go to the FOG web UI, edit the host settings of that particular slow notebook and set option Host Kernel to bzImage-4.9.51 and Host Init to init-4.9.x.xz. Schedule a new deploy task for it and see if there is any difference speed wise.

                                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
                                • D
                                  Duncan @Sebastian Roth
                                  last edited by Duncan

                                  @Sebastian-Roth

                                  This is the same version as i have.

                                  4.9.52-Acronis-b12-x86_64

                                  Added the new Kernel and Init.

                                  Getting a kernel panic error now.

                                  XZ-compressed data is corrupt.

                                  kernel.jpg

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

                                    @Duncan said in Very slow cloning speed on specific model:

                                    Getting a kernel panic error now.
                                    XZ-compressed data is corrupt.

                                    Sorry, I thought you were on FOG 1.5.7 already. We changed the init size and if you are not on 1.5.7 yet you need to update the setting manually.

                                    EDIT: Was going to add the details just now, but @Quazz was quicker 🙂
                                    FOG web UI -> FOG configuration -> FOG settings -> TFTP Server -> KERNEL RAMDISK SIZE: change from 127000 to 256000

                                    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

                                    D 1 Reply Last reply Reply Quote 0
                                    • Q
                                      Quazz Moderator @Duncan
                                      last edited by

                                      @Duncan Update kernel ramdisk size under TFTP settings on the Web UI to 256000

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        Duncan @Sebastian Roth
                                        last edited by Duncan

                                        @Sebastian-Roth

                                        still got same errors.

                                        bumped it up to 512000 and it started to work. Then got

                                        “No network interfaces found, your kernel is most probably missing the correct driver! Please check your network setup and try again!”

                                        Please enter to continue.

                                        Starts to load the script and then fails again on no network interface.

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

                                          @Duncan What kind of network card is in your machine? Please check out Windows device management for the PCI device IDs.

                                          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

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            Duncan @Sebastian Roth
                                            last edited by

                                            @Sebastian-Roth

                                            Intel I219-V

                                            PCI\VEN_8086&DEV_15BE&SUBSYS_8549103C&REV_11
                                            PCI\VEN_8086&DEV_15BE&SUBSYS_8549103C
                                            PCI\VEN_8086&DEV_15BE&CC_020000
                                            PCI\VEN_8086&DEV_15BE&CC_0200

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 4 / 8
                                            • First post
                                              Last post

                                            202

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project