- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS Server Problem.
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
03-06-2008 01:12 AM
03-06-2008 01:12 AM
NFS Server Problem.
I have NFS server on my HP-UX 11.31, I m sharing a filesytem called /SAPINST by the following manner
NFS Server
===========
#mkdir /SAPINST
#chmod 777 /SAPINST
#share -F nfs -o rw /SAPINST
restaring the service.
#shareall
#share - here im seeing the shared filesystem
NFS Client
==========
#mkdir /test
#chmod 777 /test
#mount 172.20.101.16:/SAPINST /test
#cd /test
#mkdir a
mkdir: cannot access .: Permission denied
#touch a
touch: a cannot create
This isthe problem ...
here im facing the problem that i am not able to create a file or directory even i give the rw permission in dfstab file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 04:54 AM
03-06-2008 04:54 AM
Re: NFS Server Problem.
please try the mount option rw (read/write):
mount -o rw 172.20.101.16:/SAPINST /test
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 06:07 AM
03-06-2008 06:07 AM
Re: NFS Server Problem.
#mount -o rw 172.20.101.16:/SAPINST /test
#cd /test
Here im getting the contents...
But i m not able create the Directory and files.. the error is permission denied
Pls...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 07:18 AM
03-06-2008 07:18 AM
Re: NFS Server Problem.
I don't have a 11.31 system, so I only can do some blind shots ....
Check this thread if there's something useful:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=994604
(Dave Olker is THE expert here, so you also can do some search about threads with his answers)
Also check the man pages of 'share' if you've used the right syntax of '-o' option for example.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 10:20 PM
03-06-2008 10:20 PM
Re: NFS Server Problem.
I took my 11.31 system and reproduced your steps:
# mkdir /SAPINST
# chmod 777 /SAPINST
# share -F nfs -o rw /SAPINST
# share
- /SAPINST rw ""
Then on my 11.23 client system:
# mkdir /test
# chmod 777 /test
# mount atcux12:/SAPINST /test
# cd /test
# ll
total 0
# mkdir a
# ll
total 0
drwxrwxrwx 2 nobody sys 96 Mar 6 22:14 a
The permissions on the newly created directory show a UID of -2 (nobody) because I'm a root user on the client and I didn't share the filesystem to allow root access from clients. So this is expected, but because the permissions are wide open I'm still able to create a directory.
On the client my mount looks like this:
> nfsstat -m
/test from atcux12:/SAPINST (Addr 15.43.209.141)
Flags: vers=3,proto=tcp,auth=unix,hard,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
Please cut/paste the output of the "share" command on your 11.31 server and the output of the "nfsstat -m" command from your NFS client. Also, let me know what OS you're running on the client.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[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
03-07-2008 02:40 AM
03-07-2008 02:40 AM
Re: NFS Server Problem.
have you tried to mkdir/touch with another user?
Have you tried to upgrade ONCplus.
There is fix about access problem for users that belong to more than 16 groups: http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=ONCplus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2008 12:26 AM
03-08-2008 12:26 AM
Re: NFS Server Problem.
on my NFS server.
# share
- /SAPINST rw ""
#nfsstat
its not showing any output.
my server and client both are running HP-UX 11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2008 09:36 AM
03-08-2008 09:36 AM
Re: NFS Server Problem.
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[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
03-08-2008 10:51 AM
03-08-2008 10:51 AM
Re: NFS Server Problem.
share -F nfs -o root=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2008 07:54 PM
03-08-2008 07:54 PM
Re: NFS Server Problem.
Sorry...
pls see the o/p
#mount 172.20.101.16:/SAPINST /sapinst
#nfsstat -m
/sapinst from 172.20.101.16:/SAPINST
Flags: vers=3,proto=tcp,sec=sys,hard,intr,link,symlink,acl,devs,rsize=32768,wsize=32768,retrans=5,timeo=600
Attr cache: acregmin=3,acregmax=60,acdirmin=30,acdirmax=60
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2008 08:05 PM
03-08-2008 08:05 PM
Re: NFS Server Problem.
NFS Server
----------
share -F nfs -o root=172.20.101.14,rw=172.20.101.14 /SAPINST
NFS Client
----------
it says its a read only filesystem.
cd /sapinst
# mkdir a
mkdir: cannot create a: Read-only file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2008 08:23 PM
03-08-2008 08:23 PM
Re: NFS Server Problem.
In my NFS Client i added a user called test.
the test user able to create directory and files.. but i dont know why the root cant???
$mkdir a
#ls -l
total 88
drwxr-xr-x 3 root sys 8192 Feb 27 09:48 SAP JAVA Compo
drwxr-xr-x 7 root sys 8192 Mar 6 09:05 SAPSLM4.0
drwxr-xr-x 4 root sys 96 Mar 2 09:35 SPStacks
drwxr-xr-x 2 test users 96 Mar 9 08:25 a
drwxr-xr-x 2 test users 96 Mar 9 08:24 aaa
drwxrwxrwx 7 root sys 8192 Feb 26 12:57 ecc
drwxr-xr-x 13 root sys 8192 Feb 26 17:41 erpcomp
-rw-r--r-- 1 root sys 12195 Jan 21 13:35 jce_policy-1_4_2.zip
drwxr-xr-x 5 root sys 8192 Mar 6 09:11 nw2004sExport
drwxr-xr-x 14 root sys 8192 Feb 25 22:31 oraclient
drwxr-xr-x 4 root sys 8192 Feb 25 22:26 orapatch
drwxr-xr-x 2 root sys 8192 Feb 25 22:53 rdbms1
drwxr-xr-x 2 root sys 8192 Feb 25 23:06 rdbms2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2008 08:38 PM
03-08-2008 08:38 PM
Re: NFS Server Problem.
Because unless you export the file system with root as root, root is treated as less than dirt, nobody.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2008 05:17 AM
03-09-2008 05:17 AM
Re: NFS Server Problem.
We did...
share -F nfs -o anon=2 /SAPINST
its works...
Thanks to all guys...