- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS exporting symlinks.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 10:34 AM
тАО04-26-2007 10:34 AM
NFS exporting symlinks.
In /etc/exports I am listing /nike1.
When I do a showmount -e or exportfs however, it appears that instead of showing /nike1 as exported, the full path is exported -- /export/nike1.
Since I have limited disk space on my / filesystem, is my only option to resize my logical volumes and create a /nike1 filesystem and pull it off of the /export filesystem?
Or is there some way to make the NFS daemon not expand out my symlink to the full "real" path?
TIA.
PS: This is on B.11.11.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 10:44 AM
тАО04-26-2007 10:44 AM
Re: NFS exporting symlinks.
I've just looked at a Linux man page for exports. It would appear this is not permitted.
http://mail-index.netbsd.org/tech-kern/1995/05/28/0000.html
The links below deal with Linux that uses NFS v4. You need HP-UX 11.23 to get NFS v4
http://www.tldp.org/HOWTO/Network-Install-HOWTO-8.html
Samba Servers follow sym links
http://docs.hp.com/en/B8725-90118/ch12s02.html
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 11:47 AM
тАО04-26-2007 11:47 AM
Re: NFS exporting symlinks.
>Or is there some way to make the NFS daemon not expand out my symlink to the full "real" path?
This has nothing to do with NFS but the exportfs command getting the real directory path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 11:52 AM
тАО04-26-2007 11:52 AM
Re: NFS exporting symlinks.
NFS exports are expected to be accessible from a remote machine as follows:
/net/machinename/machinename1
/net/machinename/machinename2
/net/machinename/machinename3
etc. A user's home directory field in their gecos will include a path like the above allowing it to be mounted from any automount enabled machine.
Obviously this won't work if we have to access the above as follows:
/net/machinename/export/machinename1
simply because on 'machinename' /machinename1 is actually a symlink to /export/machinename1 ...
Anyways, I'll just redo my filesystems to work around this.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 06:41 PM
тАО04-26-2007 06:41 PM
Re: NFS exporting symlinks.
NO, this is nothing to do with NFS mountd daemon as everything is in physical filesystems lookup algo.
Just for info: showmount or exportfs intern contacts local mountd daemon to retrive the exported directory list which user entered in /etc/exports file.
You can use either /nike1 or /export/nike1 while mounting on NFS client side, for example:
mount server:/nike1 /mnt
or
mount server:/export/nike1 /mnt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 10:15 PM
тАО04-26-2007 10:15 PM
Re: NFS exporting symlinks.
regarding
>>
Widespread use of the automounter here.
<<
If you use the default map '-hosts', you have just to do it the other way round:
Mount the lvol under /nike1 and create - if required for compatibility issues - a symlink:
/exports/nike1 -> ../nike1
If you use a home grown NIS-map for these filesystem, just add a non-default entry for them; something like
machinename \
/machinename1 &:/export/machinename1 \
/machinename2 &:/export/machinename2
* &:/nike1/& (or whatever)
mfG Peter