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

NVMe madness

Scheduled Pinned Locked Moved
General
5
40
7.5k
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.
  • S
    Sebastian Roth Moderator
    last edited by Nov 4, 2020, 8:10 PM

    This is committed to the fos repo and will be available in the next release.

    @Tom-Elliott Should we re-phrase the name of that field or just leave it like that and add this information to the documentation?

    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

    T 2 Replies Last reply Nov 4, 2020, 8:46 PM Reply Quote 0
    • T
      Tom Elliott @Sebastian Roth
      last edited by Nov 4, 2020, 8:46 PM

      @Sebastian-Roth I think leave as is but update documentation.

      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
      • S
        Sebastian Roth Moderator
        last edited by Nov 4, 2020, 8:50 PM

        @JJ-Fullmer @Jurgen-Goedbloed Would one of you take care of adding this new feature to the documentation?

        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 1
        • T
          Tom Elliott @Sebastian Roth
          last edited by Nov 4, 2020, 8:55 PM

          @Sebastian-Roth hmmm what about a new field specifically designed for the size? If hard drive specified default to that, else if size specified match drive based on that?

          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 1
          • S
            Sebastian Roth Moderator
            last edited by Nov 4, 2020, 8:56 PM

            @Tom-Elliott But why have another file if they can’t be used in combination anyway? It’s either or!

            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

            T 1 Reply Last reply Nov 4, 2020, 8:58 PM Reply Quote 0
            • T
              Tom Elliott @Sebastian Roth
              last edited by Nov 4, 2020, 8:58 PM

              @Sebastian-Roth that’s what I mean. If you have specified the hdd use that. If hdd not found but you have size defined, try to find matching size. If both or either defined but not exist error out.

              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

              Q 1 Reply Last reply Nov 5, 2020, 10:09 AM Reply Quote 0
              • Q
                Quazz Moderator @Tom Elliott
                last edited by Quazz Nov 5, 2020, 4:26 AM Nov 5, 2020, 10:09 AM

                @Tom-Elliott I kind of like that idea of a fallback mechanism, but I fear that it would kind of nullify what it’s trying to solve in a way.

                Few people would know about the NVME naming scheme being essentially random on each boot and thus may presumably fill in the name of the drive. This would then get used and the size (if filled in) would be ignored.

                I think if it were to be implemented as such, then the GUI should inform to use size over name for NVME drives.

                PS: What happens when you have 2 identical drives?

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth Nov 5, 2020, 4:41 AM Nov 5, 2020, 10:40 AM

                  @Quazz Right, using a second field will just allow for people to confuse things. While we try to give people more responsibility instead of trying to solve all things within the code I don’t think adding another field is valuable in this term. It’s a simple case of either or in one field and there is no situation where specifying both size and dev name at the same time makes sense.

                  PS: What happens when you have 2 identical drives?

                  I have thought about this while implementing the multi disk NVMe code and this new stuff as well but I don’t think there is any possible way we can help people with two identical sized disks. If we store disk identifiers (globally unique) it cannot be deployed to a different target machine. As far as I see size is the only parameter helping us to solve this dilemma.

                  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

                  F 1 Reply Last reply Nov 5, 2020, 8:31 PM Reply Quote 0
                  • F
                    Fog_Newb @Sebastian Roth
                    last edited by Nov 5, 2020, 8:31 PM

                    @Sebastian-Roth

                    Quick question. Does 1.5.9.36 dev build have these NVME related intits?

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Nov 5, 2020, 9:15 PM

                      @Fog_Newb No, not yet.

                      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

                      F 1 Reply Last reply Nov 6, 2020, 6:01 AM Reply Quote 0
                      • F
                        Fog_Newb @Sebastian Roth
                        last edited by Nov 6, 2020, 6:01 AM

                        @Sebastian-Roth

                        Thanks. I updated and instead of checking I got lazy and posted. Where can I find info on what’s changed in each dev build? Github didn’t seem to have anything listed.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Nov 6, 2020, 8:12 AM

                          @Fog_Newb Every dev version is just one single new commit to the dev-branch. So you know what changed looking at the commit history on github.

                          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

                          F 1 Reply Last reply Nov 6, 2020, 5:00 PM Reply Quote 0
                          • F
                            Fog_Newb @Sebastian Roth
                            last edited by Nov 6, 2020, 5:00 PM

                            @sebastian-roth

                            Thanks.

                            JJ FullmerJ 1 Reply Last reply Nov 9, 2020, 3:02 PM Reply Quote 0
                            • JJ FullmerJ
                              JJ Fullmer Testers @Fog_Newb
                              last edited by Nov 9, 2020, 3:02 PM

                              @fog_newb I suggest bookmarking https://github.com/FOGProject/fogproject/commits/dev-branch
                              So you can do a quick check for updates on the dev-branch anytime 😃

                              @Sebastian-Roth So, just so I’m documenting the right thing.
                              Should I update the field’s documentation here https://docs.fogproject.org/en/latest/management/host-management.html#primary-disk
                              With a note (and a link to this forum post) that you can put either the devname or the exact blocksize/sector count with the linux command to find said sector count. Is that command accessible in the fog debug console? It looks like in windows you can use the powershell command get-disk | select Number, "FriendlyName", Size to list available disks by number and friendly name and display the blocksize. So it can be found fairly easily in Windows and Linux.

                              Is just adding a note by the field enough, or should there be a separate page explaining nvme selection?

                              Have you tried the FogApi powershell module? It's pretty cool IMHO
                              https://github.com/darksidemilk/FogApi
                              https://fogapi.readthedocs.io/en/latest/
                              https://www.powershellgallery.com/packages/FogApi
                              https://forums.fogproject.org/topic/12026/powershell-api-module

                              F 1 Reply Last reply Nov 12, 2020, 8:59 PM Reply Quote 0
                              • F
                                Fog_Newb @JJ Fullmer
                                last edited by Nov 12, 2020, 8:59 PM

                                @jj-fullmer

                                Thanks. That is exactly what I did.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Jul 11, 2021, 2:35 PM

                                  @JJ-Fullmer said:

                                  Should I update the field’s documentation here https://docs.fogproject.org/en/latest/management/host-management.html#primary-disk

                                  I had this on my list for a long time but somehow lost track of this, sorry.

                                  The command on the FOS debug console would be: blockdev --getsize64 /dev/nvme0n1 (or whatever disk you want to get the block count from, e.g. /dev/sda)

                                  It looks like in windows you can use the powershell command get-disk | select Number, "FriendlyName", Size …

                                  Could be right but I am not exactly sure. Would you be able to verify this is the same number as we get from blockdev --getsize64 ... on a few systems?

                                  Is just adding a note by the field enough, or should there be a separate page explaining nvme selection?

                                  From my point of view adding this as a note is enough. The current explanation is pretty short and we might also add some examples.

                                  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

                                  F 1 Reply Last reply Jul 11, 2021, 3:35 PM Reply Quote 0
                                  • F
                                    Fog_Newb @Sebastian Roth
                                    last edited by Jul 11, 2021, 3:35 PM

                                    @sebastian-roth

                                    Are the new version going to have inits that use the device size? I am still copying over those custom ones after every update.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by Jul 11, 2021, 8:18 PM

                                      @fog_newb said in NVMe madness:

                                      Are the new version going to have inits that use the device size? I am still copying over those custom ones after every update.

                                      Absolutely, the current inits on the fogproject website have the feature included. Though there was a bug in the script code that broke a deployment when no Host Primary Disk is set: https://forums.fogproject.org/topic/15523/dell-5060

                                      I will update the official inits as soon as we have a reply the fixed init is working.

                                      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
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by Oct 6, 2021, 3:17 PM

                                        Hi @JJ-Fullmer, as we have new requests on this topic I am going to rework this part again. So don’t bother about editing this part of the docs yet. 🙂

                                        It looks like in windows you can use the powershell command get-disk | select Number, “FriendlyName”, Size …

                                        Could be right but I am not exactly sure. Would you be able to verify this is the same number as we get from blockdev --getsize64 … on a few systems?

                                        Can you please verify this is correct?

                                        Is just adding a note by the field enough, or should there be a separate page explaining nvme selection?

                                        From my point of view adding this as a note is enough. The current explanation is pretty short and we might also add some examples.

                                        The new logic will be a bit more complex under the hood but still pretty straight forward for users. So adding this to the docs when it’s done together with some examples should be enough.

                                        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

                                        JJ FullmerJ 1 Reply Last reply Oct 8, 2021, 2:20 PM Reply Quote 1
                                        • JJ FullmerJ
                                          JJ Fullmer Testers @Sebastian Roth
                                          last edited by Oct 8, 2021, 2:20 PM

                                          @sebastian-roth I need to get back into those docs. Things have been just so crazy lately. When you have something working let me know and we’ll get it documented.

                                          Have you tried the FogApi powershell module? It's pretty cool IMHO
                                          https://github.com/darksidemilk/FogApi
                                          https://fogapi.readthedocs.io/en/latest/
                                          https://www.powershellgallery.com/packages/FogApi
                                          https://forums.fogproject.org/topic/12026/powershell-api-module

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

                                          170

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project