Quoting Rishikesh K. Rajak ([EMAIL PROTECTED]):
>     -  Execute the following command inside container
>      delta:~ # mkdir /cpu
>      delta:~ # mount -t cgroup -ocpu cgroup /cpu
> 
>     -   delta:~ # umount /cpu
>         delta:~ # mount
>             ...
>             cgroup on /cpu type cgroup (rw,cpu)
>             cgroup on /cpu type cgroup (rw,cpu)
>             cgroup on /cpu type cgroup (rw,cpu)
>         delta:~ # umount /cpu
>             umount: cgroup: not found
>             umount: /cpu: not mounted
>             umount: cgroup: not found
>             umount: /cpu: not mounted
>             umount: cgroup: not found
>             umount: /cpu: not mounted
>             umount: cgroup: not found
>             umount: /cpu: not mounted

This really sounds to me like a bug in your mount and
umount commands.  When I do those steps in a container,
just typing 'mount' no longer shows /cpu mounted.

(If I had to guess at something, I'd say you have
/etc/mtab linked to /proc/mounts, and something with
that is going wrong, but it could be not that)

Check /proc/self/mounts before and after each step,
compare to /etc/mtab.

And try doing mount -n and umount -n.

-serge
_______________________________________________
Containers mailing list
[EMAIL PROTECTED]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to