OpenVZ Forum


Home » General » Support » Error: Unknown image version: 400. Can't restore.
Error: Unknown image version: 400. Can't restore. [message #34418] Tue, 30 December 2008 18:15 Go to next message
remofritzsche is currently offline  remofritzsche
Messages: 3
Registered: December 2008
Location: Switzerland
Junior Member
Hi There

When I try to migrate a VPS from one server to another (source: 2.6.24-6-fza-amd64, destination: 2.6.18-12-fza-amd64) with the command

vzmigrate --online vzhost02 101


the following error appears:


vzhost01:/vz# vzmigrate -v --online vzhost02 101
OPT:-v
OPT:--online
OPT:vzhost02
StartingOpenVZ is running...
101.conf                                      100% 1754     1.7KB/s   00:00    
Saved parameters for CT 101
      Initializing      SyncingLive   Setting up checkpoint...
	suspend...
	get context...
Checkpointing completed succesfully
   Setting up checkpoint...
	join context..
	dump...
Checkpointing completed succesfully
dump.101                                      100%  966KB 965.7KB/s   00:00    
quotadump.101                                 100%   21     0.0KB/s   00:00    
      Restoring container ...
Starting container ...
vzquota : (warning) Quota is running for id 101 already
Container is mounted
	undump...
Container start failed
Error: undump failed: Invalid argument
Restoring failed:
Error: Unknown image version: 400. Can't restore.
Container is unmounted
Error: Resuming...
vzquota : (error) Quota is not running for id 101


The guest os is just a plain debian from the template debian-4.0-amd64-minimal.tar.gz with an apache2 installed and running).

Would be great if you can help us!

Thank you a lot in advance
Remo
Re: Error: Unknown image version: 400. Can't restore. [message #34420 is a reply to message #34418] Tue, 30 December 2008 22:01 Go to previous messageGo to next message
remofritzsche is currently offline  remofritzsche
Messages: 3
Registered: December 2008
Location: Switzerland
Junior Member
Tried to another server, another error message. Hope you can help...


vzhost01:~/.ssh# vzmigrate --online -v 192.168.0.100 101
OPT:--online
OPT:-v
OPT:192.168.0.100
StartingOpenVZ is running...
101.conf                                                                                  100% 1754     1.7KB/s   00:00    
101: unrecognized option `--applyconfig_map'
      Initializing      SyncingLive   Setting up checkpoint...
	suspend...
	get context...
Checkpointing completed succesfully
   Setting up checkpoint...
	join context..
	dump...
Checkpointing completed succesfully
dump.101                                                                                  100%  962KB 961.7KB/s   00:00    
quotadump.101                                                                             100%   21     0.0KB/s   00:00    
      Restoring VPS ...
Starting VPS ...
vzquota : (warning) Quota is running for id 101 already
VPS is mounted
	undump...
VPS start failed
Error: undump failed: Invalid argument
Restoring failed:
Error: HZ mismatch: 1000 != 250
VPS is unmounted
Error: Resuming...
vzquota : (error) Quota is not running for id 101
vzhost01:~/.ssh#
Re: Error: Unknown image version: 400. Can't restore. [message #34421 is a reply to message #34418] Tue, 30 December 2008 23:59 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

It's not possibile to restore a cpt dump from an
2.6.24 to an 2.6.18 kernel
cpt versions missmatched -> see Error: Unknown image version: 400. Can't restore.

overview, taken from the OpenVZ git tree 2.6.27
[linux-2.6.27-openvz] / include / linux / cpt_image.h

[...]
#define CPT_VERSION_8 0
#define CPT_VERSION_9 0x100
#define CPT_VERSION_9_1 0x101
#define CPT_VERSION_9_2 0x102
#define CPT_VERSION_16 0x200
#define CPT_VERSION_18 0x300
#define CPT_VERSION_18_1 0x301
#define CPT_VERSION_20 0x400
#define CPT_VERSION_24 0x500
#define CPT_VERSION_26 0x600
#define CPT_VERSION_27 0x700

Bye,
Thorsten
Re: Error: Unknown image version: 400. Can't restore. [message #34422 is a reply to message #34420] Wed, 31 December 2008 00:07 Go to previous message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

and the second error :

[...]
> Error: HZ mismatch: 1000 != 250

target kernel isn't compile with kernel option :
[...]
CONFIG_HZ_1000=y
CONFIG_HZ=1000

on checkpointing/restoring source and target kernels must setup on built with same HZ.

Bye,
Thorsten
Previous Topic: Confusion about Burst RAM..
Next Topic: Disk Quota and OCFS2
Goto Forum:
  


Current Time: Sat Aug 02 12:19:05 GMT 2025

Total time taken to generate the page: 0.98462 seconds