cpuset is searching for ll /cpusets/ total 4 drwxr-xr-x 2 root root 0 Jul 24 11:14 ./ drwxr-xr-x 24 root root 4096 Jul 24 11:14 ../ -rw-r--r-- 1 root root 0 Jul 24 11:14 cgroup.clone_children --w--w--w- 1 root root 0 Jul 24 11:14 cgroup.event_control -rw-r--r-- 1 root root 0 Jul 24 11:14 cgroup.procs -rw-r--r-- 1 root root 0 Jul 24 11:14 cpu_exclusive -rw-r--r-- 1 root root 0 Jul 24 11:14 cpus -rw-r--r-- 1 root root 0 Jul 24 11:14 mem_exclusive -rw-r--r-- 1 root root 0 Jul 24 11:14 mem_hardwall -rw-r--r-- 1 root root 0 Jul 24 11:14 memory_migrate -r--r--r-- 1 root root 0 Jul 24 11:14 memory_pressure -rw-r--r-- 1 root root 0 Jul 24 11:14 memory_pressure_enabled -rw-r--r-- 1 root root 0 Jul 24 11:14 memory_spread_page -rw-r--r-- 1 root root 0 Jul 24 11:14 memory_spread_slab -rw-r--r-- 1 root root 0 Jul 24 11:14 mems -rw-r--r-- 1 root root 0 Jul 24 11:14 notify_on_release -rw-r--r-- 1 root root 0 Jul 24 11:14 release_agent -rw-r--r-- 1 root root 0 Jul 24 11:14 sched_load_balance -rw-r--r-- 1 root root 0 Jul 24 11:14 sched_relax_domain_level -rw-r--r-- 1 root root 0 Jul 24 11:14 tasks
But in 3.2.0.26+ we have ll /cpusets/ total 4 drwxr-xr-x 3 root root 0 Jul 24 17:19 ./ drwxr-xr-x 24 root root 4096 Jul 25 16:14 ../ -rw-r--r-- 1 root root 0 Jul 24 17:19 cgroup.clone_children --w--w--w- 1 root root 0 Jul 24 17:19 cgroup.event_control -rw-r--r-- 1 root root 0 Jul 24 17:19 cgroup.procs -rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.cpu_exclusive -rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.cpus -rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.mem_exclusive -rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.mem_hardwall -rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.memory_migrate -r--r--r-- 1 root root 0 Jul 24 17:19 cpuset.memory_pressure -rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.memory_pressure_enabled -rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.memory_spread_page -rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.memory_spread_slab -rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.mems -rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.sched_load_balance -rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.sched_relax_domain_level drwxr-xr-x 4 root root 0 Jul 24 17:20 libvirt/ -rw-r--r-- 1 root root 0 Jul 24 17:19 notify_on_release -rw-r--r-- 1 root root 0 Jul 24 17:19 release_agent -rw-r--r-- 1 root root 0 Jul 24 17:19 tasks
So we need to change all path in the cset binary or we have this error # cset set cset: /cpusets/libvirt/lxc is not a cpuset directory cset: **> /cpusets/libvirt/lxc is not a cpuset directory
cpuset is searching for clone_children event_control pressure_ enabled domain_ level
ll /cpusets/
total 4
drwxr-xr-x 2 root root 0 Jul 24 11:14 ./
drwxr-xr-x 24 root root 4096 Jul 24 11:14 ../
-rw-r--r-- 1 root root 0 Jul 24 11:14 cgroup.
--w--w--w- 1 root root 0 Jul 24 11:14 cgroup.
-rw-r--r-- 1 root root 0 Jul 24 11:14 cgroup.procs
-rw-r--r-- 1 root root 0 Jul 24 11:14 cpu_exclusive
-rw-r--r-- 1 root root 0 Jul 24 11:14 cpus
-rw-r--r-- 1 root root 0 Jul 24 11:14 mem_exclusive
-rw-r--r-- 1 root root 0 Jul 24 11:14 mem_hardwall
-rw-r--r-- 1 root root 0 Jul 24 11:14 memory_migrate
-r--r--r-- 1 root root 0 Jul 24 11:14 memory_pressure
-rw-r--r-- 1 root root 0 Jul 24 11:14 memory_
-rw-r--r-- 1 root root 0 Jul 24 11:14 memory_spread_page
-rw-r--r-- 1 root root 0 Jul 24 11:14 memory_spread_slab
-rw-r--r-- 1 root root 0 Jul 24 11:14 mems
-rw-r--r-- 1 root root 0 Jul 24 11:14 notify_on_release
-rw-r--r-- 1 root root 0 Jul 24 11:14 release_agent
-rw-r--r-- 1 root root 0 Jul 24 11:14 sched_load_balance
-rw-r--r-- 1 root root 0 Jul 24 11:14 sched_relax_
-rw-r--r-- 1 root root 0 Jul 24 11:14 tasks
But in 3.2.0.26+ we have clone_children event_control cpu_exclusive mem_exclusive memory_ migrate memory_ pressure memory_ pressure_ enabled memory_ spread_ page memory_ spread_ slab sched_load_ balance sched_relax_ domain_ level
ll /cpusets/
total 4
drwxr-xr-x 3 root root 0 Jul 24 17:19 ./
drwxr-xr-x 24 root root 4096 Jul 25 16:14 ../
-rw-r--r-- 1 root root 0 Jul 24 17:19 cgroup.
--w--w--w- 1 root root 0 Jul 24 17:19 cgroup.
-rw-r--r-- 1 root root 0 Jul 24 17:19 cgroup.procs
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.cpus
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.mem_hardwall
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.
-r--r--r-- 1 root root 0 Jul 24 17:19 cpuset.
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.mems
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.
drwxr-xr-x 4 root root 0 Jul 24 17:20 libvirt/
-rw-r--r-- 1 root root 0 Jul 24 17:19 notify_on_release
-rw-r--r-- 1 root root 0 Jul 24 17:19 release_agent
-rw-r--r-- 1 root root 0 Jul 24 17:19 tasks
So we need to change all path in the cset binary or we have this error libvirt/ lxc is not a cpuset directory libvirt/ lxc is not a cpuset directory
# cset set
cset: /cpusets/
cset: **> /cpusets/