Unshare the file system
# unshare [ file system]
# unshare /home/Krishen
In the given instance /home/Krishen is unexported to nfs clients.
To export /home/Krishen in read-only mode the subsequent can be completed:
# exportfs -o ro: /home/Krishen
Here the options
-o indicates a comma-separated list of optional characteristics for the directory being exported
For export /home/Krishen read and write mode to the radiant1, radiant2 the following can be completed:
# exportfs -o rw= radiant1:radiant2 /home/Krishen
Within the example /home/Krishen is shared in read and write mode to the clients of radiant1and radiant2.