Using file storage(NFS, cephfs) directly in oVirt vm

Hi, I want to use NFS directly in oVirt vm. NFS server is installed on the oVirt host. How can I use it if the oVirt vm and oVirt host cannot communicate?

If host where NFS server was running is DOWN, you can't use your NFS service k
On 22 Oct 2021, at 05:08, ssarang520@gmail.com wrote:
Hi, I want to use NFS directly in oVirt vm. NFS server is installed on the oVirt host. How can I use it if the oVirt vm and oVirt host cannot communicate?

On Friday, 22 October 2021 04:08:57 CEST ssarang520@gmail.com wrote:
Hi, I want to use NFS directly in oVirt vm. NFS server is installed on the oVirt host. How can I use it if the oVirt vm and oVirt host cannot communicate?
What do you mean by VM and host cannot communicate? If want to mount NFS export on the VM, the NFS server has to be visible from the VM. If it's not, you have to configure your network so that VM can reach to NFS sever. No matter if NFS server runs on the host which runs the VM or somewhere else.
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/UF7WMFT7OED4T V2FZR74AE47QAGB3PYT/

Sorry for my poor English. Normally the vm cannot reach the host. So I thought the vm could not reach the nfs server on the host. As you said, in this case, it seems that the user needs to configure network settings. Doesn't ovirt do that for user?

If both your host network and VM network are routable and not blocked by any firewall/ACL, I don't see why you can't access the host from the VM. Otherwise you could add a new network interface for your VM using the same network as your host, and assign a new (additional) ip address to your VM from the host subnet, and connect to your host that way.
participants (4)
-
Konstantin Shalygin
-
ling@aliko.com
-
ssarang520@gmail.com
-
Vojtech Juranek