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

Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation)

Scheduled Pinned Locked Moved Solved
Bug Reports
5
50
13.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.
  • S
    Sebastian Roth Moderator
    last edited by Sebastian Roth May 6, 2019, 11:42 AM May 6, 2019, 5:41 PM

    @austinjt01 said in Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation):

    So I re-ran the FOG installer.

    The md5 sums we see in the picture are definitely not the most current ones. Which installer version did you run? Where did you download FOG? I mean from github or downloaded an archive?

    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

    A 1 Reply Last reply May 6, 2019, 6:24 PM Reply Quote 0
    • A
      austinjt01 @Sebastian Roth
      last edited by May 6, 2019, 6:24 PM

      @Sebastian-Roth I ran the updates and got the same output that you have below.

      Seem to still have trouble with capture / deploy though. Keeps getting hung up on “Changing hostname…”

      I manually installed the updates and got this as the output
      35c99458-d092-4c10-8f02-69f11f609ea0-image.png

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by May 6, 2019, 8:51 PM

        @austinjt01 said in Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation):

        Seem to still have trouble with capture / deploy though. Keeps getting hung up on “Changing hostname…”

        What do you mean by “hung up”?? Please take a picture of the screen 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

        A 1 Reply Last reply May 6, 2019, 8:55 PM Reply Quote 0
        • A
          austinjt01 @Sebastian Roth
          last edited by May 6, 2019, 8:55 PM

          @Sebastian-Roth IMG_0241.jpg

          It will just sit here and not do anything.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by May 6, 2019, 9:02 PM

            @austinjt01 This is the exact same picture you posted days ago. I can hardly believe you see the exact same screen again as we have changed the size of the init files and I would expect the “No space left in device” error to have vanished.

            Please take a new picture of what exactly you have on screen when it hangs!

            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

            A 1 Reply Last reply May 6, 2019, 9:45 PM Reply Quote 0
            • A
              austinjt01 @Sebastian Roth
              last edited by austinjt01 May 6, 2019, 3:53 PM May 6, 2019, 9:45 PM

              @Sebastian-Roth Yeah you are right, I grabbed a different laptop to test on just now and everything is fine. Thanks for your help, I really appreciate it and your support.

              Edit: The capture worked this time, but the deploy gives this error.

              IMG_0270.jpg
              Picture was taken just now

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by May 7, 2019, 7:54 AM

                @george1421 @Junkhacker Is anyone able to to reproduce this issue?!?!?

                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 May 7, 2019, 11:49 AM Reply Quote 0
                • G
                  george1421 Moderator @Sebastian Roth
                  last edited by george1421 May 7, 2019, 5:50 AM May 7, 2019, 11:49 AM

                  @Sebastian-Roth said in Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation):

                  @george1421 @Junkhacker Is anyone able to to reproduce this issue?!?!?

                  I can not duplicate the issue here, but that just means the circumstances (environment) is different.

                  I did see something that raised a red flag.

                  I have our images stored on our media server, if I path over to /mnt/media-images/<IMAGENAME>/d1.partitions

                  How are you doing this? You are not supposed to be able to reshare an nfs mounted share (technically you can, but fog is not configured to support it). You can’t do that in ms windows either.

                  Images are captured to /images/dev/<mac_address> directory (nfs share) and then “moved” to the /images/<image_name> directory using the ftp server built into the fog server. At the very least if /images/dev is on the fog server and /mnt/media-images/<image_name> is on the NFS share the ftp server will have to copy the entire image to the remote nfs server instead of just moving the file pointers as it would if the /images/dev and /images are on the same disk. If you want to store your images on an NFS nas but have the fog server manage the process there is another (unsupported) configuration you can use instead of resharing an nfs mount.

                  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!

                  A 1 Reply Last reply May 8, 2019, 5:30 PM Reply Quote 0
                  • A
                    austinjt01 @george1421
                    last edited by austinjt01 May 8, 2019, 11:31 AM May 8, 2019, 5:30 PM

                    @george1421 Our storage node that we have setup is on ‘media’
                    ‘/mnt/media-images’ is just an admin shortcut for us to navigate easier we aren’t using that for uploading or downloading. Upon capture the storage location on the FOG screen is listed as: ip address:/mnt/pool/it/images/dev/ Is it a possibility that the image is being captured into DEV but not being copied out of dev during deploy?

                    IMG_0274.jpg

                    The other thing I have to add to this, I have 7 different brands of laptops. All of the other brands work (Capture and Deploy) just fine. These new laptops we just got (30, Lenovo P52s) they are at least two years newer than any other device in our inventory. Do you think they need to be set up on UEFI instead of Legacy boot?? The only drastic difference between these machines is that they all have SSD’s which I didn’t think would make a difference?

                    Thanks

                    G 1 Reply Last reply May 8, 2019, 5:33 PM Reply Quote 0
                    • G
                      george1421 Moderator @austinjt01
                      last edited by May 8, 2019, 5:33 PM

                      @austinjt01 is 10.228.255.10 your fog server?

                      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!

                      A 1 Reply Last reply May 8, 2019, 5:51 PM Reply Quote 0
                      • A
                        austinjt01 @george1421
                        last edited by May 8, 2019, 5:51 PM

                        @george1421 no, that’s the IP of our file server. .3 is the FOG server IP

                        G 1 Reply Last reply May 8, 2019, 5:57 PM Reply Quote 0
                        • G
                          george1421 Moderator @austinjt01
                          last edited by May 8, 2019, 5:57 PM

                          @austinjt01 So your file server is a linux server with the fog code installed? Or is it a linux (like) nas device?

                          Do you have this working using the non-supported configuration where you create a second storage node and then set that node as the master? I’m still trying to understand your landscape.

                          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!

                          A 1 Reply Last reply May 8, 2019, 6:07 PM Reply Quote 0
                          • A
                            austinjt01 @george1421
                            last edited by May 8, 2019, 6:07 PM

                            @george1421
                            Our file server based on FreeNAS.

                            I know that this isn’t supported by FOG, I guess I am just curious as to why everything will still work except for our new laptops.

                            ‘fog’ is our master node, points to /mnt/media-images (backed by NFS) ‘media’ is an additional node, points to /mnt/pool/it/images (direct NAS). We set it up this way because the images are stored on a server with about 12 TB free currently.

                            G 1 Reply Last reply May 8, 2019, 6:55 PM Reply Quote 0
                            • G
                              george1421 Moderator @austinjt01
                              last edited by george1421 May 8, 2019, 12:59 PM May 8, 2019, 6:55 PM

                              @austinjt01 Well… I don’t have an answer why it works on everything except this laptop model.

                              On your freenas box you then will need the ftp service running with a user ID and password you listed in the storage node definition configured to allow the fog client to move the files. If the ftp service isn’t configured correctly your images will stay in /images/dev/<mac_address> (you will need to translate that path into your environment) and not be renamed to /images/<image_name>.

                              While its a little off-point and also not supported, here is a tutorial to make a synology NAS function as a FOG Storage Node: https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node

                              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 May 22, 2019, 3:48 PM

                                @george1421 @Tom-Elliott I am still wondering if the “No space left on device” was caused by another error and it’s not actually the rootfs being too small. I need to double check when booted into FOS later on but I think we don’t actually have a space issue. Should we still increase root fs size?

                                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

                                Tom ElliottT 1 Reply Last reply May 22, 2019, 4:14 PM Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @Sebastian Roth
                                  last edited by May 22, 2019, 4:14 PM

                                  @Sebastian-Roth The “no space” is in regards to building the registry file we use to set the hostname on the machine. This happens in the /tmp space on FOS. There’s possibly something else causing the no space left (meaning it’s filling the initfs rather than the disk itself.) For example, postdownload trying to install drivers after mounting to /mnt (but the mount doesn’t actually happen)

                                  So it may not be something we directly caused, but it is something that occurred and is related to the initfs being filled up.

                                  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
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by May 22, 2019, 5:05 PM

                                    @Tom-Elliott said in Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation):

                                    There’s possibly something else causing the no space left (meaning it’s filling the initfs rather than the disk itself.)

                                    I am farily sure this was the case here. I just booted a client into FOS and see that we still have 4.7 MB of free space. Doesn’t sound like much but that’s heaps for a couple of text files we generate.

                                    I was just wondering if adding more space will cause us more trouble than it helps. More often than not I forget to tell people to update FOG settings when using the new init. Sure we can update that value in the next release but I am wondering if it’s worth it. On the other hand updating it a fair bit now will prevent us from issues that might come at some point when we keep adding to the inits little by little.

                                    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 May 22, 2019, 5:35 PM Reply Quote 0
                                    • G
                                      george1421 Moderator @Sebastian Roth
                                      last edited by george1421 May 22, 2019, 11:36 AM May 22, 2019, 5:35 PM

                                      @Sebastian-Roth said in Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation):

                                      I just booted a client into FOS and see that we still have 4.7 MB of free space

                                      Didn’t we update this initfs to 256MB with this change to the build root config file? If I remember correctly the fog default was 100MB.

                                      BR2_TARGET_ROOTFS_EXT2_SIZE="256M"
                                      

                                      I’ll have to boot my last initrd file to see the free space, but 4MB sounds small. I might understand if its tempfs that is out of space. I think I remember that defaults to 4MB. That might be the space we are having issues with.

                                      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 May 23, 2019, 9:21 AM

                                        @george1421 said in Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation):

                                        Didn’t we update this initfs to 256MB with this change to the build root config file? If I remember correctly the fog default was 100MB.

                                        Absolutely right but I have that feeling that this might cause us some trouble in the future when we tell people to manually update the inits to get some new fix and they’ll end in a kernel panic. Sure this is something we can fix quickly by telling them to update the size setting in the web UI but it’s kind of anoying. On the other hand we probably will need to push up the size at some point anyway - that or I need to work through the whole config and see what we can get rid of (e.g. toss out partimage support at some point in time) to free some space.

                                        I’ll have to boot my last initrd file to see the free space, but 4MB sounds small.

                                        4.7 MB is free with the old 100 MB sized initrd. I think that’s enough at the moment.

                                        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 May 23, 2019, 11:42 AM Reply Quote 0
                                        • G
                                          george1421 Moderator @Sebastian Roth
                                          last edited by May 23, 2019, 11:42 AM

                                          @Sebastian-Roth said in Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation):

                                          4.7 MB is free with the old 100 MB sized initrd. I think that’s enough at the moment.

                                          Not to be a jerk about that, but it appears not to be the case: https://forums.fogproject.org/post/123344 Looking at that error message FOS is trying to append to /usr/share/fog/lib/EOFREG. Do we know what circumstances that extra 4.7MB of space is being consumed not leaving room for this trivial text file? I don’t see that issue with my deployments, so there must be something unique about what the OP is deploying. I don’t feel that tossing out partimage would be of value because there are “still” people migrating from 0.3.x to the latest version of FOG.

                                          Sure this is something we can fix quickly by telling them to update the size setting in the web UI but it’s kind of annoying.

                                          Why not with the next release just update this value in the web ui to 256MB and then up the init fs size to 200MB? Having a bit more room in the FOS fs would also give the possibility to slide in new (unsupported) applications during the fos postinit process. I think it would be fairly rare to find a system with less that 1GB of ram now days, even the arm systems have 1GB of ram. With a 200MB fs that is still consuming less than 1/4 of the available ram for the FOS fs.

                                          Maybe the proper course of action if we want to keep the 100MB fs disk is to have the OP generate this error again in debug mode, when the “no disk space issue” is hit, crtl-c out and then run some cli commands to find out where the disk space is consumed. There has to be something doing this in the OPs environment.

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

                                          222

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project