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

    m.2 PCIe SSD not recognised in FOG

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    9
    54
    42.7k
    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

      @Wayne-Workman Thanks for the link but I don’t think we need this as we have a 4.x kernel already running. It seams to recognize the disk and partitions as we see in the lsblk output!

      @Toby777 Would you mind another debug session? Please run the following three commands and see if this hangs:

      udevadm settle
      blockdev --rereadpt /dev/nvme0n1
      sfdisk -l /dev/nvme0n1
      

      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
      • Tom ElliottT
        Tom Elliott @Toby777
        last edited by

        @Toby777 I believe I found the hang accidentally. I too was seeing a hang on my side but I don’t know what was causing it. I edited more of the files and retested things and it looks like all is working if you’d be willing to test again. The suggestion I’d make is to schedule the tasking as debug (choose capture like normal and check the schedule as debug) first. That way you can get the info Sebastian is requesting. To perform the tasking at the cmd prompt just type fog. This should make you step through almost every phase so if things hang you can break out. It helps me a little as well as I can more clearly find out what is hanging.

        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

        T 2 Replies Last reply Reply Quote 0
        • T
          Toby777 @Tom Elliott
          last edited by

          @Tom-Elliott Thanks Tom. I’m currently interstate for this week so once I’m back at our main office next week, I will perform the testing.
          Thanks

          1 Reply Last reply Reply Quote 0
          • T
            Toby777 @Tom Elliott
            last edited by

            @Tom-Elliott Hi Tom, I updated to trunk 6084 and did the debug testing as you requested. Screen shots below…

            Image set to Single Disk - Resizable
            0_1453683916941_IMG_7382.JPG

            Image set to Multiple Partition Image - Single Disk (Not Resizable)
            0_1453683979277_IMG_7383.JPG

            Tom ElliottT 1 Reply Last reply Reply Quote 1
            • Tom ElliottT
              Tom Elliott @Toby777
              last edited by

              @Toby777 from debug what’s the output of:

              sgdisk -b "/tmp/d1.mbr" /dev/nvme0n1

              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

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @Tom Elliott
                last edited by

                I believe I found, and hopefully fixed, this issue. Please re update and try again when you can. Thank you.

                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

                T 2 Replies Last reply Reply Quote 0
                • T
                  Toby777 @Tom Elliott
                  last edited by

                  @Tom-Elliott ok cool… will do that now.

                  The output of the previous command was…

                  Invalid partition data!
                  
                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • T
                    Toby777 @Tom Elliott
                    last edited by

                    @Tom-Elliott Same error unfortunately 😞

                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Toby777
                      last edited by

                      @Toby777 for that, I suspect you built the image as MBR? But the original format was in GPT. I’m just guessing as the message from the command you ran earlier seems to indicate a gpt linkage failure.

                      Can you run fixparts /dev/nvme0n1 and let us know the output? I’d also recommend if it states it needs repair to approve and save the changes to the disk. Then run fog.

                      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

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        Toby777 @Tom Elliott
                        last edited by

                        @Tom-Elliott Hi Tom, running that command seems to have resolved the issue and it was able to successfully upload the image to the FOG server. This is while the image was set to Multiple Partition Image - Single Disk (Not Resizable)

                        When I changed it to single disk - resizable, the below error appeared…
                        0_1453691638158_FullSizeRender.jpg

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @Toby777
                          last edited by

                          @Toby777 thank you again. I found the issue that error was spewing out and am rebuilding inits again. Give it about 10 minutes and try updating again. This is very much appreciated.

                          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
                          • Tom ElliottT
                            Tom Elliott
                            last edited by

                            All republished.

                            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

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              Toby777 @Tom Elliott
                              last edited by

                              @Tom-Elliott Thanks Tom, have updated and performed an upload using Single Disk Resizable and it uploaded without any errors.

                              I also then performed a deployment task of the Image and it was successful, windows boots up fine etc… just saw it come up with an error about changing the hostname.

                              0_1453698056662_FullSizeRender.jpg

                              1 Reply Last reply Reply Quote 0
                              • O
                                onepotato
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • O
                                  onepotato @Toby777
                                  last edited by

                                  hello, i’m having the same issue with a Samsung SM951 PCIe NVMe as Toby777’s post below.
                                  The only thing that works is ‘raw image’, otherwise i’m getting the same error as Toby777.
                                  I tried different init.xz and init_32.xz as suggested in other posts to no avail.
                                  Running Fog 1.2 on CentOS 6. Any ideas? Thanks!

                                  @Toby777 said:

                                  Hi Tom,

                                  Got the Dell tech to replace the motherboard today.

                                  Latest Fog trunk now recognises the nvme SSD.

                                  When the Image is set to Single Disk - Resizable, it hangs at…

                                  * Saving original patition table......................
                                  

                                  When Image is set to Multiple Partition Image - Single Disk (Not Resizable), it hangs at…

                                  * Now FOG will attempt to upload the image using Partclone
                                  * Processing Hard Disk: /dev/nvme0n1
                                  

                                  When Image is set to Raw Image, it starts the upload…
                                  0_1452663982495_FullSizeRender.jpg

                                  I’m fine with using Raw Image if that’s what works. 🙂

                                  Tom ElliottT george1421G JJ FullmerJ 3 Replies Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott @onepotato
                                    last edited by

                                    @onepotato You may want to upgrade to trunk, as 1.2.0 is not very good with anything labeled other than /dev/{h,s}d* devices.

                                    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

                                    O 1 Reply Last reply Reply Quote 2
                                    • george1421G
                                      george1421 Moderator @onepotato
                                      last edited by

                                      @onepotato Are you running the trunk build of 1.2.0 (a.k.a 1.3.0 beta) or just 1.2.0 stable?

                                      With these memory disk devices, you would be better off upgrading to the trunk build since there has been great strides taken to fix these memory disk devices.

                                      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 2
                                      • JJ FullmerJ
                                        JJ Fullmer Testers @onepotato
                                        last edited by

                                        @onepotato NVME works on trunk for all partition types. I tested it myself 😃
                                        you can read more about the adventure to getting it working here…
                                        https://forums.fogproject.org/topic/6315/hp-z640-nvme-pci-e-drive

                                        Or you can just trust me, it will work and follow the following instructions to upgrade your fog version
                                        https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                                        Have you tried the FogApi powershell module? It's pretty cool IMHO
                                        https://github.com/darksidemilk/FogApi
                                        https://fogapi.readthedocs.io/en/latest/
                                        https://www.powershellgallery.com/packages/FogApi
                                        https://forums.fogproject.org/topic/12026/powershell-api-module

                                        1 Reply Last reply Reply Quote 2
                                        • O
                                          onepotato @Tom Elliott
                                          last edited by onepotato

                                          @Tom-Elliott @Arrowhead-IT @george1421 Thanks. I might stop make it work with 1.2 then!
                                          I did try to upgrade to 1.2 and it just broke everything so I reverted back to 1.2
                                          I tried setting up a new server running CentOS 7 and fog trunk but it’s not working either, just getting a blank page when trying to access the console towards the end of the install to set up the DB.
                                          Anyway. I’ll try and set up a trunk version again!
                                          Thanks for your help

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 3 / 3
                                          • First post
                                            Last post

                                          190

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project