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

Image file does not "expand" the full size of the drive it is being deployed to

Scheduled Pinned Locked Moved Unsolved
FOG Problems
6
26
7.5k
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.
  • W
    Wayne Workman
    last edited by Sep 24, 2017, 3:39 PM

    It might be related to 4k sector sizes…

    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
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Sep 24, 2017, 2:09 PM Sep 24, 2017, 8:09 PM

      @Wayne-Workman said:

      It might be related to 4k sector sizes…

      Good point. @caw001 Could you please schedule a debug task (upload or deploy doesn’t matter) on the destination host and run the following command when you get to the shell: fdisk -l /dev/nvme0n1 (take a picture and post 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

      R 1 Reply Last reply Sep 26, 2017, 3:33 PM Reply Quote 0
      • G
        george1421 Moderator
        last edited by Sep 24, 2017, 8:21 PM

        While this post is unrelated to the issue at hand, here is the output of the command Sebastian just posted. This is the output of my linux mint laptop running on a Sandisk x300 sata ssd. It does point out something interesting. Its a 4k physical drive that must support 512e because of the logical / physical mismatch. Also the second partition doesn’t start on a 4K boundary.

        $ sudo fdisk -l /dev/sda
        Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
        Units: sectors of 1 * 512 = 512 bytes
        Sector size (logical/physical): 512 bytes / 4096 bytes
        I/O size (minimum/optimal): 4096 bytes / 4096 bytes
        Disklabel type: dos
        Disk identifier: 0xcb247ec0
        
        Device     Boot     Start       End   Sectors  Size Id Type
        /dev/sda1  *         2048 471818239 471816192  225G 83 Linux
        /dev/sda2       471820286 488396799  16576514  7.9G  5 Extended
        /dev/sda5       471820288 488396799  16576512  7.9G 82 Linux swap / Solaris
        
        Partition 2 does not start on physical sector boundary.
        

        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!

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sep 24, 2017, 8:51 PM

          @george1421 Yeah you definitely have one of these 512e disks that still “emulate” being a 512 sector size disk. The second partition is just the extended partition container, so it doesn’t matter. Your SWAP at least is on a 2048 sector boundary so it’s not too bad at all.

          I’ve looked into real 4096 sector disks and I am sure we need to tackle this as we’ll see more and more of those disks.

          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

          G 1 Reply Last reply Sep 24, 2017, 9:11 PM Reply Quote 0
          • G
            george1421 Moderator @Sebastian Roth
            last edited by george1421 Sep 24, 2017, 3:12 PM Sep 24, 2017, 9:11 PM

            @sebastian-roth I’ll just mention this, I have several real 4Kn sata drives I could throw in a laptop if you needed to test something.

            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!

            1 Reply Last reply Reply Quote 0
            • W
              Wayne Workman
              last edited by Sep 25, 2017, 2:50 PM

              Tom will also have a 4K drive soon.

              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
              • R
                rboan @Sebastian Roth
                last edited by Sep 26, 2017, 3:33 PM

                @sebastian-roth

                I booted in debug mode and ran the command fdisk -l /dev/nvme0n1
                Below are screenshots of output
                ![1_1506439862790_2.jpg](Uploading 100%) ![0_1506439862789_1.jpg](Uploading 100%)

                R 1 Reply Last reply Sep 26, 2017, 3:40 PM Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sep 26, 2017, 3:36 PM

                  @rboan Seems like yout pictures did not upload properly. Please try again.

                  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
                  • R
                    rboan @rboan
                    last edited by Sep 26, 2017, 3:40 PM

                    1_1506440119351_2.jpg 0_1506440119350_1.jpg

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth Sep 26, 2017, 2:36 PM Sep 26, 2017, 8:36 PM

                      @rboan Why do we see the “Invalid OS ID” now? Why 0 (zero)? Please check the image settings in the FOG web UI. As well please run fdisk -l in a debug task and hopefully we’ll see what disk you have.

                      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 Oct 18, 2017, 8:09 PM

                        @rboan Bump…

                        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 Oct 27, 2017, 4:14 AM

                          @rboan Bumping again…

                          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

                          C 1 Reply Last reply Oct 27, 2017, 4:24 AM Reply Quote 0
                          • C
                            caw001 @Sebastian Roth
                            last edited by Oct 27, 2017, 4:24 AM

                            @sebastian-roth I work with Robyn. This looks good. We are now able to boot and capture images. We are just having trouble restoring them back to drives of a larger size. I don’t see that covered in your guide anywhere unless I missed it. We are still continuing to test… But don’t don’t really have a resolution yet.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Oct 27, 2017, 5:38 AM

                              @caw001 said in Image file does not "expand" the full size of the drive it is being deployed to:

                              We are just having trouble restoring them back to drives of a larger size. I don’t see that covered in your guide anywhere unless I missed it.

                              Well I don’t have a ready solution for you guys yet. We are in the process of helping you to find and fix this issue. Last @rboan posted was a screenshot with the error message “Invalid OS ID (0) (determineOS)” and so I answered:

                              Why do we see the “Invalid OS ID” now? Why 0 (zero)? Please check the image settings in the FOG web UI. As well please run fdisk -l in a debug task and hopefully we’ll see what disk you have.

                              I still want to help you guys and need more information to be able to do so.

                              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

                              C 1 Reply Last reply Oct 27, 2017, 5:05 PM Reply Quote 0
                              • C
                                caw001 @Sebastian Roth
                                last edited by Oct 27, 2017, 5:05 PM

                                @sebastian-roth Sorry, just spoke to her. (She’s working on trying our Mac capture at the moment). The issue she was experiencing at that moment was because she had no selected the OS type when setting up the capture. Once she did that we were able to successfully capture and image. That’s when we ran into the issue of restoring the image back to a larger disk and it not expanding to the full size.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Dec 2, 2017, 1:07 PM

                                  @caw001 @rboan ???

                                  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
                                  • 2
                                  • 1 / 2
                                  • First post
                                    Last post

                                  178

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project