Changing an exported file system

Change an exported NFS file system using the following procedures.

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