- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Exporting existing NFS share to new server is not ...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
01-25-2012 06:11 AM
01-25-2012 06:11 AM
Hi All,
I would like to export some NFS shares from HPUX to Linux, The same share already has been exported to some Linux server...
Existing NFS configuratoin file "/etc/exports" of HPUX server:
#more /etc/exports
/cdrom -ro
/data -access=ccm_clients
/appl -access=ccm_clients
/versant -ro
/usr/local/bin -access=ccm_clients
/data_tcs -access=ccm_clients
/data_63 -access=ccm_clients:xxxxxxas1109
#/pctcp -access=ccm_client:xxxxxxas1109
#/home -access=ccm_clients:nt_nfs_clients:xxxxcms:,root=xxxxcms
/home -access=ccm_clients
/ccm_admin -access=ccm_clients
/orders -access=ccm_clients:xxxxxxas1109
/orders_1 -access=ccm_clients
/projects -access=ccm_clients:xxxxxxas1109
/data_tcs -access=ccm_clients:xxxxxxas1109
/home -access=ccm_clients:xxxxxxas1109:xxxxxxcpm500:xxxxxxsygdev
Now I have added new server "xxxxxxxsyguat" to /home share.
For example:
#more /etc/exports
/cdrom -ro
/data -access=ccm_clients
/appl -access=ccm_clients
/versant -ro
/usr/local/bin -access=ccm_clients
/data_tcs -access=ccm_clients
/data_63 -access=ccm_clients:xxxxxxas1109
#/pctcp -access=ccm_client:xxxxxxas1109
#/home -access=ccm_clients:nt_nfs_clients:xxxxcms:,root=xxxxcms
/home -access=ccm_clients
/ccm_admin -access=ccm_clients
/orders -access=ccm_clients:xxxxxxas1109
/orders_1 -access=ccm_clients
/projects -access=ccm_clients:xxxxxxas1109
/data_tcs -access=ccm_clients:xxxxxxas1109
/home -access=ccm_clients:xxxxxxas1109:xxxxxxcpm500:xxxxxxsygdev:xxxxxxsyguat
Then I ran following command on HPUX:
#exportfs -a
exportfs error: /orders: Too many levels of remote in path
exportfs error: /projects: Too many levels of remote in path
Now I tried mounting the share /home from "xxxxxxxxxxsyguat"...
# mount xxxxxHPUX:/home /home
mount: xxxxxHPUX:/home failed, reason given by server: Permission denied
Please find the output of the command "showmount -a" of HPUX server
#showmount -e
export list for xxxxxHPUX:
/cdrom (everyone)
/appl ccm_clients
/versant (everyone)
/usr/local/bin ccm_clients
/data_63 ccm_clients,xxxxxxas1109
/ccm_admin ccm_clients
/orders_1 ccm_clients
/data_tcs ccm_clients,xxxxxxxas1109
/home ccm_clients,xxxxxxxas1109,xxxxxxxcpm500,xxxxxxxsygdev,xxxxxxxsyguat
/home is accessible from all given servers other than "xxxxxxxsyguat"
How to resolve the issue?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-25-2012 02:18 PM
01-25-2012 02:18 PM
Re: Exporting existing NFS share to new server is not working
Any reason you have two lines with /home?
Do you need to have the FQDN for the access list? Or do it for the new machine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-26-2012 06:11 AM
01-26-2012 06:11 AM
Re: Exporting existing NFS share to new server is not working
Any reason you have two lines with /home?
No reason, It was created earlier, we are just following that...
Do you need to have the FQDN for the access list?
I dont know..
do it for the new machine?
I have mentioned FQDN of new machine.
For example,
#more /etc/exports
/cdrom -ro
/data -access=ccm_clients
/appl -access=ccm_clients
/versant -ro
/usr/local/bin -access=ccm_clients
/data_tcs -access=ccm_clients
/data_63 -access=ccm_clients:xxxxxxas1109
#/pctcp -access=ccm_client:xxxxxxas1109
#/home -access=ccm_clients:nt_nfs_clients:xxxxcms:,root=xxxxcms
/home -access=ccm_clients
/ccm_admin -access=ccm_clients
/orders -access=ccm_clients:xxxxxxas1109
/orders_1 -access=ccm_clients
/projects -access=ccm_clients:xxxxxxas1109
/data_tcs -access=ccm_clients:xxxxxxas1109
/home -access=ccm_clients:xxxxxxas1109:xxxxxxcpm500:xxxxxxsygdev:xxxxxxxsyguat.abc.xyz.com
But still I am getting same error...
My Question:
1)Why the following error is coming whenever I ran the command "exportfs -a"
#exportfs -a
exportfs error: /orders: Too many levels of remote in path
exportfs error: /projects: Too many levels of remote in path
This could be the reason?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-26-2012 10:43 AM
01-26-2012 10:43 AM
Re: Exporting existing NFS share to new server is not working
>It was created earlier, we are just following that...
I'm suggesting that you comment out the first one, due to your "Too many levels of remote in path" errors.
But I don't see duplicates for those filesystems.
>This could be the reason?
You could move the new /home before those entries and maybe it won't be skipped?
But your "showmount -e" output shows it changed? But not those two with error messages.
Anything in /etc/xtab?
Also what does /etc/fstab have for /orders & /projects?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-26-2012 12:15 PM
01-26-2012 12:15 PM
Solutionsenthil_kumar_1 wrote:
My Question:
1)Why the following error is coming whenever I ran the command "exportfs -a"
#exportfs -a
exportfs error: /orders: Too many levels of remote in path
exportfs error: /projects: Too many levels of remote in path
This could be the reason?
The "Too many levels of remote in path" error means you're trying to export filesystems that are NFS-mounted from another system. You cannot mount an NFS filesystem from one server and then try to share/export that NFS-mounted filesystem to a group of other systems. On 11i v3 we updated the error to be a bit more clear:
# bdf -t nfs
Filesystem kbytes used avail %used Mounted on
192.1.1.82:/vol/ignite
209715200 109362036 100353164 52% /ignite
# share /ignite
share_nfs: Cannot share remote filesystem: /ignite
I'm guessing on your system both /orders and /projects are NFS mounted filesystems. That's why you're getting that error.
By the way, all of this has nothing to do with why you're not able to correctly share /home. For the /home issue, it's not clear to me what is working and what exactly is failing. You definitely should *not* have multiple /etc/exports entries for the same filesystem. Once that is corrected and you're using only a single /home entry, do things work as desired?
Regards,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-27-2012 06:16 AM
01-27-2012 06:16 AM
Re: Exporting existing NFS share to new server is not working
Hi,
Adding to Dave just comes the concept of the *dual role hosts* which means that aNFS server can act as both server and as a NFS client with one restriction. There is no problem if a server is an NFS server and an NFS client at the same time which apparently are the default configurations but this functionality is limited to the fact that you cannot --reshare-- a filesystem. This is prohibited by the NFS protocol on HPUX. This means that if you have shared a filesystem from a server, then a client that has got the NFS share cannot act as a NFS server for that filesystem.
Regards
Ismail Azad
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP