[Solved] Share ZFS volumes via NFS to the network

Hi,

I am seeking a “can’t go wrong” solution for my home server that my wife can run if she has to as well as a successor to ProxMox. Seems like IncusOS can the perfect fit.

First thing I need to solve is the file server. I do currently have a server with Gentoo, a huge ZFS pool and a few volumes shared using built in ZFS NFS sharing. If possible would like to replicate the NFS share setup on InucsOS.

What I (usually) need to do is to set the sharenfs attribute on the volume but I can’t really find how to do that in the Incus ZFS documentation.

Is it possible and if so, how to do it? Or do I do it another way in IncusOS?

The clients will run any desktop Linux and are not part of a IncusOS cluster.

Thanks,

Erik

Hello and welcome Erik,

IncusOS itself won’t allow to setup a shared NFS as you might have figured out and it isn’t planed as a feature. IncusOS is a very basic OS which allows to install Incus on it to manage all kind of different service. In your case you properly need to create a VM where all the required services can be installed on to share a file system over NFS, SMB or any other kind of file sharing service.

In basic words IncusOS is a minimal system and all services will be managed by Incus via VM’s, container or OCI images.

Hope it helps to get started.

Thanks,

I will consider how to progress with the file server and look into a ProxMox replacement for now.

BR
Erik

One alternate solution would be running a user space NFS server like NFS Ganesha but will probably have its own problems and probably be the path less troden.