Wednesday, May 6, 2009

AIX - NFS - Remove Imported File System

AIX - NFS - Remove Imported File System

Using smitty rmnfsmnt command we can remove the mounted file system from client end.
#smitty rmnfsmnt

Then one smitty screen will appear. Specify the mounted file system name or press Esc+4 keys, for system analyze and show the mount file system, then you mention from the list also. After this command execution, which mounted file system will be removed from the client PC. Now you put mount command, that removed file system is not listed.

Like this we can export and import the network file system.

AIX - NFS - List Imported Files System

AIX - NFS - List Imported Files System

Using mount command we can check the imported file system status.

#mount

Above command is used to display the mounted file system information along with file system type, if nfs mounted file system available then it will show file system type name nfs so easily we can identify which nfs mounted file system.

AIX - NFS - Import File Systems

AIX - NFS - Import File Systems

Using smitty mknfsmnt command we can import the file system.

#smitty mknfsmnt

One smitty configuration screen will appear then you have to specify the following things.

a. specify the path name of mount point (client end mount point by default /mnt will be available or we have to create directory and we can specify that directory name to mount the file system /mnt)

b. Specify the path name of remote directory (This is server file system name i.e. /usr, which file system was exported by server)

c. Host where remote directory resides (This is exporting source server name i.e. ServerA)

d. Mount type name (Specify the file system type jfs2)

e. Then press enter button to execute the above configuration, finally it will exported.

AIX - NFS - Changing Exported File System Permissions

AIX - NFS - Changing Exported File System Permissions

Using chnfsexp command we can change the permission for exported file systems

#smitty chnfsexp

One smitty screen will appear, and then you specify the permission and configure the file system.