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

    Imaging from Storage node fails

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    14
    1.2k
    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.
    • E
      ErwinBullen @Sebastian Roth
      last edited by ErwinBullen

      @Sebastian-Roth Hi, this is the output.
      It look fine to me.
      P1.jpg
      P2.jpg
      The error does not appear all the time. Sometimes (rare) it succeeds

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

        @ErwinBullen That’s interesting. The compressed image file seems to de-compress just fine. Not what I expected.

        The error does not appear all the time. Sometimes (rare) it succeeds

        From my point of view this sounds like a hardware issue. Please to RAM checks (memtest) and see if it finds any error on this particular client!

        I expect the client/host to be the trouble maker here and not the storage node.

        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

        E 1 Reply Last reply Reply Quote 0
        • E
          ErwinBullen @Sebastian Roth
          last edited by

          @Sebastian-Roth unfortunately it is not that simple.
          I have the same on every machine i tested (more than 10) and on two different storage nodes. (with both a different Ubuntu Desktop version)
          When i disable the StorageNodes, and use the defaultmember (initial fog instance with sql DB), the same pc’s all get their image perfectly.

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

            @ErwinBullen Ok, thanks for the update. So I definitely went down the wrong track assuming this was only on one machine.

            Is it always sda2 failing as seen in the two pictures? Maybe it’s some kind of network (driver) issue?! Just blindly guessing here.

            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

            E 1 Reply Last reply Reply Quote 0
            • E
              ErwinBullen @Sebastian Roth
              last edited by ErwinBullen

              @Sebastian-Roth Hi Sebastian. It runs on a VMware. I’ll try with another network adaptor.
              Do you know a way to manual extract the image over te network to another machine/folder so i can test the network card of the server ?

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

                @ErwinBullen said in Imaging from Storage node fails:

                Do you know a way to manual extract the image over te network to another machine/folder so i can test the network card of the server ?

                Probably could test by mounting the NFS share from a different system and try to run it through partclone like this:

                mkdir -p /mnt/images
                mount -t nfs 192.168.100.32:/images /mnt/images
                zcat /mnt/images/B-Blok-v18-v4/d1p2.img | partclone.restore --ignore_crc -O /tmp/d1p2_deployed.img -N -f 1
                

                Make sure you have enough free space on the destination machine you are running this command from!! As well you need to have partclone installed on that system!

                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
                • E
                  ErwinBullen
                  last edited by

                  I created a storage node on the vmware where the FOG is running with the same Ubunu, Fog 1.5.6 and still crashing only when a client gets connected to the Storage node. Any suggestions ?
                  I tried to mount and extract the image, but do not get beyond this error
                  partclone_error.jpg

                  1 Reply Last reply Reply Quote 0
                  • E
                    ErwinBullen
                    last edited by

                    This is the initial error only showing for a second. SN-error.jpg
                    Looks like a corruption error but a local extract works fine (see previous post)

                    1 Reply Last reply Reply Quote 0
                    • E
                      ErwinBullen
                      last edited by

                      is’t this strange ? All images report the same size ?
                      abf75ba7-8b61-40f4-8070-a730a96d50d0-image.png

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

                        @ErwinBullen said in Imaging from Storage node fails:

                        I tried to mount and extract the image, but do not get beyond this error

                        Sorry for that. Please try this:

                        mkdir -p /mnt/images
                        mount -t nfs 192.168.100.32:/images /mnt/images
                        zcat /mnt/images/B-Blok-v18-v4/d1p2.img | partclone.ntfs --restore --restore_raw_file --ignore_crc -N -f 1 -s - -O /tmp/d1p2_deployed.img
                        

                        Hint: Again make sure you do this on a system where you have enough space in /tmp or where ever else you have enough room to dump the extracted image for testing. Maybe best to mount an empty extra disk in /mnt/test/ and write the output file there.

                        As well please run ls -alR /images on your storage node and post output here.

                        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

                        181

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project