OpenVZ Forum


Home » General » Support » vzctl restore: Error: undump failed: File exists (What does this mean?)
vzctl restore: Error: undump failed: File exists [message #42615] Fri, 06 May 2011 14:34 Go to next message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
Hi,

When doing online migration, I get the following error: Error: undump failed: File exists. Full output:

# vzmigrate -r no --keep-dst --online -v 10.7.222.2 301
Starting online migration of CT 301 to 10.7.222.2
OpenVZ is running...
   Loading /etc/vz/vz.conf and /etc/vz/conf/301.conf files
   Check IPs on destination node:
Preparing remote node
   Copying config file
301.conf                                      100% 1730     1.7KB/s   00:00
Name mail assigned
Saved parameters for CT 301
   Creating remote container root dir
   Creating remote container private dir
   VZ disk quota disabled -- skipping quota migration
Syncing private
Live migrating container...
   Suspending container
Setting up checkpoint...
        suspend...
        get context...
Checkpointing completed succesfully
   Dumping container
Setting up checkpoint...
        join context..
        dump...
Checkpointing completed succesfully
   Copying dumpfile
dump.301                                      100%  187MB  37.5MB/s   00:05
   Syncing private (2nd pass)
   VZ disk quota disabled -- skipping quota migration
   Undumping container
Restoring container ...
Starting container ...
Container is mounted
        undump...
Setting CPU units: 11222
Configure veth devices: veth301.0
Adding interface veth301.0 to bridge br-wan on CT0 for CT301
Error: undump failed: File exists
Restoring failed:
Error: open_deleted: no suffix
Error: rst_file: -17 308640
Error: rst_files: -17
Error: make_baby: -17
Error: rst_clone_children
Error: make_baby: -17
Error: rst_clone_children
Stopping container ...
Container start failed
Container was stopped
Container is unmounted
Error: Failed to undump container
Resuming...


This error is output from "vzctl restore" command on this line of vzmigrate script:

logexec 2 $SSH root@$host vzctl restore $VEID --undump  --dumpfile $VE_DUMPFILE --skip_arpdetect


Any hints/help is greatly appreciated!

Regards,
divB

/EDIT: I tried around with small and big containers ... very often I get some errors: File exists, no space left on device, ... Sometimes it helps to reboot the destination hardware node, sometimes it helps to restart specific services within a container, sometimes certain processes need to be killed before migration. In fact, it is pure random whether live migration works. It seems to be very error prone and mostly unuseable in practice. I am the one person who has these problems? There is very few information on google Sad Sad


[Updated on: Fri, 06 May 2011 16:48]

Report message to a moderator

Re: vzctl restore: Error: undump failed: File exists [message #44125 is a reply to message #42615] Fri, 18 November 2011 11:56 Go to previous messageGo to next message
Kamyk is currently offline  Kamyk
Messages: 1
Registered: November 2011
Location: Berlin
Junior Member
I have the same problems and I don't know how i can fix it Sad I will try to reboot destination server but after hours and try again, but maybe you find some better solution.

Best,

Kamyk
Re: vzctl restore: Error: undump failed: File exists [message #44144 is a reply to message #42615] Mon, 21 November 2011 20:20 Go to previous message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
Hi,

I do not know if this works but as far as I remember the error results from resource shortage of kernel objects.

You could try to raise the nr of allowed inotify objects in sysctl.conf:

fs.inotify.max_user_watches=16384


Regards,
divB
Previous Topic: Traffic shaping with tc question
Next Topic: *SOLVED* NAT/MASQUERADING inside VZ
Goto Forum:
  


Current Time: Sun Jul 14 07:14:36 GMT 2024

Total time taken to generate the page: 0.02254 seconds