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

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

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    24 Posts 3 Posters 807 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 I don’t know what you are asking.

      what’s nvme1n1 this boot cycle, might very well be nvme0n1 next cycle.

      While you may see some level on consistency, SERIAL based devices (PCI, SATA, USB, etc…)

      All load their identifiers (/dev/sda, /dev/nvme0n1, etc…) on a first come first serve basis.

      What’s /dev/sda1 this boot may be /dev/sdb1 next boot and so on. There’s 0 method to guarantee they will always get the same label which is why many Linux machines use a UUID for the fstab file now instead of their path names (which was used for a long period of time).

      FOG just returns the list of devices lsblk sees in the order lsblk sees it.

      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 1 Reply Last reply Reply Quote 0
      • K
        kratkale @kratkale
        last edited by

        @kratkale OK—I’ll try to explain it more clearly:
        FOG

        FOG clones (as you can see in the image) to nvme1. No host device was specified here. So FOG correctly identified the NVMe order and didn’t clone to nvme0, but to the wrong nvme1.
        I noticed that this happens with all devices where the NVMe serial number starts with a number. For those where the NVMe serial number starts with a letter, it clones correctly to nvme0. The NVMe on the data drive is a different brand and only has numbers as serial numbers.

        Clonzilla

        Clonzilla always gave me a choice between nvme0 and nvme1 when cloning. Here, the NVMe installed in the first slot in the PC was always nvme0, and the one installed in the second slot was always nvme1—so Clonzilla always correctly identifies which is the data drive and which is the system drive. The system drive is always installed in the first slot, and the data drive is always in the second.

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

          @Tom-Elliott
          Of course, if I change the image, for example, I have to use groups as well. Otherwise, I’d have to change the image on every PC by hand.
          In that case, I think it would be helpful if you could protect the “Host Primary Disk” entry on the host so that this information isn’t lost.

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

            @kratkale I’m unsure I understand?

            If the Group Primary Disk is empty, nothing should be changing on the hosts within the groups.

            Just update the group’s Image, and save.

            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 2 Replies Last reply Reply Quote 0
            • K
              kratkale @kratkale
              last edited by

              @kratkale
              as a feature request I would suggest to have the possibility to fix the host primary disk like the “protected” in Image General - just to be fail safe.

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

                @Tom-Elliott
                I can confirm, that it works to insert the serial number in Host Management | Host gernal | Host Primary Disk. You can take the value you get from booting with a clonzilla stick (Switch to the second console) and use lsblk -pdno SERIAL,SIZE
                25f30722-887b-43b8-acee-09ee45f61e35-grafik.png
                5e3f517f-4f09-4933-bef6-728f0ee59f72-grafik.png
                I did a test and used the wrong number in Host Primary Disk and start to clone:
                345998be-1406-4020-9c18-1878608eebae-grafik.png

                So it seems to work.

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

                  @Tom-Elliott
                  Tom Thank you for your great support.

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • 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 😞

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

                          82

                          Online

                          12.7k

                          Users

                          17.6k

                          Topics

                          156.5k

                          Posts
                          Copyright © 2012-2026 FOG Project