Bug 11681
Summary: | can not NFS-export NFS-mounted filesystem | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | mal |
Component: | nfs-utils | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-12-14 23:36:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
mal
2000-05-26 00:32:27 UTC
This is a no-no. NFS does not support exporting a previously exported share. To my knowledge NO networked file system (SMB,ATALK, NFS, AFS) support this. just don't do it. assigned to johnsonm >This is a no-no. NFS does not support exporting a previously exported share.
Old NFS (from RedHat 5.2) supports this just fine,
there is a special option for this.
SAMBA allows re-exporting without problem,
(the only problem with SMB protocol it does not
support unix devices, and etc.).
In 2.4 kernel this NFS re-exporting can be easily achieved anyway.
mount -t bind /dir1 /dir2
will mount dir2 as a dir1, then export dir2 via nfs.
There are many other ways to do this
(for example if you do not need devices - just use SAMBA).
So this silly NFS restriction does nothing execept
preventing people doing useful things:
for example to make a "proxy"
giving public read-only access for NFS server
without allowing people to access internal server directly.
I ended up with recompiling nfs from RedHat 5.2.
The kernel nfsd restriction was there for a reason. unfsd can kind of work around this in user space but isnt safe used the way you are talking about really |