Storage pool on NFS - need some precautions?

Hi,
I was thinking to share my incus pools between two machines via NFS.
1st machine have lot of storage. It serve me as incus server and as NAS…
Now, I add 2nd machine and I would like to use storage from 1st machine for incus pools of new machine.
Is it good idea? Should I have some precautions? Some particular settings?

Or I should not to share incus pools, but make separated pools for 2nd incus server.

Thx

Separate pools (or e/g/ zfs shares) is essential to prevent too-many-problems. If I were to do this, and I typically don’t, I would probably use ZFS ZVOL’s shared over nfs or perhaps even shared over iscsi which may even be more performant. Personally I always find it just adds another headache and impacts reliability and speed too much, so I always use/expand local storage for hot instances. I do however share instances between separate servers, which works really well for my needs/expertise.

I can’t recommend any particular settings, but networking will require a lot of diligence as you are introducing another exposure point by having a storage network connection.

Good luck.

Andrew

1 Like

We have an open issue to add actual NFS support for use within clusters, but note that NFS isn’t quite POSIX enough for proper operation so we’ll be limiting its use to shared custom volumes, at least for now.

1 Like