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

    Windows 11 | 65x HP Z2 Tower G1i | UPDATE -

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    26 Posts 3 Posters 933 Views
    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 @kratkale
      last edited by

      @kratkale You don’t need the clonezilla to see this information though admittedly it’s not exactly straight forward.

      You can load FOG into debug mode and it will drop you to a shell where you can then run the lsblk command as well.

      That said, if booting to clonezilla isn’t that difficult a thing, then it’s all good either way.

      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

      K 3 Replies Last reply Reply Quote 0
      • K
        kratkale @Tom Elliott
        last edited by

        @Tom-Elliott
        Here’s something else funny—the serial numbers aren’t unique! I have a duplicate…
        Two differnt PC’s CAD009 and CAD023 🙂
        5e43beca-4446-409b-9356-47c18f02bfc4-grafik.png
        698a0dc5-b91c-4d0b-86d2-daf589282279-grafik.png

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

          @Tom-Elliott
          Today again the Serial numbers of the nvme are lost in the FOG Database - I don’t know why …
          Thats why I again cloned the file system to the wrong nvme 😞

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

            @Tom-Elliott
            to make a backup I use now sql in bash

            root@fog:~# mysql -u root -N -B -e “USE fog; SELECT CONCAT(‘UPDATE hosts SET hostDevice = ‘’’, hostDevice, ‘’’ WHERE hostID = ', hostID, ‘;’)FROM hosts;” > restore_hostdevice.sql

            and restore with
            root@fog:~# mysql -u root fog < restore_hostdevice.sql

            1 Reply Last reply Reply Quote 0
            • K
              kratkale @kratkale
              last edited by

              @Tom-Elliott
              Again Serial Numbers lost: checking with:

              mysql -u root fog -e “SELECT hostName FROM hosts WHERE hostDevice IS NULL OR hostDevice = ‘’;”

              root@fog:~/NVME_Problem# ./anzeigen
              ±---------+
              | hostName |
              ±---------+
              | PC116CAD |
              | PC118CAD |
              | PC121CAD |
              | PC110CAD |
              | PC112CAD |
              | PC034CAD |
              | PC026CAD |
              | PC015CAD |
              | PC016CAD |
              | pc101cad |
              | pc008cad |
              ±---------+
              root@fog:~/NVME_Problem#

              I’ve no idea what happend.

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

                @kratkale I’m confused what you mean their serial numbers are erased?

                FOG isn’t overwriting the serial numbers on these devices.

                Furthermore, Serial numbers aren’t stored directly on the host, they’re stored on the inventory table.

                That column (hostDevice) is about storing what device a host will be using to image against.

                If somebody is updating the group, the empty hostDevice (Group device for groups) would likely be overwriting it.

                I’ve pushed a code change to hopefully address this particular issue in the latest dev-branch.

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

                67

                Online

                12.7k

                Users

                17.6k

                Topics

                156.5k

                Posts
                Copyright © 2012-2026 FOG Project