[CentOS] Re-exporting an NFS mount.. Possible?

Tue Jul 13 16:48:30 UTC 2010
Robert Heller <heller at deepsoft.com>

At Tue, 13 Jul 2010 10:01:18 -0400 CentOS mailing list <centos at centos.org> wrote:

> I have an issue that is not all that unique, so I'm hoping someone has
> done it before.
> On the client end I have some very old RedHat based systems. On the
> server end is a Windows 2008 system running NFS server software. The
> clients mount the server resource as an NFS2 mount but some compliance
> issues were discovered with the setup. For various reasons, updating
> the client is not an option at this time. The fix the issue, the
> server needs to export NFS3 mounts but the clients do not support that
> version.  As a workaround, I considered adding a third system running
> CentOS that would mount the server and re-export it to the clients.
> This will mitigate the current issue related to visibility of the
> share from certain groups.
> It does not appear possible, using the current kernel-based NFS
> server, to export an NFS-mounted filesystem. However, it appears that
> there is a FUSE NFS project that might work.  Does anyone have any
> experience with such a setup?

It really is NOT a good idea to re-export a network-mounted file system.
Is there some reason you cannot simply migrate the data on the Windows
2008 server to a new CentOS system?  Note that you can also install
Samba on the new CentOS system, which will support any MS-Windows
clients served by the Windows 2008 server.

One possibity would be to install a virtual CentOS server on the Windows
2008 server and have it *replace* the NFS server running on the Windows
2008 server.  You would need to map the file systems to be exported as
local/virtual file systems on the virtual CentOS server.

> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

Robert Heller             -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software        -- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
heller at deepsoft.com       -- Contract Programming: C/C++, Tcl/Tk