Open alessio1983lx opened 10 months ago
@alessio1983lx Sounds like you're talking about using having Talos Linux use CONFIG_NFSD option in the kernel. I suspect that this won't get added as an official feature. One could say that having and running NFS server in the kernel would be a security concern. You could compile your own kernel with the option turned on and I then suspect OpenEBS NFS Dyanmic Provisioner would work without issue.. However, my suggestion would be to look at using perhaps Longhorn RWX (NFS Server) volumes which make use of userspace level NFS (Ganesha). Longhorn has recently gained support for Talos Linux as of version 1.6 and it runs great in my experience.
Feature Request
Compatibility with Open EBS NFS Dynamic Provider
Description
Hello, i can't get Open EBS NFS Dynamic Provider to work, after the pvc is provisioned the container which provides the nfs server to attach fails his job
user@kvm2:~$ kubectl logs nfs-pvc-31dd1599-6ad8-46ad-8d13-4cacd8e54ff5-69b86f4dcc-w8x9d -n openebs Writing SHARED_DIRECTORY to /etc/exports file The PERMITTED environment variable is unset or null, defaulting to ''. This means any client can mount. The READ_ONLY environment variable is unset or null, defaulting to 'rw'. Clients have read/write access. The SYNC environment variable is unset or null, defaulting to 'async' mode. Writes will not be immediately written to disk. Displaying /etc/exports contents: /nfsshare (rw,fsid=0,async,no_subtree_check,no_auth_nlm,insecure,no_root_squash)
Starting rpcbind... Displaying rpcbind status... program version netid address service owner 100000 4 tcp6 ::.0.111 - superuser 100000 3 tcp6 ::.0.111 - superuser 100000 4 udp6 ::.0.111 - superuser 100000 3 udp6 ::.0.111 - superuser 100000 4 tcp 0.0.0.0.0.111 - superuser 100000 3 tcp 0.0.0.0.0.111 - superuser 100000 2 tcp 0.0.0.0.0.111 - superuser 100000 4 udp 0.0.0.0.0.111 - superuser 100000 3 udp 0.0.0.0.0.111 - superuser 100000 2 udp 0.0.0.0.0.111 - superuser 100000 4 local /var/run/rpcbind.sock - superuser 100000 3 local /var/run/rpcbind.sock - superuser Starting NFS in the background... rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory). Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem Exporting File System... exporting *:/nfsshare /nfsshare
Starting Mountd in the background...These
Startup successful.
It cannot mount nfsd to /proc/fs/nfsd , i think because nfs modules are missing in Talos Kernel... is there a way to work around or load that modules? Is it possible to add these nfs server functions in future releases?