KVM - Host folder does not mount on boot after upgrading guest to Ubuntu 22.04

Started by kalpana, Oct 31, 2023, 04:05 AM

Previous topic - Next topic

kalpana

Hi,

I have a host machine running Ubuntu 22.04. It is running KVM and the guest machine was recently upgraded from 20.04 to 22.04. After the update, the guest machine fails to boot correctly and goes into emergency mode and show and error "Failed to mount /mnt/data". /mnt/data is mapped from a folder on the host machine and was working prior to the upgrade to 22.04.

If I manually mount the folder with this command, then I can access the files:
mount -t 9p -o trans=virtio /data data/

However, if I reboot, then I get the error again and enter emergency mode. I have verified that /etc/fstab contains the following line:
/data /mnt/data 9p trans=virtio,version=9p2000.L,rw 0 0

Any help understanding why the mount is failing on boot would be greatly appreciated.

Thank you!