[CRIU] Fwd: Criu Restore Error
Priyanka Naik
prnk.nk1 at gmail.com
Wed Mar 25 10:16:38 PDT 2015
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
On Wed, Mar 25, 2015 at 10:42 PM, Christopher Covington <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>> 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>>>
> > > 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>>>
> > >
> > >
> > > 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/20150325/85be1a8a/attachment.html>
More information about the CRIU
mailing list