- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS on 11iv2 - "unable to create"
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
Forums
Discussions
Discussions
Discussions
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
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
08-08-2008 09:57 AM
08-08-2008 09:57 AM
I have been trying to share and give read-write access of my /home folder using NFS but seemed to get error. The NFS server's hostname is "NFSServer" and the NFS client's is "NFSClient". This is the scenario:
On Server:
1) I have this entry in /etc/exports
/home rw=NFSClient
2) # exportfs -a
On Client:
3) I have this entry in /etc/fstab
NFSServer:/home /backup nfs rw 0 0
4) mkdir /backup
5) mount -aF nfs
I could see the /home folder of the NFSServer in the /backup mountpoint of the NFSClient. But whenever I created a file in the /backup folder, I would get an error, "unable to create" or "permission denied". Why is this so since I have already used the "rw" option in step (1) above.
Please help.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 10:31 AM
08-08-2008 10:31 AM
Re: NFS on 11iv2 - "unable to create"
2) Does your userid have permissions to write into this NFS mount ? post output of ls -la /backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 10:32 AM
08-08-2008 10:32 AM
Re: NFS on 11iv2 - "unable to create"
what user are you when you try to write into the NFS mount ? If it is root then you need to export the filesystem with root permissions, e.g. root=NFSClient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 10:36 AM
08-08-2008 10:36 AM
Re: NFS on 11iv2 - "unable to create"
If you are logged in as root on the client system that would be normal. For safety reasons root access is not allowed through nfs, except if you add the option "root=NFSClient" in your configuration.
Otherwise, double check the account you're logged in as. It is important that your uid (not the username) is the same on both systems for similar access.
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2008 04:32 AM
08-10-2008 04:32 AM
Re: NFS on 11iv2 - "unable to create"
1) Yes the NFS is mounted. I can view the files mounted in the /backup directory from the NFSClient.
2) I am using root as the when writing into the NFS mount in the /backup directory.
I have tried to use "root=NFSClient" option in the /etc/exports of NFSServer but when I execute "mount -aF nfs" in the NFSClient, I got "permission denied".
Any other things that I overlook?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2008 04:54 AM
08-10-2008 04:54 AM
Re: NFS on 11iv2 - "unable to create"
/home rw=NFSClient,root=NFSClient
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2008 05:36 AM
08-10-2008 05:36 AM
Re: NFS on 11iv2 - "unable to create"
I only have the "root=NFSClient" entry.
Tried so far are:
1) "rw=NFSClient"
Outcome: can mount but cannot write to the NFS mount
2) "root=NFSClient"
Outcome: cannot mount with "permission denied" error.
Thanks,
haimi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2008 05:56 AM
08-10-2008 05:56 AM
Re: NFS on 11iv2 - "unable to create"
rw=host,root=host
or
access=host,root=host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2008 06:31 AM
08-10-2008 06:31 AM
Re: NFS on 11iv2 - "unable to create"
Ok I will try your suggestion and update you guys. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 08:07 PM
08-11-2008 08:07 PM
Re: NFS on 11iv2 - "unable to create"
I have tried both the options in /etc/exports and I still am getting "permission denied" when running "mount -a" in NFSClient.
Current config of NFSServer.
1) In /etc/exports
/home/tom access=NFSClient,root=NFSClient
2) # ls -l /home
drwxr-xr-x 2 tom users 96
Current config of NFSClient.
1) In /etc/fstab
NFSServer:/home/tom /home/tom nfs rw 0 0
Any help please. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 08:21 PM
08-11-2008 08:21 PM
Re: NFS on 11iv2 - "unable to create"
Have you done "exportfs -a" after you changed /etc/exports?
What is the content of /etc/xtab?
Is the networking set up so every machine agrees who is NFSClient? Is it a fully qualified DNS name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 08:35 PM
08-11-2008 08:35 PM
Re: NFS on 11iv2 - "unable to create"
Yes I have executed "exportfs -a". The contents of /etc/xtab are as follow:
/home/tom -access=rw=NFSCLient,root=NFSClient
I only use /etc/hosts file for name resolution and both the server hostnames are in the /etc/hosts of each server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 10:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 10:25 PM
08-11-2008 10:25 PM
Re: NFS on 11iv2 - "unable to create"
That does the job! It is the options used that made me crazy.
Now using "-access=NFSClient" does the job perfectly.
Thanks and thanks to all for the help.