All of lore.kernel.org
 help / color / mirror / Atom feed
* Can not remove the subdirectory in cgroup pseudo-filesystem
@ 2009-03-25 16:24 anqin
       [not found] ` <d95d44a20903250924p2fb28afdq7ac47cac372c7de3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: anqin @ 2009-03-25 16:24 UTC (permalink / raw)
  To: Linux Containers

Dear all,

I have met a straight problem in my recent operation.
Previously, I can do the following operations:

# mount -t cgroup cgroup /mnt/cgrp
# cd /mnt/cgrp
# mkdir test
# echo $$ > test/tasks
# rm  -rf test

but now I met the straight permission with the same
operation while I am root:

# mount -t cgroup cgroup /mnt/cgrp
# cd /mnt/cgrp
# mkdir test
# echo $$ > test/tasks
-bash: echo: write error: No space left on device
# rm  -rf test
rm: cannot remove `/mnt/cgrp/test/cpuset.memory_spread_slab':
Operation not permitted
rm: cannot remove `/mnt/cgrp/test/cpuset.memory_spread_page':
Operation not permitted
rm: cannot remove `/mnt/cgrp/test/cpuset.memory_pressure': Operation
not permitted
...

I guess maybe the permission attributes block my operation, but I
checked with lsattr
and got the following message:

# lsattr /mnt/cgrp/test
lsattr: Inappropriate ioctl for device While reading flags on
/mnt/cgrp/test/cpuset.memory_spread_slab
lsattr: Inappropriate ioctl for device While reading flags on
/mnt/cgrp/test/cpuset.memory_spread_page
lsattr: Inappropriate ioctl for device While reading flags on
/mnt/cgrp/test/cpuset.memory_pressure
...

I have no idea how to fix it. Any help?

Thank you very much,

Anqin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-27  3:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25 16:24 Can not remove the subdirectory in cgroup pseudo-filesystem anqin
     [not found] ` <d95d44a20903250924p2fb28afdq7ac47cac372c7de3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-25 16:37   ` Serge E. Hallyn
     [not found]     ` <20090325163702.GA17626-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-03-25 17:11       ` anqin
     [not found]         ` <d95d44a20903251011u5786c780wb3a0a0cc3b759689-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-26  1:15           ` Li Zefan
     [not found]             ` <49CAD714.4080307-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2009-03-26  1:51               ` Serge E. Hallyn
2009-03-27  3:06               ` anqin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.