Article ID: 121519, created on May 9, 2014, last review on May 10, 2014

  • Applies to:
  • Virtuozzo
  • Virtuozzo containers for Linux
  • Virtuozzo hypervisor

Symptoms

A migration of a container fails with the following error messages:

Internal error: exec vzmdest failed 
[5376] : vzsock_init() return 1

Cause

There's no space left on /vz partition on the target server.

Resolution

Clean up /vz partition to free the disk space.

Troubleshooting

Run the migration with extra verbosity:

[root@vz1 ~]# vzmigrate -vvv --dry-run --online root@172.16.0.152 3442654
1399573947: ssh -T -q -c arcfour -o StrictHostKeyChecking=no -o CheckHostIP=no -o UserKnownHostsFile=/dev/null -o PreferredAuthentications=publickey,password,keyboard-interactive -o ServerAliveCountMax=3 -o ServerAliveInterval=1200 root@172.16.0.152 true
root@172.16.0.152's password:
1399573950: ssh -T -q -c arcfour -o StrictHostKeyChecking=no -o CheckHostIP=no -o UserKnownHostsFile=/dev/null -o PreferredAuthentications=publickey,password,keyboard-interactive -o ServerAliveCountMax=3 -o ServerAliveInterval=1200 root@172.16.0.152 /usr/sbin/vzmdest 605 -v --online '3442654:3442654'
1399573950: can't connect to destination node
[root@Nariesco-03 ~]# ssh -T -q -c arcfour -o StrictHostKeyChecking=no -o CheckHostIP=no -o UserKnownHostsFile=/dev/null -o PreferredAuthentications=publickey,password,keyboard-interactive -o ServerAliveCountMax=3 -o ServerAliveInterval=1200 root@172.16.0.152 /usr/sbin/vzmdest 605 -v --online '3442654:3442654'
root@172.16.0.152's password:
1399573337: vzsock_init() return 1

Notice that the failure happens after running vzmdest. Launch it manually on the destination server under strace:

[root@vz2 ~]# strace -vvvttTfs4096 -o vzmdest.log /usr/sbin/vzmdest 605 -v --online '3442654:3442654'
1399573412: vzsock_init() return 1

Check the resulting log file to find the actual error message:

191941 11:23:32.827957 mkdir("/vz/tmp//vzsock.0WXZfQ", 0700) = -1 ENOSPC (No space left on device) <0.000070>

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f e8e50b42231236b82df27684e7ec0beb 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF