Re: [gpfsug-discuss] Experience with CES NFS export management
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 <bbanister@jumptrading.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/23/2017 11:53 PM Subject: Re: [gpfsug-discuss] Experience with CES NFS export management Sent by: gpfsug-discuss-bounces@spectrumscale.org 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: gpfsug-discuss-bounces@spectrumscale.org [ mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of valdis.kletnieks@vt.edu Sent: Monday, October 23, 2017 1:13 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> 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_listi...
On Tue, 24 Oct 2017 13:27:29 +0530, "Malahal R Naineni" said:
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.
I owe you a beverage of your choice if we ever are in the same place at the same time - the fact that Ganesha got restarted on all nodes at once thus preventing a rolling restart and avoiding service interruption was the single biggest Ganesha wart we've encountered. :)
participants (2)
-
Malahal R Naineni -
valdis.kletnieks@vt.edu
