LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-23-2009, 12:41 PM   #1
danospv
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Rep: Reputation: 15
Mount a mounted NFS share?


I'm trying to mount a mounted NFS share... I know its strange, so let me explain.

I have a server that connects through VPN to a network, that has the NFS share exported. I am able to successfully mount the NFS share on that server, in /media/iSCSI.

Now I want to share this NFS share with other servers, that are on the same network as the VPN-ed server, but are not connected to VPN. When I try to export the mounted share, I get:

Code:
/etc/init.d/nfs-kernel-server restart
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
Exporting directories for NFS kernel daemon...exportfs: Warning: /media/iSCSI does not support NFS export.
.
Starting NFS kernel daemon: nfsd mountd.
and I'm unable to mount this share from the other servers.

Is there a workaround, or am I missing something obvious?
 
Old 10-23-2009, 03:10 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
This question is probably totally over my head, but what the heck.

I think the whole point of a VPN is that it is V-Private-N; i.e. you're not supposed to be able to share with someone else at the same time and make it browseable. That's the way it is when I connect to work VPNs at home, you can't share.

But I could be wrong. If it were me, I would try to mount the share like any other filesystem instead of using nfs to export, although I have no idea if that would work. For example if you run samba you could mount the thing as a samba share....
 
Old 10-23-2009, 04:44 PM   #3
danospv
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Original Poster
Rep: Reputation: 15
I'm able to mount it on the computer connected to VPN, but I want to access that resource from other computers on the network, even though they're not connected to VPN... In other words I want the server to act like a gateway between VPN and the local network.

I was looking into using routes and IP tables, but I wouldn't know where to start to set it up...
 
  


Reply



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
A loop device mounted within an NFS share is not accessible via NFS? srikanthnv Linux - Software 17 12-18-2011 09:31 AM
I can't access my mounted NFS share xri Slackware 1 08-24-2009 08:32 AM
How can I mount a NFS share that have a SMB share mounted? perezyanez Linux - Networking 2 09-26-2008 09:03 AM
NFS share is only mounted read-only? Poetics Linux - Networking 2 05-30-2007 12:58 PM
DocumentRoot on a nfs mounted share pdhami Red Hat 0 05-17-2004 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration