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

    File size mismatch - FOGreplicator

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    13
    1.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.
    • cmachadoC
      cmachado @Quazz
      last edited by cmachado

      @Quazz Good catch! Same there too. Only 2 images and both same issue.

      [01-08-20 10:36:29 am] # Windows 10 Class: Deleting remote file d1p4.img
      [01-08-20 10:36:29 am] # Windows 10 Class: File size mismatch - d1p4.img: 28268901712 != -1795869360
      [01-08-20 10:36:29 am] # Windows 10 Class: No need to sync d1p3.img (Link Node)
      [01-08-20 10:36:29 am] # Windows 10 Class: No need to sync d1p2.img (Link Node)
      [01-08-20 10:36:29 am] # Windows 10 Class: No need to sync d1p1.img (Link Node)
      [01-08-20 10:36:28 am] # Windows 10 Class: No need to sync d1.partitions (Link Node)
      [01-08-20 10:36:28 am] # Windows 10 Class: No need to sync d1.original.swapuuids (Link Node)
      [01-08-20 10:36:28 am] # Windows 10 Class: No need to sync d1.original.fstypes (Link Node)
      [01-08-20 10:36:28 am] # Windows 10 Class: No need to sync d1.minimum.partitions (Link Node)
      [01-08-20 10:36:28 am] # Windows 10 Class: No need to sync d1.mbr (Link Node)
      [01-08-20 10:36:28 am] # Windows 10 Class: No need to sync d1.fixed_size_partitions (Link Node)
      [01-08-20 10:36:27 am] | Image Name: Windows 10 Class

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

        @cmachado said in File size mismatch - FOGreplicator:

        28268901712 != -1795869360

        Negative number?!? This looks like a integer overflow. I’ll take a look at the code when I get home.

        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
        • Q
          Quazz Moderator @cmachado
          last edited by

          @cmachado Is the OS that FOG is installed on 32 bit perhaps?

          cmachadoC 1 Reply Last reply Reply Quote 0
          • cmachadoC
            cmachado @Quazz
            last edited by

            @Quazz Node is 32bit. Server is 64bit.

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

              @cmachado The integer is overflowing on the node because 32bit has a 2GB limit for integers, but the filesizes exceed that number.

              If you get a 64 bit node your problems will disappear I reckon.

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

                @cmachado The 32 bit limitation described is probably caused by PHP being 32 bit. I am wondering if there is a way that we can get filesize in KB rather than bytes to get around such issues.

                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

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

                  @Sebastian-Roth https://github.com/jkuchar/BigFileTools possibly.

                  1 Reply Last reply Reply Quote 0
                  • cmachadoC
                    cmachado @Quazz
                    last edited by cmachado

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • cmachadoC
                      cmachado @Quazz
                      last edited by

                      @Quazz Yes that worked.

                      [01-08-20 2:51:25 pm] * All files synced for this item.
                      [01-08-20 2:51:25 pm] # Windows 10 Class: No need to sync d1p4.img (Link Node)
                      [01-08-20 2:51:24 pm] # Windows 10 Class: No need to sync d1p3.img (Link Node)
                      [01-08-20 2:51:24 pm] # Windows 10 Class: No need to sync d1p2.img (Link Node)
                      [01-08-20 2:51:23 pm] # Windows 10 Class: No need to sync d1p1.img (Link Node)

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

                        @cmachado said in File size mismatch - FOGreplicator:

                        Yes that worked.

                        What exactly worked? Did you reinstall on 64 bit Linux OS?

                        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

                        cmachadoC 1 Reply Last reply Reply Quote 0
                        • cmachadoC
                          cmachado @Sebastian Roth
                          last edited by

                          @Sebastian-Roth Yes. I marked @Quazz as the correct answer.

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

                          193

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project