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

    Replicating to lower-size hard drive

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    4
    1.1k
    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.
    • M
      Mika56
      last edited by

      Server
      • FOG Version: 1.3.4
      • OS: Debian 8
      Client
      • Service Version: N/A
      • OS: Windows 7 POSReady
      Description

      Hi,

      I am currently deploying 17 new computers. I created the image from one of the computers, and deployed it successfully to 15 of the 16 computers.
      On that computer, the SSD drive is sightly different, and seems to be of a lower size.
      When I try to restore, I get the following error:

      No image file(s) found that would match the partition(s) to be restored
      

      I started a debug restore session and was able to debug the problem a little bit further.
      From what I was able to diagnose, Fog restores the GPT partition table from the master image. However, as the drives have a slightly different size, an invalid partition table is applied.
      fdisk -l says

      GPT PMBR size mismatch (125045423 != 123091919) will be corrected by w(rite).
      Disk /dev/sda: 58.7 GiB, 63023063040 bytes, 123091920 sectors
      

      I tried manually recreating a valid partition table, but it seems that Fog restores the partition table from the image, even though it is invalid for that SSD drive.

      Do you have any idea of something that I could do to restore the image?

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        Can we get you to update to 1.3.5? There were several fixes addressed between 1.3.4 and 1.3.5. If you can tolerate being on a RC (dev) release 1.4.0RC4 fixes a few more issues with differing disk 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!

        1 Reply Last reply Reply Quote 1
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          I agree with @george1421 FOG 1.3.5 specifically has tons of fixes for GPT resizing. It is probably safe to say that GPT resizing never even worked until FOG 1.3.5

          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
          • M
            Mika56
            last edited by

            Hello,

            I updated our Fog server to 1.3.5 and am happy to report success!
            The image was deployed to the computer that was having the problem without any action.

            How can I flag this post as solved?

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

            197

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project