mount /data on Client (RHEL)

I have an nfs server with a filesystem /data mounted. It has all the permissions enabled for clients to mount this FS.

I want to mount this FS on a NFS server. But NFS server already has a local filesystem /data. Now how do I mount /data on the server to /data on the client.

Should I create another FS on client, copy everything to that FS, unmount /data from client and mount it back. Please give me an efficient way.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Why don't you just mount it with a different name?

mount -t nfs yourserver:/data /otherdata

A mount point does not have to have the same name as the fs on the server.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Could you please show us:

# dh -Th

from the box on which you want to mount.
mnis2008Author Commented:
#df -Th
              ext3    3.0G  1.4G  1.5G  49% /
/dev/sda1     ext3     99M   49M   45M  53% /boot
none         tmpfs    506M     0  506M   0% /dev/shm
              ext3    385G   56G  310G  16% /home
              ext3   1008M   34M  924M   4% /tmp
              ext3    4.0G  628M  3.2G  17% /usr
              ext3    4.0G  3.1G  727M  82% /var
So you don't have /data as a seprate FS so if you really want to mount your nfs share at /data then rename the existing /data dir to something else and then create a new /data dir.
You will achive your goal.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.