Re: DAOS server start failed(NVMe Scan Failed: privileged binary execution failed)


JiangYu
 

I'm using an RPM built and distributed by the DAOS project team.
So I need to adjust the compiler optimization to compile the daos binary to run it?
Can you tell me where I need to modify the compiler optimizations? How do I compile it?
Thank you very much!

[root@Rocky-1 ~]# rpm -qa | grep daos
daos-client-2.2.0-4.el8.x86_64
daos-2.2.0-4.el8.x86_64
daos-server-2.2.0-4.el8.x86_64
daos-admin-2.2.0-4.el8.x86_64

[root@Rocky-1 ~]# rpm -qa | grep spdk
spdk-tools-22.01.1-2.el8.noarch
spdk-22.01.1-2.el8.x86_64

[root@Rocky-1 ~]# rpm -qa | grep dpdk
dpdk-21.11.1-1.el8.x86_64

[root@Rocky-1 ~]# cat /etc/yum.repos.d/daos-packages.repo 
[daos-packages]
name=DAOS v2.2.0 Packages Packages
baseurl=https://packages.daos.io/private/v2.2.0/EL8/packages/x86_64
enabled=1
gpgcheck=1
protect=1
gpgkey="https://packages.daos.io/RPM-GPG-KEY"

[root@Rocky-1 ~]# cat /etc/os-release 
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

Join daos@daos.groups.io to automatically receive all group messages.