[CRIU] Can't move into blkio//lxc/ycu/tasks (-1/-1): No such file or directory

Kuprieiev Ruslan rkuprieiev at cloudlinux.com
Mon Mar 30 10:12:28 PDT 2015


Hi!

I run into a similar error:

(00.021016)   4635: cg: Move into 2
(00.021036)   4635: cg:   `-> beancounter//1000/tasks
(00.021073)   4635: cg:   `-> blkio//1000/tasks
(00.021120)   4635: Error (cgroup.c:907): cg: Can't move into 
blkio//1000/tasks (-1/-1): No such file or directory

Dump and restore logs are attached as well as /sys/fs/cgroup/blkio tree.

Thanks,
Ruslan

On 01/04/2015 05:43 PM, Tycho Andersen wrote:
> On Sun, Jan 04, 2015 at 04:31:18PM +0800, linuxchyu at sina.com wrote:
>> Hello, I caught an error when i do the migration operation of LXC. Every thing is Ok, if i use the criu version 1.2. But there is an error in the restore stage  when i use the 1.3.1 or 1.4 version criu.  So , how can i fix this error ? The error logs are :
>> (00.130519)      1: nr_restored_pages: 291
>> (00.130523)      1: nr_shared_pages:   0
>> (00.130526)      1: nr_droped_pages:   0
>> (00.130600)      1: cg: Move into 2
>> (00.130610)      1: cg: copying special cg props for blkio
>> (00.130614)      1: cg:   `-> blkio//lxc/ycu/tasks
>> (00.130624)      1: Error (cgroup.c:958): cg: Can't move into blkio//lxc/ycu/tasks (-1/-1): No such file or directory
>> (00.130668) Error (cr-restore.c:1780): Restoring FAILED.
> Can you post a full log and show the directory tree for the blkio
> cgroup? What this means is that it thinks it created the /lxc/ycu
> cgroup, but somehow it failed and is bombing when trying to move the
> container back into that cgroup.
>
> Tycho
>
>> Thanks!
>>
>>
>> linuxchyu at sina.com
>> _______________________________________________
>> CRIU mailing list
>> CRIU at openvz.org
>> https://lists.openvz.org/mailman/listinfo/criu
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu

-------------- next part --------------
total 0
drwxr-xr-x  3 root root   0 Mar 30 12:58 .
drwxr-xr-x 14 root root 320 Mar 30 12:48 ..
drwxr-xr-x  2 root root   0 Mar 30 12:48 0
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_merged
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_merged_recursive
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_queued
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_queued_recursive
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_service_bytes
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_service_bytes_recursive
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_serviced
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_serviced_recursive
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_service_time
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_service_time_recursive
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_wait_time
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.io_wait_time_recursive
-rw-r--r--  1 root root   0 Mar 30 12:48 blkio.leaf_weight
-rw-r--r--  1 root root   0 Mar 30 12:48 blkio.leaf_weight_device
--w-------  1 root root   0 Mar 30 12:48 blkio.reset_stats
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.sectors
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.sectors_recursive
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.throttle.io_service_bytes
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.throttle.io_serviced
-rw-r--r--  1 root root   0 Mar 30 12:48 blkio.throttle.read_bps_device
-rw-r--r--  1 root root   0 Mar 30 12:48 blkio.throttle.read_iops_device
-rw-r--r--  1 root root   0 Mar 30 12:48 blkio.throttle.write_bps_device
-rw-r--r--  1 root root   0 Mar 30 12:48 blkio.throttle.write_iops_device
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.time
-r--r--r--  1 root root   0 Mar 30 12:48 blkio.time_recursive
-rw-r--r--  1 root root   0 Mar 30 12:48 blkio.weight
-rw-r--r--  1 root root   0 Mar 30 12:48 blkio.weight_device
-rw-r--r--  1 root root   0 Mar 30 12:48 cgroup.clone_children
--w--w--w-  1 root root   0 Mar 30 12:48 cgroup.event_control
-rw-r--r--  1 root root   0 Mar 30 12:48 cgroup.procs
-r--r--r--  1 root root   0 Mar 30 12:48 cgroup.sane_behavior
-rw-r--r--  1 root root   0 Mar 30 12:48 notify_on_release
-rw-r--r--  1 root root   0 Mar 30 12:48 release_agent
-rw-r--r--  1 root root   0 Mar 30 12:48 self_destruction
-rw-r--r--  1 root root   0 Mar 30 12:48 tasks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump.log
Type: text/x-log
Size: 76231 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150330/c22a2af0/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: restore.log
Type: text/x-log
Size: 75703 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150330/c22a2af0/attachment-0003.bin>


More information about the CRIU mailing list