Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Can I re-export via NFS a partition that is NFS mounted on the server?


    I have a DHCP/PXE server behind a firewall. It mounts partitions on the file server on the corp. network on the other side of the firewall. Every box that PXEs also mounts partitions on the main file server.

    I was hoping I could change them to mount from the DHCP/PXE server, so that server could cache and cut down on the requests through the firewall, as well as the sessions that the firewall must track.

    But it seams a little strange to try to export directories that are simply NFS mounts on another server already.

    I'm running Fedora 8, and get these errors on the server:
    Code:
    [root]# exportfs -ra
    exportfs: Warning: /mnt/home does not support NFS export.
    exportfs: Warning: /tftpboot does not support NFS export.

    Other directories export fine.

    Is this possible?

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    kinda hacky, but maybe try making a symlink to the nfs share, and then exporting the symlink? I'm not sure, i would like to think you could re export though

  3. #3
    A good thought-

    My exports file has this line in it:
    Code:
    /mnt/images     172.30.*(rw,async,secure,no_root_squash)
    which is a link to /tftpboot already.

    Code:
    [root]# ll /mnt
    drwxr-xr-x 53 root root  8192 2010-01-08 13:20 home
    lrwxrwxrwx  1 root root    10 2008-10-02 17:06 images -> /tftpboot/

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •