Re: Dynamic Exports in NFS Ganesha

Samuthira Pandian <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <CAA0ym5ZEuPY7bmh4vF3Q9kRjao2Zbtw3Z90qi+mea+S5Y5=W+w@mail.gmail.com>
Log Message :

04/11/2014 23:30:58 : epoch 545961b2 : localhost : nfs-ganesha-10936[main]
nfs_Start_threads :THREAD :EVENT :General fridge was started successfully
04/11/2014 23:30:58 : epoch 545961b2 : localhost : nfs-ganesha-10936[main]
nfs_start :NFS STARTUP :EVENT
:-------------------------------------------------
04/11/2014 23:30:58 : epoch 545961b2 : localhost : nfs-ganesha-10936[main]
nfs_start :NFS STARTUP :EVENT :             NFS SERVER INITIALIZED
04/11/2014 23:30:58 : epoch 545961b2 : localhost : nfs-ganesha-10936[main]
nfs_start :NFS STARTUP :EVENT
:-------------------------------------------------
04/11/2014 23:31:58 : epoch 545961b2 : localhost :
nfs-ganesha-10936[reaper] nfs_in_grace :STATE :EVENT :NFS Server Now NOT IN
GRACE
04/11/2014 23:32:30 : epoch 545961b2 : localhost : nfs-ganesha-10936[dbus]
gsh_export_addexport :EXPORT :CRIT :Error finding exports:
EXPORT(Path=/home/Samuthira/mnt2) because No such file or directory
04/11/2014 23:32:30 : epoch 545961b2 : localhost : nfs-ganesha-10936[dbus]
dbus_message_entrypoint :DBUS :MAJ :Method (AddExport) on
(org.ganesha.nfsd.exportmgr) failed: name =
(org.freedesktop.DBus.Error.InvalidArgs), message = (Error finding exports:
EXPORT(Path=/home/Samuthira/mnt2) because No such file or directory)


On Tue, Nov 4, 2014 at 2:27 PM, Samuthira Pandian <[email protected]>
wrote:

> 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.