[CRIU] Dumping Error: Android Applications

Abdullah Yousafzai yousafzai.abdullah at gmail.com
Mon Feb 22 18:08:14 PST 2016


Well I have tried these options but I am on android and these commands are
not available in android so what is the next suggestion.



Best Regard -- ALLAH Hafiz, May Almighty ALLAH bless you



[image: --]

Abdullah Yousafzai
[image: https://]about.me/yousafzaiabdullah
<https://about.me/yousafzaiabdullah?promo=email_sig>


On Mon, Feb 22, 2016 at 11:55 PM, Andrew Vagin <avagin at virtuozzo.com> wrote:

> On Sat, Feb 20, 2016 at 10:12:09AM +0800, Abdullah Yousafzai wrote:
> > Hello Guys,
> >
> > This is the output of the  /proc/$pid/mountinfo :
> >
>
> Hi Abdullah,
>
> Who creates a mount namespace for a process? If you know how to create
> it, you can try to execute criu from a target mount namespace. On retore
> you will need to create a mount namespace and then execute criu restore
> from it.
>
> You can try to use nsenter and unshare tools. nsenter allows to enter
> into a name space and unshare allos to create a new name space.
>
> nsenter -m -t $pid criu dump ....
> unshare --propagation slave criu rester ....
>
> Thanks,
> Andrew
>
> > root at x86_64:/sdcard/Download # cat /proc/15429/mountinfo
> > 488 483 0:13 / / ro,relatime master:1 - tmpfs tmpfs ro
> > 489 488 7:1 / /system ro,relatime master:2 - ext4 /dev/loop1
> ro,data=ordered
> > 490 488 0:14 / /data rw,relatime master:3 - tmpfs tmpfs rw
> > 491 488 0:15 / /dev rw,nosuid,relatime master:4 - tmpfs tmpfs rw,mode=755
> > 492 491 0:11 / /dev/pts rw,relatime master:5 - devpts devpts rw,mode=600
> > 493 491 0:20 / /dev/cpuctl rw,relatime master:6 - cgroup none rw,cpu
> > 494 488 0:4 / /proc rw,relatime master:7 - proc proc rw
> > 495 488 0:12 / /sys rw,relatime master:8 - sysfs sysfs rw
> > 496 495 0:6 / /sys/kernel/debug rw,relatime master:9 - debugfs debugfs rw
> > 497 495 0:17 / /sys/fs/cgroup rw,relatime master:10 - tmpfs none rw,mode=
> > 750,gid=1000
> > 498 495 0:21 / /sys/fs/pstore rw,relatime master:11 - pstore pstore rw
> > 499 488 0:16 / /acct rw,relatime master:12 - cgroup none rw,cpuacct
> > 500 488 0:18 / /mnt/asec rw,relatime master:13 - tmpfs tmpfs
> rw,mode=755,gid=
> > 1000
> > 501 488 0:19 / /mnt/obb rw,relatime master:14 - tmpfs tmpfs
> rw,mode=755,gid=
> > 1000
> > 502 488 0:22 / /cache rw,nosuid,nodev,noatime master:15 - tmpfs none rw
> > 503 488 0:23 / /mnt/shell/emulated rw,nosuid,nodev,noexec,relatime
> master:16 -
> > fuse /dev/fuse
> rw,user_id=1023,group_id=1023,default_permissions,allow_other
> > 504 488 0:25 / /storage/emulated rw,nosuid,nodev,relatime - tmpfs tmpfs
> rw,mode
> > =751,gid=1028
> > 505 504 0:23 /0 /storage/emulated/0 rw,nosuid,nodev,noexec,relatime
> master:16 -
> > fuse /dev/fuse
> rw,user_id=1023,group_id=1023,default_permissions,allow_other
> > 506 504 0:23 /0 /storage/emulated/legacy rw,nosuid,nodev,noexec,relatime
> > master:16 - fuse /dev/fuse rw,user_id=1023,group_id=
> > 1023,default_permissions,allow_other
> >
> > Best Regard -- ALLAH Hafiz, May Almighty ALLAH bless you
> >
> >
> >
> > [fed5b]   Abdullah Yousafzai
> >           about.me/yousafzaiabdullah
> >
> > *
> >
> >
> > On Fri, Feb 19, 2016 at 7:25 PM, Pavel Emelyanov <xemul at virtuozzo.com>
> wrote:
> >
> >     Here's the error:
> >
> >     >         (00.002194) Error (mount.c:959): mnt: Mount 554 ./storage/
> >     emulated/legacy (master_id: 16 shared_id: 0) has unreachable
> sharing. Try
> >     --enable-external-masters.
> >
> >     Abdullah, would you show the output of /proc/$pid/mountinfo of the
> >     container
> >     you dump?
> >
> >     Cc-ing Tycho and Andrey.
> >
> >     -- Pavel
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20160223/096ac22d/attachment.html>


More information about the CRIU mailing list