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

    Fog deploy drive order

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    5
    360
    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.
    • R
      RocksAndRolls
      last edited by

      Hi I’m writing to some nvme systems. They have two nvme’s each.

      We remove the secondary 250GB drive from the boot order and just left the 400s in right after IBM CL PXE boot option. So only two boot options… not that that would really help I guess.
      There are no hard drive BBS options in this BIOS. Dont know if that helps anything.

      The deploy keeps going on the wrong drives sometimes!

      Do you know how we can force it to deploy to a particular drive?

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

        @RocksAndRolls The issue with two or more NVMe drives is that the Linux kernel (which we use in FOG) enumerates NVMe drives in a non-predictable way. On every boot the order can be different. We have struggled with this and added an option to distinguish NVMe drives by size some months ago.

        Which version of FOG do you use?

        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
        • R
          RocksAndRolls
          last edited by RocksAndRolls

          @sebastian-roth Hi thanks!

          Read a bit on here:
          https://forums.fogproject.org/topic/14822/nvme-madness/25?lang=en-US&page=2
          and tried to get the file listed in one of your posts in that thread:
          https://fogproject.org/inits/init-disk-size.xz
          but the link is dead. Not sure if thats critical or not?

          We ran blockdev --getsize64 /dev/nmveblabla
          and got this value:
          500107862016

          We put the drive size in bytes (above) into the “Host Primary disk” field.

          On boot after ipxe start, it says “Failed to read back partitions”
          and “Args Passed: 500107862016”
          Then it reboots.

          Is it possible that blockdev --getsize64 is outputting a slightly incorrect number so that it wouldn’t work?

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

            @rocksandrolls said in Fog deploy drive order:

            We ran blockdev --getsize64 /dev/nmveblabla
            and got this value:
            500107862016
            We put the drive size in bytes (above) into the “Host Primary disk” field.

            For this to work you need the latest FOS init. In my last post I asked which version of FOG you use for that exact reason.

            Read a bit on here:
            https://forums.fogproject.org/topic/14822/nvme-madness/25?lang=en-US&page=2
            and tried to get the file listed in one of your posts in that thread:
            https://fogproject.org/inits/init-disk-size.xz
            but the link is dead. Not sure if thats critical or not?

            I removed that link because this is part of the latest inits since some time.

            You can download those from github: https://github.com/FOGProject/fos/releases

            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

            R 1 Reply Last reply Reply Quote 0
            • R
              RocksAndRolls @Sebastian Roth
              last edited by

              @sebastian-roth OK thanks, we’re on Latest from 25.07.2021, so we’ll update and try. Thank you for your time. Fog really is amazing software and saved us big time!!

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

              188

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project