Operating System - Linux
1753465 Members
4575 Online
108794 Solutions
New Discussion

how to re-export the nfs entry

 
rajesh73
Super Advisor

how to re-export the nfs entry

we need to re export the nfs server in rhel5.4 ,

 

exportfs -ra is the right command

3 REPLIES 3
Matti_Kurkela
Honored Contributor

Re: how to re-export the nfs entry

According to "man exportfs", you cannot use option -a with option -r.

 

But the option '-r' already means "re-export all exported directories", so "exportfs -r" is the correct command.

MK
rajesh73
Super Advisor

Re: how to re-export the nfs entry

after the change in exports file, required to restatr nfs service or exportfs -r is sufficient

Matti_Kurkela
Honored Contributor

Re: how to re-export the nfs entry

Yes, exportfs -r is sufficient.

MK