OpenVZ Forum - RDF feed
type: channel
items: Can not suspend VE with nfs mounts - even with bind mounts to HN
items: Re: Can not suspend VE with nfs mounts - even with bind mounts to HN

Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: Since checkpointing does not work then there are nfs mounts inside VE, I've mounted the nfs partition in HN and bind mouted it in VE. root> cat /etc/vz/conf/102.mount #!/bin/bash mount -n --bind /users/staff /vz/root/102/users/staff exit ${?} Still gives the error: root> vzctl chkpnt 102 --suspend Setting up checkpoint... suspend... Can not suspend VE: Invalid argument unsupported fs type nfs Checkpointing failed The nfs mount is not listed in HN mtab, but is listed in VE102 mtab. And is listed both on HN & VE102 /proc/mounts. I've tried to remove the nfs mount from VE102 mtab but it did not help. So it looks like there is no way to checkpoint or migrate a VE which acts like an nfs client. Or should it still work with bind mounts?
creator: piavlo
date: 2007-11-06T09:02:14-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: bump
creator: piavlo
date: 2007-11-07T21:17:12-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: can the devs comment?
creator: piavlo
date: 2007-11-15T20:23:27-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: bump
creator: piavlo
date: 2007-11-17T19:55:31-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: Currently nfs is not supported by checkpointing. Moreover IMHO any external mounts prevents online migration. To migrate this VE you can umount nfs partiotion, migrate it to target node and then mount nfs again. thank you, Vasily Averin
creator: vaverin
date: 2007-11-21T08:33:58-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: mount -n mounts partition without writing into /etc/mtab. All actual mounts are visible via /proc/mounts file
creator: vaverin
date: 2007-11-21T08:37:57-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: vaverin wrote on Wed, 21 November 2007 10:33 Currently nfs is not supported by checkpointing. Moreover IMHO any external mounts prevents online migration. But In my previous post where i wrote what i have problem checkpointing a VE with internal only mounts, i was suggested to use bind mounts to solve the problem http://forum.openvz.org/index.php?t=tree&th=4251&mid =21887&&rev=&reveal= Quote: To migrate this VE you can umount nfs partiotion, migrate it to target node and then mount nfs again. And if there are processes accessing the nfs mounted fs, i would not want to stop them too, since it would be almost the same as complete shut down of VE, and it's not really live migration anymore. NFS is a very commonly used feature, is there a chance that NFS checkpointing implementation will get a high priority in the openvz TODO list? Thanks Alex
creator: piavlo
date: 2007-11-21T10:11:30-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: Hi Alex, thank you for link to old thread. Unfortunately Andrey Mirkin is on leave now and will be accessible on the next week. Let's wait his return, he should know more than me. thank you, Vasily Averin
creator: vaverin
date: 2007-11-21T11:35:19-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: Hello! Can you please specify what kernel version you use.
creator: Andrey Mirkin
date: 2007-12-03T09:33:40-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: 2.6.18-openvz-028stab049
creator: piavlo
date: 2007-12-03T11:13:09-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: Hello! Can you please try attached patch. With this patch you should be able to migrate a VE with bind-mounted nfs partition.
creator: Andrey Mirkin
date: 2007-12-04T06:38:07-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: Sorry for a delayed reply , i was overwhelmed with other stuff with the patch applied and bind mounts the suspend and live migration work ok. Will this patch be applied to the official openvz patch set? Any news with implementing support for native nfs mount suspend? Thanks Alex
creator: piavlo
date: 2007-12-26T08:56:09-00:00

Re: Can not suspend VE with nfs mounts - even with bind mounts to HN
type: item
description: Hello, I have suggested this patch just like a quick hack. I will try to find better sollution, which can be included in official openvz kernel. We plan to implement native NFS support in online migration, but right now I can't tell when it will be implemented.
creator: Andrey Mirkin
date: 2007-12-26T09:54:05-00:00