OpenVZ Forum


Home » General » Support » *KNOWN ISSUE* Problems with online migration on 031 kernel
*KNOWN ISSUE* Problems with online migration on 031 kernel [message #14780] Tue, 10 July 2007 12:48 Go to next message
draga is currently offline  draga
Messages: 20
Registered: July 2007
Junior Member
Hello everybody. Thanks to this forum's people I could successfully migrate my Via EPIA server into a wonderful VPS. It works like a charm and I'm able to offline migrate it between my desktop (amd64) and my laptop (i386) in few minutes.
Now I'll put back a small OpenVZ minimal system on the Epia, ready to be pushed back.
I have one problem with online migration... here's the result:

root@desktop:~# vzmigrate -r no --keep-dst --online -v 192.168.5.146 2000
OPT:-r
OPT:--keep-dst
OPT:--online
OPT:-v
OPT:192.168.5.146
Starting online migration of VE 2000 on 192.168.5.146
OpenVZ is running...
    Loading /etc/vz/vz.conf and /etc/vz/conf/2000.conf files
    Check IPs on destination node: 192.168.200.101
Preparing remote node
    Copying config file
2000.conf                                                        100% 2043     2.0KB/s   00:00
Saved parameters for VE 2000
Warning: too large value for VMGUARPAGES=9223372036854775807:9223372036854775807 was truncated
Warning: too large value for OOMGUARPAGES=6144:9223372036854775807 was truncated
Warning: too large value for PRIVVMPAGES=9223372036854775807:9223372036854775807 was truncated
Warning: too large value for PHYSPAGES=0:9223372036854775807 was truncated
    Creating remote VE root dir
    Creating remote VE private dir
    VZ disk quota disabled -- skipping quota migration
Syncing private
Live migrating VE
    Suspending VE
Setting up checkpoint...
        suspend...
Can not suspend VE: Device or resource busy
file on unsupported FS: magic 0bad1dea
Checkpointing failed
Error:  Failed to suspend VE

-.-.-.-.-.
The warnings I think are folded to different archs (amd64 and i386) between desktop and laptop. But...what does it happen? Why does it fail?
Google didn't help... thank you!

[Updated on: Wed, 11 July 2007 07:43] by Moderator

Report message to a moderator

Re: Problems with online migration [message #14781 is a reply to message #14780] Tue, 10 July 2007 13:50 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

Can you specify more precisely:

1) VE arch?
2) your notebook arch?
3) you desktop arch?
4) What migration fails: desktop->notebook or notebook->desktop?

Thanks,
Vasily.
Re: Problems with online migration [message #14783 is a reply to message #14781] Tue, 10 July 2007 14:23 Go to previous messageGo to next message
draga is currently offline  draga
Messages: 20
Registered: July 2007
Junior Member
Hello, sorry for being so generic Embarassed
Going to answer by points:

Vasily Tarasov wrote on Tue, 10 July 2007 09:50

Hello,

Can you specify more precisely:

1) VE arch?




It's a Debian sid x86. It was running on a physical server and has been brought to a VE yesterday. It runs fine after some tweaking.

Quote:



2) your notebook arch?




It's a Ubuntu 7.04 x86. It's running a self-compiled 2.6.18-028stab031 (I could not make any VE migrate with the 035)

Quote:



3) you desktop arch?




It's a Ubuntu 7.04 amd64 machine, self compiled kernel (same version). The configuration of the VE has been done here.

Quote:



4) What migration fails: desktop->notebook or notebook->desktop?




Both of them and with the same error. Offline migration works perfectly and is quite fast.

Quote:


Thanks,
Vasily.


Thank you! Smile

[Updated on: Tue, 10 July 2007 14:28]

Report message to a moderator

Re: Problems with online migration [message #14786 is a reply to message #14783] Tue, 10 July 2007 15:41 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Thanks. Can you, please, post the output of `cat /proc/mounts`
inside this VE and on HN?

Thanks,
Vasily.

[Updated on: Tue, 10 July 2007 15:41]

Report message to a moderator

Re: Problems with online migration [message #14788 is a reply to message #14786] Tue, 10 July 2007 17:05 Go to previous messageGo to next message
draga is currently offline  draga
Messages: 20
Registered: July 2007
Junior Member
Thank you!
Here's the /proc/mounts:

HN in which the VE is running (the source machine):
epia:~# cat /proc/mounts 
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/hdb3 / ext3 rw,data=ordered 0 0
/dev/hdb3 /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
/var/lib/vz/private/2000 /var/lib/vz/root/2000 simfs rw 0 0
tmpfs /var/lib/vz/root/2000/lib/init/rw tmpfs rw,nosuid 0 0
proc /var/lib/vz/root/2000/proc proc rw,nosuid,nodev,noexec 0 0
sysfs /var/lib/vz/root/2000/sys sysfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lib/vz/root/2000/dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /var/lib/vz/root/2000/dev/pts devpts rw,nosuid,noexec 0 0


VE's /proc/mounts:
server:~# cat /proc/mounts 
simfs / simfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
proc /proc proc rw,nosuid,nodev,noexec 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0



Destination HN:
root@laptop:/# cat /proc/mounts 
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/hda2 / ext3 rw,noatime,nodiratime,data=ordered 0 0
/dev/hda2 /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
usbfs /dev/bus/usb/.usbfs usbfs rw 0 0
udev /proc/bus/usb tmpfs rw 0 0
usbfs /proc/bus/usb/.usbfs usbfs rw 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0



Vasily Tarasov wrote on Tue, 10 July 2007 11:41

Thanks. Can you, please, post the output of `cat /proc/mounts`
inside this VE and on HN?

Thanks,
Vasily.

[Updated on: Wed, 11 July 2007 06:25] by Moderator

Report message to a moderator

Re: Problems with online migration [message #14799 is a reply to message #14788] Wed, 11 July 2007 07:27 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Ok, now I know, what's the problem. Smile

Look at the bug report: http://bugzilla.openvz.org/show_bug.cgi?id=552
This is your case. Your VE uses inotify and can't be checkpointed on 028stab031 kernel. Please, update till the recent kernel and try the online migration there.

You wrote, the you "could not make any VE migrate with the 035". Why? What was the output of vzmigrate?

Thanks,
Vasily.
Re: Problems with online migration [message #14803 is a reply to message #14799] Wed, 11 July 2007 07:43 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
And, please, open a separate thread for the problem about migrating on 035 kernel.

BTW, I added your problem to http://wiki.openvz.org/Migration_fails article.

Thanks,
Vasily.

[Updated on: Wed, 11 July 2007 07:54]

Report message to a moderator

Previous Topic: *DISCUSSION* OVZ command to start/stop VE based on status.
Next Topic: Need help with OVZ networking implementation!
Goto Forum:
  


Current Time: Mon Aug 12 00:37:09 GMT 2024

Total time taken to generate the page: 0.02894 seconds