> Is there a way to get nfs-ganesha's current active exports
configuration as it is
in use by the running instance? Something like 'exportfs -v' in kernel-nfs. I did
set
parameters on default, export and client level and want to make sure that things
work as I expect. Especially access and squash settings per client and export
would be good to know.
One thing that will be somewhat a factor for you is that the export defaults, export
options, and client options are not resolved into an effective set until an actual client
connects.
As far as keeping track of exports as they are updated, one thing I actually suggest is
that since the dBus commands don't actually send export options, rather, they tell
Ganesha to re-read portions of the config, it's actually possible to keep all your
updates in your primary config file and thus that file is always authoritative.
> Testing from client side seem excessively tedious if you want to
test no-access
for a large group of clients.
>
> I did increase the log level but didn't see the access options or other beside
pseudo_path and tag. I did not see any clients mentioned at all. But maybe I
missed it?
If you have the EXPORT log component at FULL_DEBUG when a client accesses an export you
will see how it uses each level of export config to determine the final export options for
the given client.
> The Dbus interface seems to provide just a very basic set of
export
> parameters(?)
>
> If this is documented somewhere please excuse the noise - a pointer to the
answer will be welcome, too.
>
> We run 2.5.3 on RHEL7 (as part of Spectrum Scale)
>
> Thank you and kind regards,
>
In 2.7, the dbus DisplayExport output was extended to show client information
on each export, so it shows more of what you want. This has been backported
and will be in 2.6.3.
Frank