As others have answered, 4.2.3 spectrum can add or remove exports without restarting nfs-ganesha service. Changing an existing export does need nfs-ganesha restart though.
If you want to change multiple existing exports, you could use undocumented option "--nfsnorestart" to mmnfs. This should add export changes to NFS configuration but it won't restart nfs-ganesha service, so you will not see immediate results of your changes in the running server. Whenever you want your changes reflected, you could manually restart the service using "mmces" command. Regards, Malahal. From: Bryan Banister <[email protected]> To: gpfsug main discussion list <[email protected]> Date: 10/23/2017 11:53 PM Subject: Re: [gpfsug-discuss] Experience with CES NFS export management Sent by: [email protected] This becomes very disruptive when you have to add or remove many NFS exports. Is it possible to add and remove multiple entries at a time or is this YARFE time? -Bryan -----Original Message----- From: [email protected] [ mailto:[email protected]] On Behalf Of [email protected] Sent: Monday, October 23, 2017 1:13 PM To: gpfsug main discussion list <[email protected]> Subject: Re: [gpfsug-discuss] Experience with CES NFS export management On Mon, 23 Oct 2017 17:26:07 +0530, "Chetan R Kulkarni" said: > tests: > 1. created 1st nfs export - ganesha service was restarted > 2. created 4 more nfs exports (mmnfs export add path) > 3. changed 2 nfs exports (mmnfs export change path --nfschange); > 4. removed all 5 exports one by one (mmnfs export remove path) > 5. no nfs exports after step 4 on my test system. So, created a new nfs > export (which will be the 1st nfs export). > 6. change nfs export created in step 5 mmnfs export change --nfsadd seems to generate a restart as well. Particularly annoying when the currently running nfs.ganesha fails to stop rpc.statd on the way down, and then bringing it back up fails because the port is in use.... ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=oaQVLOYto6Ftb8wAbynvIiIdh2UEjHxQByDz70-6a_0&m=dhIJJ5KI4U6ZUia7OPi_-AC3qBrYV9n93ww8Ffhl468&s=K4ii44lk1_auA_3g7SN-E1zmMZNtc1PqBSiQJVudc_w&e=
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
