https://access.redhat.com/solutions/3828331
tc command gives "Error: Specified qdisc not found" on RHEL 8
SOLUTION UNVERIFIED - 已更新 2019年四月23日01:38 -
环境
- Red Hat Enterprise Linux 8
问题
- Using qdisks via the
tc
command fails with the following error
Error: Specified qdisc not found
决议
- To properly use qdiscs, install the
kernel-modules-extra
package:
# yum -y install kernel-modules-extra
根源
In RHEL 8 qdiscs are shipped as kernel modules in package named kernel-modules-extra
.
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_atm.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_cbq.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_choke.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_drr.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_dsmark.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_gred.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_mqprio.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_multiq.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_netem.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_qfq.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_red.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_sfb.ko.xz
/lib/modules/4.18.0-32.el8.x86_64/extra/net/sched/sch_teql.ko.xz