Changes

Jump to navigation Jump to search
37 bytes removed ,  16:20, 20 October 2016
m
No need for a header repeating the article name
Line 1: Line 1: −
== Probing C/R (''--check-only'')==
  −
   
Sometimes CRIU fails to checkpoint or restore a process for various reasons. It might be that the process to be checkpointed cannot be dumped at all (see [[What cannot be checkpointed]] or that there are some problems which can be fixed. Running 'criu dump' with ''--leave-running'' to see if the checkpointing will work and then running 'criu restore' is always an option. If one of those operations (either 'dump' or 'restore') will fail the chances are high that there are problems with checkpointing or restoring. But a lot of memory might have already been dumped to disk and transferred to the destination system which is not necessary to test for a restore failure. If the restore, however, works the problem exists that the source process has been told to keep on running (''--leave-running'') which might be an undesired situation to have the process now running on the source and destination    system. To avoid a situation like this and to give an easier option to  test if 'criu dump' and 'criu restore' will work, this patch introduces the ''--check-only'' option:
 
Sometimes CRIU fails to checkpoint or restore a process for various reasons. It might be that the process to be checkpointed cannot be dumped at all (see [[What cannot be checkpointed]] or that there are some problems which can be fixed. Running 'criu dump' with ''--leave-running'' to see if the checkpointing will work and then running 'criu restore' is always an option. If one of those operations (either 'dump' or 'restore') will fail the chances are high that there are problems with checkpointing or restoring. But a lot of memory might have already been dumped to disk and transferred to the destination system which is not necessary to test for a restore failure. If the restore, however, works the problem exists that the source process has been told to keep on running (''--leave-running'') which might be an undesired situation to have the process now running on the source and destination    system. To avoid a situation like this and to give an easier option to  test if 'criu dump' and 'criu restore' will work, this patch introduces the ''--check-only'' option:
  

Navigation menu