Dynamic Exports in NFS Ganesha

Samuthira Pandian <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <CAA0ym5aBbkbv60j4b-AB9bcB6x5Hw4tKVhCTis5c8iuX5X3fqw@mail.gmail.com>
Hi Team,

I'm trying to use dbus-send command for export the path dynamically, but i
got the following error. Kindly guide me how to resolve this issue. I have
refered the following path.

https://forge.gluster.org/nfs-ganesha-and-glusterfs-integration/pages/Dynamic%20Exports


Log :

root# dbus-send --print-reply --system --dest=org.ganesha.nfsd
/org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.AddExport
string:/etc/vfs.conf  string:'EXPORT(Path=/mnt/mount1)'
Error org.freedesktop.DBus.Error.InvalidFileContent: Selected entries in
/etc/vfs.conf already active!!!


I have made the folder /mnt/mount2 and trying to export with following
command,

root# dbus-send --print-reply --system --dest=org.ganesha.nfsd
/org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.AddExport
string:/etc/vfs.conf  string:'EXPORT(Path=/mnt/mount2)'
Error org.freedesktop.DBus.Error.InvalidArgs: Error finding exports:
EXPORT(Path=/mnt/mount2) because No such file or directory

Anoher system i got the below error. This is Windriver platform system.

root# dbus-send --print-reply --system --dest=org.ganesha.nfsd
/org/ganesha/nfsd/ExportMgr  org.ganesha.nfsd.exportmgr.AddExport
string:/etc/vfs.conf  string:'EXPORT(Path=/mnt/mount1)'
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.ganesha.nfsd
was not provided by any .service files

Ragards,

Samuthira

_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.