- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Exporting existing NFS share to new server is ...
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
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
тАО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
- 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
- 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
- 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
- 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
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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