Hi, It is always better to run the external echo command: /bin/echo 1 > cpuset.mems instead of echo 1 > cpuset.mems as this command will display write(2) errors. see: man 7 cpuset regards, Rami Rosen http://ramirose.wix.com/ramirosen On Fri, Mar 29, 2013 at 8:44 PM, Kevin Wilson <wkevils@xxxxxxxxx> wrote: > Hi, > With > > echo 1 > cpuset.mems > everything worked! > > Best, > Kevin > > > On Fri, Mar 29, 2013 at 7:32 PM, Kevin Wilson <wkevils@xxxxxxxxx> wrote: >> Hello, >> >> I tried this sequence of actions according to >> Documentation/cgroups/cgroups.txt: >> >> mount -t tmpfs cgroup_root /sys/fs/cgroup >> mkdir /sys/fs/cgroup/cpuset >> mount -t cgroup cpuset -ocpuset /sys/fs/cgroup/cpuset >> cd /sys/fs/cgroup/cpuset >> mkdir Charlie >> cd Charlie >> /bin/echo 2-3 > cpuset.cpus >> >> >> [root@h Charlie]# /bin/echo 1 > cpuset.mems >> /bin/echo: write error: Invalid argument >> [root@h Charlie]# /bin/echo $$ > tasks >> /bin/echo: write error: No space left on device >> >> >> Any ideas why are these two error ? >> BTW: >> >> [root@h Charlie]# df -h >> df: ‘/sys/fs/cgroup/systemd’: No such file or directory >> df: ‘/sys/fs/cgroup/cpu,cpuacct’: No such file or directory >> df: ‘/sys/fs/cgroup/memory’: No such file or directory >> df: ‘/sys/fs/cgroup/devices’: No such file or directory >> df: ‘/sys/fs/cgroup/freezer’: No such file or directory >> df: ‘/sys/fs/cgroup/net_cls’: No such file or directory >> df: ‘/sys/fs/cgroup/blkio’: No such file or directory >> df: ‘/sys/fs/cgroup/perf_event’: No such file or directory >> Filesystem Size Used Avail Use% Mounted on >> devtmpfs 991M 0 991M 0% /dev >> tmpfs 1002M 324K 1002M 1% /dev/shm >> tmpfs 1002M 2.9M 999M 1% /run >> tmpfs 1002M 0 1002M 0% /sys/fs/cgroup >> >> So it seems that there is 1002M available on /sys/fs/cgroup >> >> any ideas? >> Kevin > -- > To unsubscribe from this list: send the line "unsubscribe cgroups" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html