[CRIU] dump failure msgs
riya khanna
riyakhanna1983 at gmail.com
Thu Mar 20 00:44:50 PDT 2014
Hi Andrey, Pavel,
I applied nested mountains patch. Now the error I get is this:
(00.285979) Collecting root for process 95
(00.286310) Error (mount.c:1683): The root task has another root than
mntns: /rootfs
It is printed from mntns_collect_root:
*if* (ret != 1 || path[0] != '/') {
pr_err("The root task has another root than mntns: *%s\n*",
path);
close_pid_proc();
*return* -1;
}
How can I fix this error? The erroneous "path" printed out is
"/home/riya/container/rootfs", which contains the roots for the container.
Thanks,
Riya
On Wed, Mar 12, 2014 at 6:04 AM, Pavel Emelyanov <xemul at parallels.com>wrote:
> On 03/12/2014 10:21 AM, riya khanna wrote:
> > Thanks Pavel!
> >
> > Quick question: could you briefly explain the concept of nested mount
> namespaces to me?
>
> Sure. The systemd spawns services with CLONE_NEWNS clone() flag, which
> results in
> services seeing their own mount points.
>
> You can read man mount about propagations for more details.
>
> > or perhaps direct me to an article that gives the overview.
> >
> > Thanks for your time!
> >
> > -Riya
> >
> >
> > On Tue, Mar 11, 2014 at 10:36 AM, Pavel Emelyanov <xemul at parallels.com<mailto:
> xemul at parallels.com>> wrote:
> >
> > On 03/11/2014 10:19 AM, riya khanna wrote:
> > > Any inputs on how to fix this? Pavel?
> >
> > Yup, sorry for late response. It's nested mount namespaces support
> we're
> > currently working on. You can check the Andrey's patches on the list
> > titled "[PATCH 00/13] Restore nested mount namespaces (v2)".
> >
> > Thanks,
> > Pavel
> >
> > >
> > > On Sun, Mar 9, 2014 at 4:26 PM, riya khanna <
> riyakhanna1983 at gmail.com <mailto:riyakhanna1983 at gmail.com> <mailto:
> riyakhanna1983 at gmail.com <mailto:riyakhanna1983 at gmail.com>>> wrote:
> > >
> > > I'm trying to dump a container and I see the following errors:
> > >
> > > (00.238188) pid = 333 getpid() = 1975
> > >
> > > (00.238256) pid = 333 root_item->pid.real = 84
> > >
> > > (00.238353) Error (namespaces.c:159): Can't dump nested mnt
> namespace for 333
> > >
> > > (00.238432) Error (namespaces.c:355): Can't make mntns id
> > >
> > >
> > > This is the output of ps
> > >
> > > 84 pts/0 S+ 0:05 /sbin/init
> > >
> > > 333 pts/0 Sl 0:09 /bin/server
> > >
> > >
> > > What could be wrong here?
> > >
> > > On Sat, Jan 18, 2014 at 11:46 AM, Pavel Emelyanov <
> xemul at parallels.com <mailto:xemul at parallels.com> <mailto:
> xemul at parallels.com <mailto:xemul at parallels.com>>> wrote:
> > >
> > > On 01/18/2014 08:26 AM, riya khanna wrote:
> > > > Hi,
> > > >
> > > > What could be interpreted by each of these error msgs
> below:
> > > >
> > > > err msg 1:
> > > >
> > > > (00.580627) Error (proc_parse.c:312): Can't handle
> non-regular mapping on 221's map 3069145088 <tel:3069145088> <tel:
> 3069145088 <tel:3069145088>>
> > >
> > > The task with pid 221 has a mapping of some device. You
> can check it via /proc.
> > >
> > > >
> > > > (00.580791) Error (cr-dump.c:1413): Collect mappings
> (pid: 221) failed with -1
> > >
> > > This is a propagation of the above error through the
> CRIU's calls.
> > >
> > > >
> > > > err msg 2:
> > > >
> > > > Error (files.c:245): Can't dump file 3 of that type
> [20666] (chr 10:14)
> > >
> > > The program you're dumping opened character device with
> major:minor == 10:14.
> > > This is some misc device..
> > >
> > > > Thanks,
> > > >
> > > > Riya
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > CRIU mailing list
> > > > CRIU at openvz.org <mailto:CRIU at openvz.org> <mailto:
> CRIU at openvz.org <mailto:CRIU at openvz.org>>
> > > > https://lists.openvz.org/mailman/listinfo/criu
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140320/1e47be44/attachment-0001.html>
More information about the CRIU
mailing list