LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Can NFS clients see mounted network files/folders in exported folder??? (https://www.linuxquestions.org/questions/linux-general-1/can-nfs-clients-see-mounted-network-files-folders-in-exported-folder-691416/)

khaos83 12-18-2008 03:03 AM

Can NFS clients see mounted network files/folders in exported folder???
 
I have a SUSE 10 (host). It has been configured to share out a /pub folder. Export folder is done up.
Another SUSE 10 (client) can mount /pub and able to add and remove files in that folder.
Then the host mounts a windows share using samba into /pub/windows.
But the client can only see /pub/windows folder but not the files inside.
Is the client able to see the files inside /pub/windows folder?

Tobler 12-18-2008 04:38 AM

nfs export
 
Quote:

Originally Posted by khaos83 (Post 3379659)
I have a SUSE 10 (host). It has been configured to share out a /pub folder. Export folder is done up.
Another SUSE 10 (client) can mount /pub and able to add and remove files in that folder.
Then the host mounts a windows share using samba into /pub/windows.
But the client can only see /pub/windows folder but not the files inside.
Is the client able to see the files inside /pub/windows folder?

You have to export external mounted folders too.
For example on /etc/exports:
/pub *.example.com(rw,sync)
/pub/windows *.example.com(rw,sync)

So all additional filesystems (mounted sub-directories) must be exported separately.

br, Tobler

khaos83 12-18-2008 07:41 PM

Quote:

Originally Posted by Tobler (Post 3379733)
You have to export external mounted folders too.
For example on /etc/exports:
/pub *.example.com(rw,sync)
/pub/windows *.example.com(rw,sync)

So all additional filesystems (mounted sub-directories) must be exported separately.

br, Tobler

hm...
tried that. But does not work.
What went wrong??

jschiwal 12-18-2008 07:50 PM

I seriously doubt that you can get it to work. When the server accesses a file in the /pub/windows folder, it is a client of another samba server and sends remote procedure calls to the samba server. When an nfs client access the nfs server, the same thing is done but different rpc's are used. I don't think that the NFS server will issue rpc calls to the samba server on behalf of the NFS client.

The clients could mount the samba shares directly. Maybe another option to try is for each client to mount the samba share over the windows subdirectory themselves. But IMHO, that would be asking for problems.

Mounting an NFS share that itself has a mounted NFS share is iffy enough.

khaos83 12-18-2008 08:02 PM

Hm... seems it's a dead end.
Anyway, thanks for all the help people!!!;)


All times are GMT -5. The time now is 10:27 PM.