Thanks Frank. Will try this...
On 28/09/16 12:01 PM, Frank Filz wrote: >> Is there a way to update an export without disrupting clients that > are >> actively using an export? The current method I know of is to use >> 'ganesha_mgr remove_export' followed by a 'ganesha_mgr add_export'. I >> do not see an 'update_export' option or similar in the above command. Are >> there any plans to provide an update option in the future? > Ganesha V2.4.0 has a new "dynamic export update" feature. A specific export > can be updated with dBus, and all exports in the config are refreshed on > SIGHUP. With this, you can dynamically update everything except export_id, > path, and pseudo, those basically imply removing the export and adding it > again, so just use the dBus remove and add commands. SIGHUP will also add > any new exports that have been added to the config file (it will not remove > any exports - it doesn't make any check to see if any export was no longer > present in the config file). The dBus update export will also add the export > if the specified export does not already exist. > > The update process uses atomic operations to update all the fields in the > export except the CLIENT blocks. The CLIENT blocks are atomically replaced > (update builds a new list of clients/permissions and then takes a lock on > the list and swaps the old list with the new list). > > The end result is that clients will see no disruption (well, if the new > client list excludes a client that previously had access, of course it will > lose access as soon as the client list is swapped out). > > Frank > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > -- Varghese Devassy v_deva...@yahoo.com ------------------------------------------------------------------------------ _______________________________________________ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel