NFS fails to mount through /etc/fstab
configuration, which is as follows:
# NFS_SERVER:/PATH/TO/EXPORTED/DIR /MOUNT_POINT_ON_CLIENT TYPE_OF_FS OPTIONS DUMP PASS
[REDACTED_IP_V6_OF_STORAGE_SERVER]:/var/nfs/cloud /var/nfs/cloud nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
When running an explicit mount command following error is returned:
mount.nfs: Failed to resolve server REDACTED_IP_V6_OF_STORAGE_SERVER: Address family for hostname not supported
The NFS host is running properly from what I've checked and the ports/ufw are configured just like they were before:
>netstat -tulpn | grep 2049
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp6 0 0 :::2049 :::* LISTEN -
udp 0 0 0.0.0.0:2049 0.0.0.0:* -
udp6 0 0 :::2049 :::* -
>ufw status
Status: active
To Action From
-- ------ ----
22/tcp ALLOW Anywhere
22 ALLOW Anywhere
2049 ALLOW REDACTED_IPv4_OF_CLIENT
22/tcp (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
2049 ALLOW REDACTED_IPv6_OF_CLIENT
Recent changes to the server that might, but not sure if are related - I've installed docker environment recently and haven't looked into the mounts straight away unfortunately.
How can I debug this further? Any obvious cases I've missed to check or that could be causing this error? Thanks!