LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-09-2009, 01:38 PM   #1
smkamene
Member
 
Registered: Sep 2004
Location: Atlanta
Posts: 34

Rep: Reputation: 15
export NFS mounted file system via NFS


Hello folks,

Please tell me if this is possible. I have 3 servers. One is Sun 10, second one is RedHat AS 4U6 and one Mac OSX server.

On my Linux box i have an NFS file system mounted from the Sun box. I would like re-export this file system through my Linux box to the Mac server. I've got everything setup in /etc/exports on the Linux box, it looks like this:

/Sun_storage 192.140.98.201(insecure,rw,sync,no_root_squash)

Now when i am trying to mount this from the Mac server i get:

mount_nfs: can't access /Sun_storage: Permission denied

if i run showmount -e linuxbox i see this:

/Sun_storage 192.140.98.201

So it looks fine. On the Mac server i am logged-in as root. Any idea ?

Thanks
 
Old 02-09-2009, 06:30 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
I think NFS V4 will not allow this type of NFS spaghetti, mainly for security and data integrity reasons. I've had a similar issue trying to use an NFS file server share as a SAMBA share from a desktop machine, it just doesn't really work.
 
Old 02-10-2009, 12:16 PM   #3
techmex
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
I also need to be able to export a CIFS (Samba) share via NFS, but have not found any option to allow this. It sucks when the designers remove some cool or useful feature "in spite" of security. When will designers allow users to take our own decisions? Anyway, you're saying that nfs4 won't allow this, but, will nfs < 4?

Regards
 
Old 02-10-2009, 03:12 PM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
I think NFS 3 will allow some of this, but I wouldn't recommend it! If you can mount a CIFS share, you can probably set up machines to use that share directly, rather than go through the NFS option. That would be my recommendation anyway.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can quotas can be assigned to file system mounted via nfs shishirkotkar Linux - Software 1 05-03-2008 09:34 AM
Remote NFS export (via fstab) isn't mounted at boot tisource Linux - General 3 10-30-2005 04:57 PM
export a mounted Samba share w/NFS nifflerX Linux - Software 3 07-18-2005 11:29 PM
NFS export of directory with mounted iso-images leipy Suse/Novell 1 06-03-2005 08:12 PM
A mounted file system inside an NFS mount paradoxlight Linux - Networking 1 04-24-2002 08:34 PM


All times are GMT -5. The time now is 09:18 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