OpenVZ Forum


Home » General » Support » *BUG REPORTED* vzmigrate with NFS
*BUG REPORTED* vzmigrate with NFS [message #13916] Thu, 07 June 2007 20:53 Go to next message
chansen is currently offline  chansen
Messages: 2
Registered: June 2007
Location: Austin, TX USA
Junior Member
Does anyone know why checkpoints fail when an NFS volume is mounted? I was hoping to be able to do a live migration of VE but several services' config files and binaries reside on a global NFS mount. Below is a sample of the migration output (with minor modifications to protect the innocent Wink) Is there any hope for a resolution to this in the future?

Thanks,
Chris

root@hosta:~# time vzmigrate -r no --online -v hostb 1004
OPT:-r
OPT:--online
OPT:-v
OPT:hostb
Starting online migration of VE 1004 on hostb
OpenVZ is running...
Loading /etc/vz/vz.conf and /etc/vz/conf/1004.conf files
Check IPs on destination node: 11.22.33.44
Preparing remote node
Copying config file
1004.conf 100% 1248 1.2KB/s 00:00
Saved parameters for VE 1004
Creating remote VE root dir
Creating remote VE private dir
Initializing remote quota
Quota init
vzquota : (warning) Quota file exists, it will be overwritten
Turning remote quota on
Syncing private
Live migrating VE
Suspending VE
Setting up checkpoint...
suspend...
Can not suspend VE: Invalid argument
unsupported fs type nfs
Checkpointing failed
Error: Failed to suspend VE

real 2m9.085s
user 0m7.701s
sys 0m5.492s

[Updated on: Wed, 13 June 2007 13:11] by Moderator

Report message to a moderator

Re: vzmigrate with NFS [message #13931 is a reply to message #13916] Fri, 08 June 2007 07:06 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
At the moment NFS is unsupported for migration. You can fill an enhancement bug report at bugzilla.openvz.org, and, probably sometime we'll fix the bug.

Thank you,
Vasily
Re: vzmigrate with NFS [message #13961 is a reply to message #13931] Fri, 08 June 2007 14:34 Go to previous messageGo to next message
chansen is currently offline  chansen
Messages: 2
Registered: June 2007
Location: Austin, TX USA
Junior Member
Sounds good - I will file an enhancement bug report as suggested.

Spasibo!
Re: vzmigrate with NFS [message #14052 is a reply to message #13961] Wed, 13 June 2007 13:09 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
I created a bug report:
http://bugzilla.openvz.org/show_bug.cgi?id=616
Re: vzmigrate / vzdump with NFS [message #14787 is a reply to message #14052] Tue, 10 July 2007 15:50 Go to previous messageGo to next message
duelster is currently offline  duelster
Messages: 3
Registered: July 2007
Junior Member
vzdump also fails with nfs mounted. Is this bug the same as the problem that I'm having??

EXAMPLE 1:

[root@vz01 ~]# vzdump --suspend 101
INFO: starting backup for VPS 101 (/vz/private/101)
INFO: starting first sync /vz/private/101 to /vz/dump/tmp23416
file has vanished: " /vz/private/1/data/www/services/plone/Python-2.4.3/lib/pytho n2.4/encodings/tis_620.pyo "
rsync warning: some files vanished before they could be transferred (code 24) at main.c(977) [sender=2.6.9]
INFO: suspend vps
Setting up checkpoint...
suspend...
Can not suspend VE: Invalid argument
unsupported fs type nfs
Checkpointing failed
ERROR: creating backup for VPS 101 failed (24.12 minutes): command '/usr/sbin/vzctl chkpnt 101 --suspend' failed with exit code 16 at /usr/bin/vzdump line 290.



EXAMPLE 2:

root@vz01 ~]# vzdump --suspend 101
INFO: starting backup for VPS 101 (/vz/private/101)
INFO: starting first sync /vz/private/101 to /vz/dump/tmp31528
INFO: suspend vps
Setting up checkpoint...
suspend...
Can not suspend VE: Invalid argument
unsupported fs type nfs
Checkpointing failed
ERROR: creating backup for VPS 101 failed (27.30 minutes): command '/usr/sbin/v zctl chkpnt 101 --suspend' failed with exit code 16 at /usr/bin/vzdump line 290.






Trying to run vzdump but fails.

[Updated on: Tue, 10 July 2007 16:10]

Report message to a moderator

Re: vzmigrate / vzdump with NFS [message #14800 is a reply to message #14787] Wed, 11 July 2007 07:31 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Yes, of course. Wink

vzdump, as vzmigrate, is based on "checkpointing" feature, that doesn't support nfs...

Vasily.
Previous Topic: Newbie question - Heartbeat+DRBD INSIDE VPS's?
Next Topic: *DISCUSSION* OVZ command to start/stop VE based on status.
Goto Forum:
  


Current Time: Fri Oct 11 10:43:55 GMT 2024

Total time taken to generate the page: 0.06432 seconds