Operating System - Linux
1825771 Members
2334 Online
109687 Solutions
New Discussion

A NFS question: mutiple mount points ?

 
SOLVED
Go to solution
Sriram Rajan
Occasional Contributor

A NFS question: mutiple mount points ?

I have 3 physical disks mounted as
/export/Labstaff
/export/Students
/export/Faculty

I am exporting /export via nfs to all the clients.

I can mount the system with no errors on the clients.
But when I look under /export/Faculty or
/export/Students the directories are empty.
I can see all the user diretories fine on the server, but not on the client
they show up empty.

I am thinking the problem is because the three are separate physical disks.

Is there a workaround to this other than export the three separately ?

Any helps is appreciated.
3 REPLIES 3
Francisco J. Soler
Honored Contributor

Re: A NFS question: mutiple mount points ?

I think it is not possible, i do not sure, but, What's the problem expornting three directories?

Frank.
Linux?. Yes, of course.
Stuart Browne
Honored Contributor
Solution

Re: A NFS question: mutiple mount points ?

NFS is written to not 'export' child mounted structures.

So, yes. Exactally in your example. You'll have to export 3 mount points.

The example we have here is this:

/var/
/var/local/shares

Are separate disks. Although the 'shares' directory exists on a '/var/' export, there is nothing in it.

You also cannot mount another FS to an NFS mounted structure.. annoying ;)

It's a protection so you cannot create looping mounts I beleive. There is no way around it short of mass code change and recompile.
One long-haired git at your service...
Balaji N
Honored Contributor

Re: A NFS question: mutiple mount points ?

hi,
as pointed out, you have to individually export every filesystem. exporting a mount point wont work.
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.