zfs-share vs. /etc/exports NFS export on Linux

Posted on

A server stack is the collection of software that forms the operational infrastructure on a given machine. In a computing context, a stack is an ordered pile. A server stack is one type of solution stack — an ordered selection of software that makes it possible to complete a particular task. Like in this post about zfs-share vs. /etc/exports NFS export on Linux was one problem in server stack that need for a solution. Below are some tips in manage your linux server when you find problem about linux, nfs, zfs, , .

I am setting up a share of a large ZFS storage via NFS on Linux. As far as I understood there are two possible ways to configure this: by means of /etc/exports or by using zfs-share. I have not been able to find any clear explanation about the difference between the two methods: are they just two different ways of doing the same thing or do they lead to substantial differences (e.g. available features, performance etc.)?
Thanks.

ZFS on Linux uses the NFS subsystem under the hood; the benefit of doing it using ZFS commands is mainly that you can configure the share and the underlying storage from a single set of management tools.

Leave a Reply

Your email address will not be published.