XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Smartmontools

    Scheduled Pinned Locked Moved Development
    14 Posts 5 Posters 4.6k Views 3 Watching
    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 Offline
      scott.ehas
      last edited by

      Hello,

      The Smartmontools on XCP-NG is a very old version. Is it possible we can get this version upgraded to the latest in CentOS 7?

      The latest Smartmontools in the CentOS RPM repository is version 6.5-1 which has support for aacraid raid controllers. Can't install the RPM directly because xcp-ng-deps depends on the 6.2-4 version.

      Thanks,
      Scott Ehas

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        This is a question for super @stormi 😄 (he's traveling to FOSDEM, so expect a small delay)

        1 Reply Last reply Reply Quote 0
        • G Offline
          gangsterrapper22
          last edited by

          I have compiled a Smartmontools 6.5.1 Version with xcp-ng-build-env as RPM, but I couldn't upload here. Is it maybe possbile that I can share you the Package @olivierlambert that you an upload it? I have tested it on a XenServer 7.6 because I didn't have a XCP-NG Host installed right now, but I think it should work.

          I attached also an Screenshot.smartmontools.PNG

          1 Reply Last reply Reply Quote 1
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Sure, send it to contact at xcp dash ng dot org

            Then @stormi will check it and then we could push it in the repo 🙂

            1 Reply Last reply Reply Quote 0
            • G Offline
              gangsterrapper22
              last edited by

              I have send you the E-Mail with the RPM for the Smartmontools. Maybe you can test it also on XCP-NG if it works correctly there.

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                Here is a link to the package: https://cloud.vates.fr/index.php/s/qEP33EejadLBejv/download

                Note: it's NOT tested by me or @stormi I'm just hosting what @gangsterrapper22 sent 🙂 I'll test when I can (right now I'm out of the office for a FOSDEM talk tomorrow)

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gangsterrapper22
                  last edited by gangsterrapper22

                  I just tried it also on XCP-ng 7.6 and there the RPM also works for me. See also attached Screenshot with old Version and then the Version after I have installed the RPM.
                  smartmontools_xcp-ng.PNG

                  S 1 Reply Last reply Reply Quote 1
                  • S Offline
                    scott.ehas @gangsterrapper22
                    last edited by

                    @gangsterrapper22 Thanks for testing this so fast. I was able to use the official package on a development system without any problems, but I didn't want it to break anything on production when it comes to updating.

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      gangsterrapper22
                      last edited by

                      It is always the best to test it first on a test system before you install something to production and break something.

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Pete.S
                        last edited by

                        Should really have nvme-cli in xcp-ng as well.

                        Smartmontools 6.5 has experimental nvme support but nvme-cli is the native tool for it.

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          gangsterrapper22
                          last edited by

                          @Pete-S I have compiled a RPM for nvme-cli. I can share it to you if you want to test it. Currently I don't have a nvme to test it, but the command "nvme" works in CLI.

                          @olivierlambert Should I also share the RPM to you, that you can upload it for testing, if you are interested in it?

                          P 1 Reply Last reply Reply Quote 1
                          • P Offline
                            Pete.S @gangsterrapper22
                            last edited by Pete.S

                            @gangsterrapper22 said in Smartmontools:

                            @Pete-S I have compiled a RPM for nvme-cli. I can share it to you if you want to test it. Currently I don't have a nvme to test it, but the command "nvme" works in CLI.

                            @olivierlambert Should I also share the RPM to you, that you can upload it for testing, if you are interested in it?

                            That's great! And yes, I'd like to test it. I have two hosts with enterprise nvme drives where I will run xcp-ng.

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              gangsterrapper22
                              last edited by

                              @Pete-S Can you maybe send me your E-Mail Address? Then I can send it to you. The RPM has around 250KB.

                              1 Reply Last reply Reply Quote 0
                              • stormiS Offline
                                stormi Vates 🪐 XCP-ng Team
                                last edited by

                                smartmontools is available in latest CentOS repositories so it will likely be updated in next release of XCP-ng which will use updated CentOS packages. It's also available in our repository for testing updated CentOS packages with XCP-ng: https://xcp-ng.org/forum/topic/726/experimental-update-of-centos-packages

                                If you don't want to take the risky route, just add the test repository by downloading the .repo file, then edit it to disable xcp-ng-centos_testing by default, and then use it only for installing the updated smartmontools with:

                                yum update smartmontools --enablerepo='xcp-ng-centos_testing'
                                

                                nvme-cli is not available in that repository, but it is from CentOS: https://centos.pkgs.org/7/centos-updates-x86_64/nvme-cli-1.6-4.el7_6.x86_64.rpm.html and I added it to the wishlist at https://github.com/xcp-ng/xcp/issues/56

                                olivierlambert created this issue in xcp-ng/xcp

                                open List of useful extra packages for dom0 #56

                                1 Reply Last reply Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • First post
                                  Last post