<div dir="ltr">i have done: <br><span><span class="im"># This derives from the global common config<br>lxc.include = /usr/share/lxc/config/common.conf<br><br># Default mount entries<br>lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0<br>lxc.mount.entry = sysfs sys sysfs defaults 0 0<br></span>#lxc.mount.entry = /sys/fs/fuse/connections sys/fs/fuse/connections none bind,optional 0 0<br>#lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none bind,optional 0 0<br>#lxc.mount.entry = /sys/kernel/security sys/kernel/security none bind,optional 0 0<span class="im"><br>#lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0 0<br></span>#lxc.mount.entry = tmpfs /sys/fs/pstore none bind,optional 0 0<br><br></span><div>dump.log<br>Warn (fsnotify.c:183): fsnotify: Handle 800001:60a0d cannot be opened<br>Warn (fsnotify.c:183): fsnotify: Handle 800001:6511a cannot be opened<br>Error (files-reg.c:455): Can't link remap to /proc/38/mountinfo: No such file or directory<br>Error (cr-dump.c:1603): Dump files (pid: 2473) failed with -1<br>Error (cr-dump.c:1953): Dumping FAILED.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-07 16:41 GMT+01:00 Andrey Vagin <span dir="ltr"><<a href="mailto:avagin@parallels.com" target="_blank">avagin@parallels.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Oct 07, 2014 at 04:32:34PM +0100, Thouraya TH wrote:<br>
</span><span class="">> what i have done exactly:<br>
><br>
> root@thouraya-Lenovo-3000-N500:~# vim /usr/share/lxc/config/ubuntu.common.conf<br>
><br>
> # This derives from the global common config<br>
> lxc.include = /usr/share/lxc/config/common.conf<br>
><br>
> # Default mount entries<br>
> lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0<br>
> lxc.mount.entry = sysfs sys sysfs defaults 0 0<br>
> lxc.mount.entry = /sys/fs/fuse/connections sys/fs/fuse/connections none<br>
> bind,optional 0 0<br>
> lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none bind,optional 0 0<br>
> lxc.mount.entry = /sys/kernel/security sys/kernel/security none bind,optional 0<br>
> 0<br>
> #lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0 0<br>
> lxc.mount.entry = tmpfs /sys/fs/pstore none bind,optional 0 0<br>
<br>
</span>Could you comment out all lines here except proc and sysfs?<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> ...<br>
><br>
> root@thouraya-Lenovo-3000-N500:~# lxc-checkpoint -s -D /home/thouraya/lxcCR -n<br>
> u1<br>
> Checkpointing u1 failed.<br>
><br>
> dump.log:<br>
> Warn (fsnotify.c:183): fsnotify: Handle 800001:60a0d cannot be opened<br>
> Warn (fsnotify.c:183): fsnotify: Handle 800001:6511a cannot be opened<br>
> Error (parasite-syscall.c:387): si_code=4 si_pid=2886 si_status=5<br>
> Error (parasite-syscall.c:387): si_code=4 si_pid=2887 si_status=5<br>
> Error (parasite-syscall.c:387): si_code=4 si_pid=2888 si_status=5<br>
> Error (mount.c:448): 75:./sys/fs/pstore doesn't have a proper root mount<br>
> Error (cr-dump.c:1953): Dumping FAILED.<br>
><br>
><br>
> i have to mount pstore ?<br>
> > As you know i have already done this:<br>
> ><br>
> > root@u1:/# sudo umount /sys/fs/pstore<br>
> > root@u1:/# vim /etc/fstab<br>
> > root@u1:/# vim /etc/fstab<br>
> ><br>
> > i have only this line in the file:<br>
> > -- > # UNCONFIGURED FSTAB FOR BASE SYSTEM<br>
> ><br>
> > root@u1:/# rmdir /sys/fs/pstore<br>
> > rmdir: échec de suppression de «/sys/fs/pstore»: Permission non accordée<br>
> > root@u1:/# sudo rmdir /sys/fs/pstore<br>
> > rmdir: échec de suppression de «/sys/fs/pstore»: Permission non accordée<br>
> > root@u1:/# sudo su<br>
> > root@u1:/# rmdir /sys/fs/pstore<br>
> > rmdir: échec de suppression de «/sys/fs/pstore»: Permission non accordée<br>
> > root@u1:/#<br>
><br>
> Bests.<br>
><br>
><br>
> 2014-10-07 16:17 GMT+01:00 Thouraya TH <<a href="mailto:thouraya87@gmail.com">thouraya87@gmail.com</a>>:<br>
><br>
> i'm sorry, i will try not in the container :(<br>
><br>
> 2014-10-07 16:15 GMT+01:00 Thouraya TH <<a href="mailto:thouraya87@gmail.com">thouraya87@gmail.com</a>>:<br>
><br>
> Inside the container:<br>
> root@u1:/# sudo umount /sys/fs/fuse/connections<br>
> root@u1:/#<br>
><br>
> root@u1:/# cd /usr/share/lxc/config/<br>
> bash: cd: /usr/share/lxc/config/: Aucun fichier ou dossier de ce type<br>
> root@u1:/# cat /usr/share/lxc/config/ubuntu.common.conf<br>
> cat: /usr/share/lxc/config/ubuntu.common.conf: Aucun fichier ou dossier<br>
> de ce type<br>
><br>
> ?<br>
><br>
> 2014-10-07 15:49 GMT+01:00 Serge Hallyn <<a href="mailto:serge.hallyn@ubuntu.com">serge.hallyn@ubuntu.com</a>>:<br>
><br>
> Quoting Thouraya TH (<a href="mailto:thouraya87@gmail.com">thouraya87@gmail.com</a>):<br>
> > root@u1:/# sudo umount /sys/fs/fuse/<br>
> > umount : /sys/fs/fuse/ : n'est pas monté<br>
> ><br>
> > !!<br>
> > it doesn't work<br>
> ><br>
> > As you know i have already done this:<br>
> ><br>
> > root@u1:/# sudo umount /sys/fs/pstore<br>
> > root@u1:/# vim /etc/fstab<br>
> > root@u1:/# vim /etc/fstab<br>
> ><br>
> > i have only this line in the file:<br>
> > -- > # UNCONFIGURED FSTAB FOR BASE SYSTEM<br>
> ><br>
> > root@u1:/# rmdir /sys/fs/pstore<br>
> > rmdir: échec de suppression de «/sys/fs/pstore»: Permission non<br>
> accordée<br>
> > root@u1:/# sudo rmdir /sys/fs/pstore<br>
> > rmdir: échec de suppression de «/sys/fs/pstore»: Permission non<br>
> accordée<br>
> > root@u1:/# sudo su<br>
> > root@u1:/# rmdir /sys/fs/pstore<br>
> > rmdir: échec de suppression de «/sys/fs/pstore»: Permission non<br>
> accordée<br>
> > root@u1:/#<br>
><br>
> Ok I don't know whether you're having a problem with pstore at c/r<br>
> or<br>
> not as that seems unrelated to the fuse gorp, but if you are having<br>
> a<br>
> problem with pstore, then<br>
><br>
> Edit /usr/share/lxc/config/ubuntu.common.conf, comment out<br>
><br>
> lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0<br>
> 0<br>
><br>
> and add<br>
><br>
> lxc.mount.entry = tmpfs /sys/fs/pstore none bind,optional 0 0<br>
><br>
> That should keep mountall from trying to mount pstore.<br>
><br>
> I think what you really want to do is teach criu to simply mark<br>
> that pstore<br>
> was mounted, then simply bind-mount it from the host again at<br>
> restart.<br>
><br>
><br>
><br>
><br>
><br>
><br>
</div></div></blockquote></div><br></div>