LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-18-2008, 03:03 AM   #1
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Rep: Reputation: 15
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?
 
Old 12-18-2008, 04:38 AM   #2
Tobler
LQ Newbie
 
Registered: Oct 2007
Distribution: Ubuntu, RedHat Enterprise Linux
Posts: 12

Rep: Reputation: 0
nfs export

Quote:
Originally Posted by khaos83 View Post
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
 
Old 12-18-2008, 07:41 PM   #3
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Tobler View Post
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??
 
Old 12-18-2008, 07:50 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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.
 
Old 12-18-2008, 08:02 PM   #5
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Original Poster
Rep: Reputation: 15
Hm... seems it's a dead end.
Anyway, thanks for all the help people!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy files from diffrent folders to a single folder cadcrazy Linux - Software 3 09-18-2008 09:57 AM
getting strings for all the files and folders in a folder Hard_Working_ Programming 6 04-07-2007 10:55 AM
Mounted hard drive's files/folders are invisible when created jay_rod101 Linux - Newbie 6 06-16-2006 01:57 AM
(re)sharing an nfs-mounted folder with samba rtspitz Linux - Networking 1 02-13-2005 01:36 PM
Redhat exported NFS; mounted on AIX dochs Red Hat 0 10-28-2004 04:02 PM


All times are GMT -5. The time now is 07:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration