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

Fog deploy drive order

Scheduled Pinned Locked Moved
FOG Problems
2
5
358
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 Sep 22, 2021, 6:58 PM

    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 Sep 23, 2021, 9:38 AM

      @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 Sep 28, 2021, 10:21 AM Sep 28, 2021, 4:21 PM

        @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 Sep 28, 2021, 11:07 AM Sep 28, 2021, 5:07 PM

          @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 Sep 28, 2021, 6:47 PM Reply Quote 0
          • R
            RocksAndRolls @Sebastian Roth
            last edited by Sep 28, 2021, 6:47 PM

            @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
            1 / 1
            • First post
              3/5
              Last post

            256

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project