How To: Add a NFS share between cPanel server (Centos) and data server (Ubuntu)

I have a cPanel WHM server (Centos 7.4) supporting multiple web sites and I need to create a NFS share to allow one of the web clients to access (Read/Write) data (from their php code) to a drive mounted on a remote Data Server (Ubuntu 17.10)

I have created the "mount" on the target data server and exported the share and also created an FSTAB entry in the source cPanel server and these SEEM to work OK (i.e. create the connection).

When I try to access the remote mounted drive from the cPanel server (through BOTH the terminal shell AND the cPanel File Manager) I just get "Permission Errors"

I need someone to:

- Verify my remote mount, export and source FSTAB definitions are correct?

- Tell me the correct definitions for the Remote / Source file permissions

- Tell me what user name / permissions to use (UID's / GID's etc)


the following line in fstab:

/dev/vdb /mnt/data ext3 defaults 0 2

the following line in /etc/exports

/mnt/data/images/v4 [url removed, login to view](rw,sync,root_squash,no_subtree_check)


the following line in the fstab file

[url removed, login to view]:/mnt/data/images/v4/ /home/comisaudit/public_html/auditimages/ nfs auto,nofail,noatime,nolock,intr,root_squash,tcp,actimeo=1800 0 0

The FOLDER appears in the correct location i.e. home/comisaudit/public_html/auditimages/ BUT no files or sub folders

I have root access to both platforms.

How do i fix this?

Skills: Linux, System Admin, Ubuntu

See more: centos 7 nfs server, centos install nfs client, create nfs share, nfs kernel server for centos, centos 6.9 nfs server install, centos nas server howto, configure centos nfs server, centos 7.3 install nfs server, how to add money to paypal, how to add money to my paypal account, how to add money to a paypal account, how to add money on paypal, how to add facebook feed to website, how to add a debit card to paypal, how to add a credit card to paypal, how to add google translator plug in my website, how to add skills in freelancer, how to add php chat to my website, how to add example project, how to add direction to projcet

About the Employer:
( 5 reviews ) Reading, United Kingdom

Project ID: #16678367

Awarded to:


I used to configure NFS shares at least once in a month ; so this is very easy job for me , I am having more than 12 years of linux experience .

$20 USD in 1 day
(0 Reviews)

4 freelancers are bidding on average $21 for this job


I have done similar job before, I have more than 10 years of experience with Linux, Windows, Servers setup, Application Servers, Web Servers and DB administration. I have strong technical skills and I always gettin More

$25 USD in 1 day
(6 Reviews)
$20 USD in 1 day
(0 Reviews)

the permissions are to destination system. If you use this directory with uid 200, in the source you need put permission for this id. I can do this for you.

$20 USD in 1 day
(0 Reviews)