It is impossible to suspend (migrate, convert in online mode) a container which has
tarversion older than
1.23 installed if it is running on a node with the kernel
~# vzctl suspend 101 Setting up checkpoint... suspend... dump... Can not dump the Container: Invalid argument Error: tar exited with 64 Failed to checkpoint the Container
2.6.32-042stab102.9 uses a feature of a new
1.23 and newer) which is not supported by older
For CentOS 4 Issue has been recognized as a product bug with internal ID #PSBM-32452. For CentOS 5 Issue has been recognized as a product bug with internal ID #PSBM-31038.
For CentOS 4: The issue has not been fixed yet, as the tar exit code is not 64 but 2.
For CentOS 5:
Issue is permanently fixed in a kernel
2.6.32-042stab103.6. Update kernel and reboot the node in order to address the issue.
If hardware node reboot is not an option at this moment you may resort to one of the following workarounds:
- Update tar inside of container to a version 1.23 or newer. (NB: tar 1.24 is broken, it cannot restore device files)
- Migrate/convert the container in offline mode.
- Prior to migration/conversion check all mounts using a
tmpfsFS type. Unmount all nested mounts for
tmpfsmount points, e.g.
/dev/ptsis considered as a nested mount for