NFS error
-
I tried to install a Fog server with a static IP address in a virtual network that I manage from a Proxmox server. On this Proxmox server, I have pfSense, Windows Server, and a GLPI server. I also have multiple clients, and everything is working well (local DNS, DHCP, etc.), except for when I try to set up my Fog server (version 1.5) on an LXC container running Ubuntu Server 20.04.
I am encountering a problem with the NFS Server. I want to mention that I am setting up this network for a school and professional environment.
For my installation, I followed these steps:
What DNS address should DHCP allow? [192.168.1.1] 192.168.1.10 Would you like to use the FOG server for DHCP service? [y/N] n This version of FOG has internationalization support, would you like to install the additional language packs? [y/N] y Would you like to enable secure HTTPS on your FOG server? [y/N] n Which hostname would you like to use? Currently is: SrvFOG.lan Would you like to change it? If you are not sure, select No. [y/N] y Which hostname would you like to use? fog.mass.lan FOG would like to collect some data... What is this information used for?
Any help or suggestions would be greatly appreciated.
error :- Setting up and starting NFS Server…Failed to get unit file state for nfs.service: No such file or directory
Failed!
- Setting up and starting NFS Server…Failed to get unit file state for nfs.service: No such file or directory
-
Hello,
When ou create your container, try to uncheck “Unprivileged container”.
After, go to “Options” on your container params and enable “Nesting” and “NFS” options. -
@mass Thank you very much for your help, I understand better why it caused issues on Proxmox but not on virt-manager (QEMU).
Thank you for your response, I did indeed uncheck “Unprivileged container” and I checked “NFS” and “Nesting” under Options > Features. -
@glequeau Thank you very much for your help, I understand better why it caused issues on Proxmox but not on virt-manager (QEMU).
Thank you for your response, I did indeed uncheck “Unprivileged container” and I checked “NFS” and “Nesting” under Options > Features. -
-
Make sure your Proxmox server is set up with a static IP address on the physical network interface. For the virtual network, ensure that it is set up correctly, and all VMs and LXC containers are attached to this network. Assign static IP addresses to all your servers and clients to avoid conflicts with DHCP. Reserve these IP addresses in your DHCP server configuration (pfSense) to prevent accidental IP allocation conflicts. Ensure that your LXC container (running Ubuntu Server) has the correct network configuration. Use a bridged network interface so that the container can get its IP address directly from the physical network. Double-check that the LXC container’s network settings are consistent with your Proxmox virtual network setup.