18
2
I am trying to mount a shared folder using qemu-kvm/9p and it fails to work if I add it to the fstab file. I get an error at boot that the device cannot be mounted, yet after start if I run "mount -a" the device will be mounted.
fstab line:
src_mnt /src 9p trans=virtio 0 0
From dmesg I can see:
[ 7.606258] 9p: Could not find request transport: virtio
And a few lines later I see the "virtio-pci" entries. I'm not clear on how I would defer mounting until that device is available however.
Why is this ideal? – lindhe – 2016-03-07T21:03:01.587
Thank you - I think its reasonable to say this is the
ideal
solution. The problem is that the module is not mounted during file-system mount, your solution is to add it to the list of modules loaded at mount-time. – Greg – 2013-04-04T10:28:43.907