Reese Knowledgebase

No such file or directory error during vzmigrate

View Kristian Reese's profile on LinkedIn


If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 114
by: Reese K.
Posted: 03 Jul, 2013
Last updated: 11 Jul, 2013
Views: 1268

vzmigrate failure

cannot join cpt context: No such file or directory

Resuming VE#7178 ...
can not resume destination VE#7178 : cannot join cpt context: No such file or directory

Can't move/copy VE#7178 -> VE#7178, [], [] : cannot join cpt context: No such file or directory

Resuming VE#7178 ...

stop_track : ioctl on '/vz/root/CTID' : No such file or directory

Can't move/copy VE#7139 -> VE#7139, [], [] : Setup checkpoint ...
Child task was killed, status pipe was closed
Checkpointing of VE failed

Resuming VE#7139 ...
done
stop_track : ioctl on '/vz/root/7139' : No such file or directory

Solution:

The first place to check for clues is /var/log/messages on the destination.  You may see something like:

Jul 11 15:15:32 vps2 vzmdest: Can't restore state correctly : can not do quota off on VE#9510 : vzquota : (error) Quota off syscall for id 9510: Device or resource busy

check for full file system

[root@vps17 ~]# df -h /
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/mpsda1    4.0G  3.8G   31M 100% /

In performing hundreds of migrations:

  • I've found that freeing space will fix the issue for the stop_track : ioctl error
  • I've found that freeing space and removing all /tmp/tmp.file.xxxxxx files will fix the cannot join cpt context error
  • cannot join cpt context may also be due in part to lack of resources, perhaps privvmpages are insufficient and need to be increased

In either case, as long as no active migrations are running, I usually take both actions in freeing space and blowing away all /tmp/tmp.file.xxxxxx files before reattempting the migration.  If failure occurs once more, clean /tmp once again and attempt an offline migration by stopping the container and removing the --online option from the vzmigrate cmd line.

This article was:   Helpful | Not Helpful
Prev   Next
Online Migration Failure 'slm_dmprst module is not loaded'     Attempts to reset admin password result in 'ERROR 1146 (42S02)...

RSS