OpenVZ Forum


Home » General » Support » Checkpointing does not work with bind mounts?
Checkpointing does not work with bind mounts? [message #8003] Thu, 02 November 2006 17:44 Go to next message
stevegaarder is currently offline  stevegaarder
Messages: 2
Registered: November 2006
Junior Member
It appears that checkpointing a VE fails if there are any bind mounts between the host and the VE. Here is what happens if I have
an NFS filesystem mounted on the host and bind-mounted to the VE:

host$ vzctl chkpnt 610
Setting up checkpoint...
suspend...
Can not suspend VE: Invalid argument
unsupported fs type nfs4
Checkpointing failed

Is there a way around this?

thanks,

Steve Gaarder
Re: Checkpointing does not work with bind mounts? [message #8012 is a reply to message #8003] Fri, 03 November 2006 10:26 Go to previous messageGo to next message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
What kernel version do you use?

Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Checkpointing does not work with bind mounts? [message #8022 is a reply to message #8012] Fri, 03 November 2006 13:36 Go to previous messageGo to next message
stevegaarder is currently offline  stevegaarder
Messages: 2
Registered: November 2006
Junior Member
2.6.9-023stab032.1-smp on Red Hat Enterprise 4, x86_64.

thanks,

Steve
Re: Checkpointing does not work with bind mounts? [message #8357 is a reply to message #8003] Fri, 17 November 2006 08:17 Go to previous message
kfhdk is currently offline  kfhdk
Messages: 1
Registered: November 2006
Location: Denmark
Junior Member
Sorry the late answer.
Did you get this problem solved?

I have created a little vzmount/vzumount program.
As it mounts the filesystem as simfs, it works with checkpointing.

Attached file.
gcc -o vzmount vzmount.c
ln vzmount vzumount

./vzmount /source/dir /destination
./vzumount /destination

Regards,
Kristian Høgh
  • Attachment: vzmount.c
    (Size: 1.47KB, Downloaded 266 times)
Previous Topic: How to increase SHMMAX for virtual OS?
Next Topic: *SOLVED* NFS on 2.6.18-028test003.1 -- How to use?
Goto Forum:
  


Current Time: Wed Jul 10 05:27:30 GMT 2024

Total time taken to generate the page: 0.02506 seconds