- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mount of the NFS share failing, when I try thr...
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
тАО02-13-2013 10:49 PM
тАО02-13-2013 10:49 PM
mount of the NFS share failing, when I try through my test code.
I have written a test code in C++ for mounting the NetApp NFS share on my HPUX 11.31 host. And it is failing with permission denied. I am running my process as root user. The same command works through commandline(shell). I even tried after restarting the services. Also I did not get any info around failure in syslogs. Can some one provide info around this?
Following is the comand I am trying to run through my test code,
/sbin/mount -o ro "netapp3140a1:/vol/<vol_name>" "/mnt_pt"
nfs mount: netapp3140a1:/vol/<vol_name>: Permission denied
- Tags:
- mount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2013 11:31 PM
тАО02-13-2013 11:31 PM
Re: mount of the NFS share failing, when I try through my test code.
I assume you are using system(3) to invoke mount?
Have you tried using tusc to see where the error occurs?
- Tags:
- tusc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2013 01:58 AM
тАО02-15-2013 01:58 AM
Re: mount of the NFS share failing, when I try through my test code.
I am using fork+exec combination to exectute the mount command. I will check tusc, if it helps. Do I need to check any NFS options/package versions for any probable fix?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2013 03:34 AM
тАО02-15-2013 03:34 AM
Re: mount of the NFS share failing, when I try through my test code.
>Do I need to check any NFS options/package versions for any probable fix?
You said it worked from the command line, that's not something an option would prevent working, especially if you are root. I assume you aren't in that directory when you try to mount?