пʼятниця, 10 липня 2015 р.

mount AIX

ON THE SERVER:

To add the filesystem for NFS exporting: 
- Enter smitty mknfsexp . 
- Enter the PATHNAME of the directory to export (for example, <dir_name>). 
- Change the MODE of export directory to read-only. 
- Enter the HOSTS & NETGROUPS allowed client access. 
- Enter HOSTS allowed root access. 
- Press Enter to export the filesystem.

NOTE : If you are going to be installing on the client machine, you MUST enter the client name for HOSTS allowed root access Verify that the server has the filesystem exported:
 
Enter showmount -e <server_name> .

NOTE : <server_name> will be the hostname of the server. 

- Create the directory you will be using to access the software. 
- Enter mkdir <dir_name>. 

ON THE CLIENT:

- Check the NFS daemons: 
- Enter lssrc -g nfs . 
- If they are not active, start them by running startsrc -s portmap and then startsrc -g nfs . 

- Verify that the server has the filesystem exported: 
- Enter showmount -e <server_name> .

NOTE : <server_name> will be the hostname of the server. 

- Create the directory you will be using to access the software. 
- Enter mkdir <dir_name? 

- Enter smitty mknfsmnt . 
- Enter the PATHNAME of the mount point (for example, <dir_name>). 
- Enter the PATHNAME of the remote directory (for example, <dir_name>). 
- Enter the HOST where the remote directory resides. 
- Change the MODE for this NFS file system to read-only.

NOTE: HOST will be the hostname of the server. 
Press enter to NFS mount the filesystem. 

Немає коментарів:

Дописати коментар