Smartmontools
-
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 -
This is a question for super @stormi (he's traveling to FOSDEM, so expect a small delay)
-
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.
-
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
-
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.
-
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)
-
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.
-
@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.
-
It is always the best to test it first on a test system before you install something to production and break something.
-
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.
-
@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?
-
@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.
-
@Pete-S Can you maybe send me your E-Mail Address? Then I can send it to you. The RPM has around 250KB.
-
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-packagesIf 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