search for: lssubsys

Displaying 3 results from an estimated 3 matches for "lssubsys".

2013 Mar 19
2
Errors while using blkiotune command
Hi all, I want to limit the I/O bandwidth inside the container, so I used virsh command blkiotune. But when I enter a command: virsh # blkiotune lxcguest --weight 250 I get following errors: error: Unable to change blkio parameters error: Requested operation is not valid: blkio cgroup isn't mounted I also have blkio cgroup mounted. What can be the problem? Thanks in advance. Regards,
2013 Jun 07
0
Re: cgroup error starting domains
...grep -wq cgroup /proc/filesystems ; then if [ -d /sys/fs/cgroup ]; then - mount -t cgroup cgroup /sys/fs/cgroup + # Mount a tmpfs as the cgroup filesystem root + /sbin/mount -t tmpfs cgroup_root /sys/fs/cgroup + # Mount individual cgroup controllers: + controllers="$(/usr/bin/lssubsys -a 2>/dev/null | tr '\n' ' ' | /usr/bin/sed s/.$//)" + for i in $controllers; do + /usr/bin/mkdir /sys/fs/cgroup/$i + /sbin/mount -t cgroup -o $i $i /sys/fs/cgroup/$i + done else mkdir -p /dev/cgroup mount -t cgroup cgroup /dev/cgroup This way v...
2013 Jun 07
2
Re: cgroup error starting domains
On Fri, Jun 07, 2013 at 01:07:01PM +0200, Matteo Bernardini wrote: > Thanks Daniel for helping with this :) > > # cat /proc/mounts [snip] > cgroup /sys/fs/cgroup cgroup rw,relatime,bfqio,hugetlb,perf_event,blkio,net_cls,freezer,devices,memory,cpuacct,cpu,cpuset,clone_children Ok so here you've mounted all the cgroups controllers at the same place. This is really strongly