How to Mount an NFS File System (mount Command)

 Become superuser or assume an equivalent role.


Create a mount point for the file system to be mounted, if necessary.


# mkdir /mount-point



There must be a mount point on the local system to mount a file system. A mount point is a directory to 

which the mounted file system is attached.


Ensure that the resource (file or directory) is available from a server.


To mount an NFS file system, the resource must be made available on the server by using the share command. 

For information on how to share resources, see About the NFS Service in System Administration Guide: Network Services.


Mount the NFS file system.



# mount -F nfs [-o mount-options] server:/directory /mount-point

-o mount-options

Specifies mount options that you can use to mount an NFS file system. 


server:/directory


Specifies the server's host name that contains the shared resource, and the path to the file or directory to mount.


# mount -F nfs [-o mount-options] server:/directory /mount-point



Specifies the directory on which to mount the file system.



The following example shows how to mount the /export/packages directory on /mnt from the server pluto.



# mount -F nfs pluto:/export/packages /mnt

$ mount -p  /mount_point 

The above command checks the real-time NFS mount options used.

 

Comments

Popular posts from this blog

How to drop index and before dropping it how to get the DDL.

PRVG-11250 : The check "RPM Package Manager database" was not performed because

ORA-00257:archiver error, connect internal only until freed

Verifying Daemon “Avahi-Daemon” Not Configured And Running …FAILED (PRVG-1360)

Linux OL7/RHEL7: PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm

SKIP DNS RESLOV.CONF CHECK DURING RAC CONFIGURATION

CPU Patch Analysis

How to write to a CSV file using Oracle SQL*Plus

How to troubleshoot Long Running Concurrent Request in EBS 12.2

How To Manage Space of The FRA in the Oracle DB