Changing an exported file system
Change an exported NFS file system using the following procedures.
- To change an exported NFS file system using SMIT:
- To unexport the file system, type:
where dirname is the name of the file system you want to change.exportfs -u /dirname
- Type:
smit chnfsexp
- Enter the appropriate path name in the PATHNAME of exported directory field.
- Make whatever changes you want.
- Exit SMIT.
- Reexport the file system by entering:
where dirname is the name of the file system you just changed.exportfs /dirname
- To unexport the file system, type:
- To change an exported NFS file system by using a text editor:
- To unexport the file system, type:
where dirname is the name of the file system you want to change.exportfs -u /dirname
- Open the /etc/exports file with your favorite text editor.
- Make whatever changes you want.
- Save and close the /etc/exports file.
- Reexport the file system by entering:
where dirname is the name of the file system you just changed.exportfs /dirname
- To unexport the file system, type: