Sending it only to me makes it hard for other people to see your response. ;-)  cc: support@lists.nfs-ganesha.org

There's no FSAL_ZFS in the ganesha sources. There was a FSAL_ZFS in ganesha-2.5, but it was removed in 2.6; the FSAL API had diverged and nobody was maintaining it.  (And Ubuntu 10.04? That's seriously old. The oldest Ubuntu that we package for in the gluster or ganesha PPAs is 16.04.)

Off hand I'd say try FSAL_VFS and set the Path to your zfs fs that's backed by the zpool.


On Mon, Oct 14, 2019 at 8:41 AM John Hearns <john@kheironmed.com> wrote:
A ZFS filesystem which I wish to export is /data1/fiotest
ganesha.conf reads
I note already that I have the pool name wrong...


EXPORT
{
# Export Id (mandatory, each EXPORT must have a unique Export_Id)
Export_Id = 77;

# Exported path (mandatory)
Path = /data1/fiotest;

# Pseudo Path (required for NFS v4)
Pseudo = /data1/fiotest;

# Required for access (default is None)
# Could use CLIENT blocks instead
Access_Type = RO;

# Exporting FSAL
FSAL {
Name = VFS;
}
        # Exporting ZFS
        ZFS {
        # Zpool to use
    zpool = "pool1";
        }
}

On Mon, 14 Oct 2019 at 13:35, Kaleb Keithley <kkeithle@redhat.com> wrote:


On Mon, Oct 14, 2019 at 6:24 AM <john@kheironmed.com> wrote:
OS - Ubuntu 10.04.3 LTS
ZFS  0.7.5-1ubuntu16.6
Ganesha version 2.6.0.2

I am not using Gluster. Teh documentation says that if I set sharenfs=on for a given zfs filesystem it should be exported by NFS

By knfs!  That's what I would presume.
 
However I do nto see this happening - can someone help me to set up /etc/ganesha/ganesha.conf  in this mix of OS and ZFS?

I don't believe anyone here has much experience with ZFS.

You should be using FSAL_VFS, with Path and Pseudo set accordingly for your ZFS fs. Paste your ganesha.conf somewhere where we can review it.

--

Kaleb
 

Kheiron Medical Technologies

kheironmed.com | supporting radiologists with deep learning


Kheiron Medical Technologies Ltd. is a registered company in England and Wales. This e-mail and its attachment(s) are intended for the above named only and are confidential. If they have come to you in error then you must take no action based upon them but contact us immediately. Any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. Although this e-mail and its attachments are believed to be free of any virus, it is the responsibility of the recipient to ensure that they are virus free. If you contact us by e-mail then we will store your name and address to facilitate communications. Any statements contained herein are those of the individual and not the organisation.

Registered number: 10184103. Registered office: 2nd Floor Stylus Building, 116 Old Street, London, England, EC1V 9BG