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

Fog Doesn't copy all Partitions

Scheduled Pinned Locked Moved Solved
FOG Problems
5
23
7.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.
  • J
    Joseph Hales Testers
    last edited by Oct 28, 2015, 2:56 PM

    If this system is still running the original load from dell it most likely has a gpt partition which fog doesn’t like.

    RTFM

    W 1 Reply Last reply Oct 28, 2015, 9:41 PM Reply Quote 1
    • N
      Nox245
      last edited by Oct 28, 2015, 3:43 PM

      For a second i wasnt sure about that so i checked again … its MBR.

      S 1 Reply Last reply Oct 28, 2015, 4:17 PM Reply Quote 0
      • S
        Sebastian Roth Moderator @Nox245
        last edited by Oct 28, 2015, 4:17 PM

        @Nox245 How did you check that it is MBR and could you please the commands in debug mode as suggested further down - just to make sure that FOG is able to see your partitions…

        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
        • W
          Wayne Workman @Joseph Hales
          last edited by Oct 28, 2015, 9:41 PM

          @Joseph-Hales said:

          If this system is still running the original load from dell it most likely has a gpt partition which fog doesn’t like.

          From my experience, a scratch installation using UEFI and setting up GPT disks, fog trunk will accept and deploy just fine.

          It’ll deploy to a dissimilar disk that had MBR on it previously, it’ll deploy to a partially ā€œzero’dā€ disk, and to a disk formatted with GPT but laid out differently as well… So it’s not making any use of existing GPT structures, it really does build them correctly according to the image.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • N
            Nox245
            last edited by Nox245 Oct 29, 2015, 1:38 AM Oct 29, 2015, 7:34 AM

            @Uncle-Frank
            Heres a pic to how ive checked its MBR - http://postimg.org/image/qfflha02z/
            heres fogs compatibility http://postimg.org/image/ofhuu82fz/
            and heres how he sees the partitions http://postimg.org/image/3vovermbd/

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth Oct 29, 2015, 2:07 AM Oct 29, 2015, 8:06 AM

              Well, and we are still not sure if FOG is able to see this using the tools it does when capturing an image!! Again, I kindly ask you to run a debug session to see what fogpartinfo and fdisk (not as important as fogpartinfo) is telling us.
              I have seen unexpected und weird errors coming up that you just won’t see with other tools (especially not windows disk manager!). fogpartinfo is used within FOG upload and you won’t get around looking at what it tells you about your partitions…

              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
              • N
                Nox245
                last edited by Oct 29, 2015, 9:10 AM

                @Uncle-Frank
                heres what i got from the debug : http://postimg.org/image/4s2mo8o13/

                T 2 Replies Last reply Oct 29, 2015, 9:34 AM Reply Quote 0
                • T
                  Tom Elliott @Nox245
                  last edited by Oct 29, 2015, 9:34 AM

                  @Nox245 the problem is your image. First the recovery partition is a dell utility, and while I believe this is fixed in trunk I cannot say for 100% as I don’t typically create my images using the default layout from the manufacturer.

                  That aside I believe you specific problem lies with the sector starting at 63. 1.2.0 was a fairly stable release but it missed the sector layout by always trying to start everything at 2048. Maybe you could upgrade to trunk and try again? I think it may work, but it is no guarantee.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  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
                  • T
                    Tom Elliott @Nox245
                    last edited by Oct 29, 2015, 9:35 AM

                    @Nox245 can you also get the output of fogpartinfo --list-devices and fogpartinfo --list-parts /dev/sda?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    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

                    N 1 Reply Last reply Oct 29, 2015, 10:06 AM Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Oct 29, 2015, 9:46 AM

                      @Tom-Elliott He already posted a picture with --list-parts. Looks good. I am pretty sure that --list-devices will be fine too then.

                      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

                      T 1 Reply Last reply Oct 29, 2015, 9:48 AM Reply Quote 0
                      • T
                        Tom Elliott @Sebastian Roth
                        last edited by Oct 29, 2015, 9:48 AM

                        @Uncle-Frank gotcha I see it now. Didn’t realize it through the text.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        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
                        • N
                          Nox245 @Tom Elliott
                          last edited by Nox245 Oct 29, 2015, 4:08 AM Oct 29, 2015, 10:06 AM

                          @Uncle-Frank

                          –list-devices only shows /dev/sda/

                          how do i upgrade to trunk ?

                          BTW unfortunately i do need the dell recovery in my image

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Oct 29, 2015, 10:48 AM

                            https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk

                            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
                            • N
                              Nox245
                              last edited by Oct 29, 2015, 1:24 PM

                              so ive upgraded fog to trunk
                              created the image and the host and everything
                              started the task, it copied 2 partitions 100% but on the third partition it stoped around 58% and sudenly died
                              and shown on the screen that : http://postimg.org/image/4bl20riq7/
                              thats how the task progress looks like : http://postimg.org/image/4mjxwjlgf/
                              and really … its in a midle of the last partition …

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by Sebastian Roth Oct 29, 2015, 10:23 AM Oct 29, 2015, 4:21 PM

                                Interesting. This definitely should not happen in the middle of partclone running. Did you actually see partclone closing in the middle of reading or do you guess it did because it looks like it in the web interface?

                                Please follow this guide to make sure FTP is working properly: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP (especially the section on passwords)

                                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
                                • W
                                  Wayne Workman @Nox245
                                  last edited by Wayne Workman Oct 29, 2015, 4:29 PM Oct 29, 2015, 10:28 PM

                                  @Nox245 Is there enough free space on the Fog Sever? df -h

                                  CentOS defaults the / directory to have 50GB.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  1 Reply Last reply Reply Quote 1
                                  • N
                                    Nox245
                                    last edited by Nox245 Nov 3, 2015, 4:18 AM Nov 3, 2015, 10:17 AM

                                    so ive seen the whole process this time and it actualy gets to 100% and it has a complete image of the disk,
                                    it says its done uploading the image bot i dont really have it in the server here’s a pic: http://postimg.org/image/6xmtu1izr/
                                    @Wayne-Workman
                                    yeah it has enough space for the image, i got 67gb free space on the server and fog sees it. the whole image is about 52gb.
                                    @Uncle-Frank
                                    ive changed the passwords in /opt/fog/.fogsettings and in Web Interface -> FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD
                                    all the passwords are the same and the error still shows like its trying to use some random password… i rebooted fog before trying the imaging again.

                                    T W 2 Replies Last reply Nov 3, 2015, 10:25 AM Reply Quote 0
                                    • T
                                      Tom Elliott @Nox245
                                      last edited by Nov 3, 2015, 10:25 AM

                                      @Nox245 said:

                                      so ive seen the whole process this time and it actualy gets to 100% and it has a complete image of the disk,
                                      it says its done uploading the image bot i dont really have it in the server here’s a pic: http://postimg.org/image/6xmtu1izr/
                                      @Wayne-Workman
                                      yeah it has enough space for the image, i got 67gb free space on the server and fog sees it. the whole image is about 52gb.
                                      @Uncle-Frank
                                      ive changed the passwords in /opt/fog/.fogsettings and in Web Interface -> FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD
                                      all the passwords are the same and the error still shows like its trying to use some random password… i rebooted fog before trying the imaging again.

                                      The only password that fog uses for imaging is the one set to the storage node. Goto storage management, select the relevant master node and look down the bottom of the screen. Ensure the proper username and password match your nodes credentials.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      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 1
                                      • W
                                        Wayne Workman @Nox245
                                        last edited by Wayne Workman Nov 3, 2015, 3:53 PM Nov 3, 2015, 9:53 PM

                                        @Nox245 Tom is right, this is a FTP credentials issue most likely. NFS is used to upload the image to /images/dev and then FTP is used to move the image (once uploaded) from /images/dev to /images. the username/pass used for this are set in the storage node’s settings area in the web interface. You must also have a matching user account on the actual linux box with FTP permission. The installer does all of these things for you, but changing things can goof them.

                                        That troubleshooting ftp article posted by @Sebastian-Roth below gives steps on how to correct this.

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          Nox245
                                          last edited by Nov 5, 2015, 7:25 AM

                                          ok so ive changed all the passwords on the server to 1 password and now it is all working
                                          thank you all very much and have a great day šŸ™‚

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            13/23
                                            Last post

                                          162

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright Ā© 2012-2024 FOG Project