[Lxc-users] cgroup question
Serge Hallyn
serge.hallyn at ubuntu.com
Wed Apr 10 13:09:12 UTC 2013
Quoting Kevin Wilson (wkevils at gmail.com):
> Hello, lxc-users gurus,
>
> cgroup question:
> Is it permitted to run this cgroup sequence:
>
> mount -t tmpfs cgroup_root /cgroup1
> mount -t tmpfs cgroup_root /cgroup2
>
> And then try to create and mount subsystems to /cgroup1 and /cgroup2?
>
> or is permitted to mount cgroup_root only once ?
cgroup_root is just an arbitrary name on a tmpfs mount. It has nothing
to do with the actual cgroup filesystems. It's the later steps which
matter
(i.e. mkdir /cgroup1/freezer; mount -t cgroupfs -o freezer freezer /cgroup1/freezer),
but you don't show them here.
> I don't have any error with mounting twice cgroup_root, but i get error later
> when trying to mount cpuset (for example) on /cgroup2
>
> rgs,
> Kevin
>
>
> Or is the
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
More information about the lxc-users
mailing list