Article ID: 123199, created on Oct 21, 2014, last review on Oct 21, 2014

  • Applies to:
  • Virtuozzo 6.0

Symptoms

Creating snapshot of a container fails with the following error:

# prlctl snapshot 101
Creating the snapshot...
Operation failed. Can not suspend Container: Resource temporarily unavailable
Error: foreign process 1931/171550(vzctl) inside CT (e.g. vzctl enter or vzctl exec).
Error: suspend is impossible now.
Error: foreign process 1931/171550(vzctl) inside CT (e.g. vzctl enter or vzctl exec).
Error: suspend is impossible now.
Error: foreign process 1931/171550(vzctl) inside CT (e.g. vzctl enter or vzctl exec).
Error: suspend is impossible now.
Failed to checkpoint the Container
Cannot join the checkpoint context 101: No such file or directory
Failed to create snapshot

"vzctl enter" process is present inside of the container:

# vzps auxf -E 101
USER         PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root      171550  0.0  0.0 33752  624 ?        Ss   20:15   0:00 vzctl: pts/0
root      171551  0.0  0.0 12076 1668 /vz/root/101/dev/pts/0 Ss 20:15   0:00  \_ -bash

The same symptoms are observed during Suspend of the container.

Cause

Snapshot cannot be created when "vzctl enter" or "vzctl exec" process is running inside of the container.

Resolution

Close "vzctl enter" connection or kill its process ("# kill 171550" for the example above)

Search Words

Failed to create snapshot

Resource temporarily unavailable

vzctl inside container

Error: foreign process

Error: suspend is impossible now

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF