"wrong fs type, bad option, bad superblock on /hostshare" when trying to mount filesystem passthrough on qemu/kvm

I need some help on solving a problem where when I try to add a filesystem passthrough on qemu/kvm

sudo mount -t 9p -o trans=virtio /hostshare ~/hostfile

i get the error:

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.

I tried installing nfs, and cifs but the error keeps showing. I'm emulating Ubuntu 16.04

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like