OpenVZ Forum


Home » General » Support » [SOLVED] live migration with extra mounts in VE
Re: live migration with extra mounts in VE [message #24240 is a reply to message #24201] Mon, 03 December 2007 13:31 Go to previous messageGo to previous message
frodo is currently offline  frodo
Messages: 6
Registered: December 2007
Junior Member
Hey Vasily,

The output of the vzmigrate command:

(dumping seems to work fine, undumping on the other node produces an error, in bold)

[root@sv-ard-drp8 dev]# vzmigrate -r no -v --online 192.168.254.30 120 OPT:-r
OPT:-v
OPT:--online
OPT:192.168.254.30
Starting online migration of VE 120 on 192.168.254.30
OpenVZ is running...
Loading /etc/vz/vz.conf and /etc/vz/conf/120.conf files
Check IPs on destination node:
Preparing remote node
Copying config file
120.conf 100% 1933 1.9KB/s 00:00
Saved parameters for VE 120
Creating remote VE root dir
Creating remote VE private dir
Initializing remote quota
Quota init
Turning remote quota on
Syncing private
Live migrating VE
Suspending VE
Setting up checkpoint...
suspend...
get context...
Checkpointing completed succesfully
Dumping VE
Setting up checkpoint...
join context..
dump...
Checkpointing completed succesfully
Copying dumpfile
dump.120 100% 1581KB 1.5MB/s 00:00
Syncing private (2nd pass)
Syncing 2nd level quota
Dumping 2nd level quota
Copying 2nd level quota
quotadump.120 100% 21 0.0KB/s 00:00
Load 2nd level quota
Undumping VE
Restoring VE ...
Starting VE ...
vzquota : (warning) Quota is running for id 120 already
VE is mounted
undump...
Setting CPU units: 1000
Setting devices
Configure meminfo: 49152
Configure veth devices: veth120.0
Initializing interface veth120.0 for VE120.
Adding interface veth120.0 to the bridge br1.
Error: undump failed: No such file or directory
Restoring failed:
-2 mounting /data/ftp ext3 40000000
rst_namespace: -2

VE start failed
Stopping VE ...
VE was stopped
VE is unmounted
Error: Failed to undump VE
Resuming...
vzquota : (error) Quota is not running for id 120
[root@sv-ard-drp8 dev]#



The dmesg output on the remote node gives me these error messages:

CPT ERR: df8a3800,120 :-2 mounting /data/ftp ext3 40000000
CPT ERR: df8a3800,120 :rst_namespace: -2

I am working with a logical volume created with lvm2.
This logical volume is visible on both nodes (I can mount it
simultaneously on both nodes, which is very dangerous, i know Smile

I have the following in my <VEID>.conf for this volume:

DEVNODES="sda:rw mapper/vg_120-lv_ftpdata:rw"

sda is the iscsi LUN that is shared between the nodes, and which contains the logical volume.

Regards,

frodo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzquota init failed [1]
Next Topic: DNS not resolving - IP works
Goto Forum:
  


Current Time: Mon Aug 05 09:24:03 GMT 2024

Total time taken to generate the page: 0.03237 seconds