Tuesday, May 21, 2013

How to mount NFS Share on ClearOS 6.4

I have several servers on my office which running both Linux and Windows. Sometimes, I need to mount remote shared folder into another server. Here I am going to show you how I mount a NFS shared folder into ClearOS server. So, the ClearOS 6.4 is acting as an NFS Client. OK lets do it.

Login to ClearOS server using ssh or Putty. Now install the following package in order to connect to remote NFS server.

yum install nfs-utils

 

Next, we can start mounting the remote NFS shared folder using this command

mount -t nfs 192.168.1.100:/mnt/harddisk2/dhani /media/dhani-data

where:

  • 192.168.1.100 is the remote IP address we want to connect to
  • /mnt/harddisk2/dhani is the nfs shared folder
  • /media/dhani-data is the local mount point. This mount point must exist on our ClearOS server.  We have to create this mount point/directory first before executing the command.

0 comments:

Based on original Visionary template by Justin Tadlock
Visionary Reloaded theme by Blogger Templates
This template is brought to you by Blogger templates

Visionary WordPress Theme by Justin Tadlock Powered by Blogger, state-of-the-art semantic personal publishing platform