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

    Intel Raid0 Image Capture

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    39
    12.6k
    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.
    • Tom ElliottT
      Tom Elliott @george1421
      last edited by

      @george1421 what was the function the error came from?

      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

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

        @Tom-Elliott getPartitons from download. I’ll have to look at the code again

        [edit] here is the call chain
        fog.download:restorePartition->funcs.sh:runPartprobe->funcs.sh:performRestore->funcs.sh:getValidRestorePartitions->funcs.sh:getPartitions

        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
        • george1421G
          george1421 Moderator
          last edited by

          Updating the trouble code
          lsblk -I 3,8,9,179,259 -lpno KNAME,TYPE /dev/md126 | awk '{if ($2 ~ /part/) print $1}'

          to
          lsblk -I 3,8,9,179,259 -lpno KNAME,TYPE /dev/md126 | awk '{if ($2 ~ /md/) print $1}'

          Allowed the system to image in debug mode. I doubt it will run because I don’t have the raid drivers in my pushed image, but imaging did complete fully without error.

          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!

          J 1 Reply Last reply Reply Quote 0
          • J
            jpmartin @Sebastian Roth
            last edited by

            @Sebastian-Roth said in Intel Raid0 Image Capture:

            @jpmartin George’s mdadm -D /dev/md126 seems to be very handy and informative. Give that a try!

            No image file found that would match the partitions to be restored
            args passed /dev/md126 /images/WIN7ENTX64 all
            

            Guess that’s just a matter of tuning the init scripts to make this work. Will have a look tomorrow. Marking this unread… 😉

            Here you go:

            mdadm -D /dev/md126.txt

            1 Reply Last reply Reply Quote 0
            • J
              jpmartin @george1421
              last edited by

              @george1421 Have you been able to capture an image from the machine?

              Do you think it’d be possible to capture a Single Disk Resizable image from these fake raid machines?

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

                I updated the source for this to allow for if ($2 ~ /part/ || $2 ~ /md/).

                Hopefully this will work for you needs.

                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

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

                  @Tom-Elliott That should do it very nicely!!

                  The OP will need to update to the latest release of the FOG trunk once the change has been pushed. I can confirm that it works. I still have my test rig set running.

                  As for “Do you think it’d be possible to capture a Single Disk Resizable image from these fake raid machines?”. I was able to deploy to this machine once I hacked the init (not needed now) so I also assume you should be able to capture resizeable. My deploy was a single disk resizeable 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!

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

                    @george1421 I don’t know if it will “capture” unless the primary device is set though.

                    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

                    george1421G 1 Reply Last reply Reply Quote 1
                    • george1421G
                      george1421 Moderator @Tom Elliott
                      last edited by george1421

                      @Tom-Elliott Right. I know I have a wall of text in this one. But to use these fake raid systems you have to update the host registration with these settings. Without these set FOS will only see just a bunch of disks and not the array.

                      Host Kernel Arguments: mdraid=true
                      Host Primary Disk: /dev/md126
                      

                      [edit] Corrected the extra bits in the host primary disk

                      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!

                      J 1 Reply Last reply Reply Quote 1
                      • J
                        jpmartin @george1421
                        last edited by jpmartin

                        @george1421 where does “Here” come from in “/dev/md126Here” in your post just below?

                        Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @jpmartin
                          last edited by Tom Elliott

                          @jpmartin I think he was just typing. Ultimately, remove the “Here” as I highly doubt you all have a “/dev/md126Here” labeled device. :smiley_face_here:

                          As we don’t have smilies I suppose it would be better to add a bit that I’m just playing around.

                          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

                          J 1 Reply Last reply Reply Quote 1
                          • J
                            jpmartin @Tom Elliott
                            last edited by

                            @Tom-Elliott That’s what I was thinking too. But was just checking to make sure I didn’t miss anything.

                            Have the changes been pushed to the svn trunk so I can update and test?

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

                              @jpmartin said in Intel Raid0 Image Capture:

                              @george1421 where does “Here” come from in “/dev/md126Here” in your post just below?

                              Sorry trying to do my job and play at the same time, victim of copy/paste. Tom is right its just /dev/md126

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

                                Yes, changes have been pushed and init’s are updated. Reinstalling will work as well, but I still say to just update.

                                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

                                J 1 Reply Last reply Reply Quote 1
                                • J
                                  jpmartin @Tom Elliott
                                  last edited by

                                  @Tom-Elliott Excellent. I’ll update and report back.

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

                                    Bingo!! my test bench system is deploying!!

                                    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
                                    • J
                                      jpmartin
                                      last edited by jpmartin

                                      Running a Resizable Capture now.

                                      Fog is resizing the file system currently.

                                      Will test deploy after this image is captured.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jpmartin
                                        last edited by

                                        Resizable capture worked perfectly.

                                        Running deploy now, should be finished in ~6 minutes, all is looking good so far.

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

                                          @jpmartin That’s great!! I’ll have to write this up in a tutorial so that its document properly now.

                                          (Shameless donation request)
                                          Please, if your company finds value in the FOG management tools, please consider donating to the FOG Project. The level of support, bug fixes, and rapid feature advancements companies receive from the FOG Project are at levels much higher than almost all Tier 1 support groups. If all companies and organizations that productively use FOG within their site(s), just contributed $50USD to the FOG project, it would really help to support a very worthwhile ecosystem.

                                          https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=HDNGul2s1DMK-1eBcZtrcJ6rgFBp8bM1UVV6PqAZImVR2KYvV8M6a5RIEke&dispatch=5885d80a13c0db1f8e263663d3faee8d64813b57e559a2578463e58274899069

                                          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!

                                          J 1 Reply Last reply Reply Quote 2
                                          • S
                                            Sebastian Roth Moderator
                                            last edited by

                                            Thank you guys for working together and getting this fixed in just about 24 hours! This is amazing!

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

                                            196

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project