Re-exporting an NFS mount

Discussion in 'Linux Networking' started by Jeff Krimmel, Jul 7, 2004.

  1. Jeff Krimmel

    Jeff Krimmel Guest

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Greetings,

    I am curious what would be the best way to re-export an NFS mount. I
    have a machine running RedHat 7.3 that is acting as a router between a
    private lan and a public Internet connection. I am trying to mount a
    directory that has been mounted to the server from one of the private
    machines to a machine not in the private network.

    Is there a relatively easy way to accomplish this?

    Thanks,

    Jeff
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.1 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD8DBQFA6zkplRbyBxB9qBwRAnsyAJ97U+atdlejq7sYh5c4erpVWN4OswCfbsK0
    No85Z4TmBEdGxU/MDvi/SJk=
    =owFJ
    -----END PGP SIGNATURE-----
     
    Jeff Krimmel, Jul 7, 2004
    #1
    1. Advertisements

  2. AFAIK this should not work.

    The snag is, I've done it.
    /bigdisk exported by a solaris box as "disk" (see /etc/dfs/dfstab)
    disk mounted on a mandrake 8 box on /disk1
    /disk1/data exported by mandrake box as "data" (see /etc/export)
    data mounted on a suse box as /mnt/data

    It all worked fine.

    you need to make sure that there is an nfsd available on both
    interfaces, IIRC. I think that made my brain hurt at the time.

    Another solution would be to use samba, and export the subtree with
    that, for mounting using smbfs on the public side. That works too.
    Done that heaps.
     
    Robert E A Harvey, Jul 7, 2004
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.