[CRIU] Fwd: Criu Restore Error
Priyanka Naik
prnk.nk1 at gmail.com
Wed Mar 25 21:13:40 PDT 2015
Would the settings done while kernel recompilation wipe out my previous
settings?
On Wed, Mar 25, 2015 at 11:15 PM, Christopher Covington <cov at codeaurora.org>
wrote:
> On 03/25/2015 01:33 PM, Christopher Covington wrote:
> > Hi Priyanka,
> >
> > On 03/25/2015 01:16 PM, Priyanka Naik wrote:
> >> priyanka at priyanka-Lenovo-G510:~$ sudo mount -t 9p -o
> >> trans=virtio,version=9p2000.L hostshare /tmp/host_files
> >> mount: wrong fs type, bad option, bad superblock on hostshare,
> >> missing codepage or helper program, or other error
> >> (for several filesystems (e.g. nfs, cifs) you might
> >> need a /sbin/mount.<type> helper program)
> >> In some cases useful info is found in syslog - try
> >> dmesg | tail or so
> >
> > Try it from inside the guest.
>
> Oh I forgot these aren't on by default--make sure the following kernel
> config
> options are set:
>
> CONFIG_NET_9P=y
> CONFIG_NET_9P_VIRTIO=y
> CONFIG_9P_FS=y
>
> http://wiki.qemu.org/Documentation/9psetup#Preparation
>
> Or load the corresponding modules if you've got them configured as modules.
>
> Chris
>
> >> On Wed, Mar 25, 2015 at 10:42 PM, Christopher Covington <
> cov at codeaurora.org
> >> <mailto:cov at codeaurora.org>> wrote:
> >>
> >> On 03/25/2015 01:00 PM, Priyanka Naik wrote:
> >> > This command ran successfully. Now how to access files from
> guest??
> >>
> >> http://www.linux-kvm.org/page/9p_virtio
> >>
> >> mkdir /tmp/host_files
> >> mount -t 9p -o trans=virtio,version=9p2000.L hostshare
> /tmp/host_files
> >>
> >> > Another thing while accessing those files does my guest need to
> be shutdown??
> >>
> >> I don't. It's based on a network filesystem.
> >>
> >> Chris
> >>
> >> > On Wed, Mar 25, 2015 at 10:15 PM, Christopher Covington <
> cov at codeaurora.org <mailto:cov at codeaurora.org>
> >> > <mailto:cov at codeaurora.org <mailto:cov at codeaurora.org>>> wrote:
> >> >
> >> > On 03/25/2015 12:25 PM, Priyanka Naik wrote:
> >> > >
> >> > > ---------- Forwarded message ----------
> >> > > From: *Priyanka Naik* <prnk.nk1 at gmail.com <mailto:
> prnk.nk1 at gmail.com> <mailto:prnk.nk1 at gmail.com
> >> <mailto:prnk.nk1 at gmail.com>> <mailto:prnk.nk1 at gmail.com
> >> <mailto:prnk.nk1 at gmail.com>
> >> > <mailto:prnk.nk1 at gmail.com <mailto:prnk.nk1 at gmail.com>>>>
> >> > > Date: Wed, Mar 25, 2015 at 9:54 PM
> >> > > Subject: Re: [CRIU] Criu Restore Error
> >> > > To: Christopher Covington <cov at codeaurora.org
> >> <mailto:cov at codeaurora.org> <mailto:cov at codeaurora.org
> >> <mailto:cov at codeaurora.org>> <mailto:cov at codeaurora.org
> >> <mailto:cov at codeaurora.org>
> >> > <mailto:cov at codeaurora.org <mailto:cov at codeaurora.org>>>>
> >> > >
> >> > >
> >> > > I got these errors after running following command :
> >> > >
> >> > > root at priyanka-Lenovo-G510:/usr/bin# qemu-system-x86_64 -m
> 1024 -s -hda
> >> > > vdisk.img -kernel
> /usr/src/linux-3.17.6/arch/x86_64/boot/bzImage
> >> -initrd
> >> > > /home/priyanka/tmp2/newinitrd.img -append "root=/dev/sda10"
> -name
> >> myguest
> >> > > -device virtio-serial -chardev
> >> socket,path=/tmp/foo,server,nowait,id=foo
> >> > > -device
> virtserialport,chardev=foo,name=org.fedoraproject.port.0
> >> -fsdev
> >> > > local,security_model=passthrough,id=fsdev0,path=/tmp/share
> -device
> >> > > virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare
> >> > >
> >> > >
> >> > > qemu-system-x86_64: -device
> >> > > virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare:
> Virtio-9p
> >> Failed to
> >> > > initialize fs-driver with id:fsdev0 and export
> path:/tmp/share
> >> >
> >> > This fixed this error for me:
> >> >
> >> > mkdir /tmp/share
> >> >
> >> > Note that this is a host machine path.
> >> >
> >> > Chris
>
>
> --
> Qualcomm Innovation Center, Inc.
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150326/384ae233/attachment.html>
More information about the CRIU
mailing list