HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS Problem
Operating System - HP-UX
1833995
Members
3674
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-11-2007 03:33 PM
04-11-2007 03:33 PM
NFS Problem
Hi,
I configured my NFS using SAM in our UNIX server and set the ff parameter.
Share Name : /TEMP
Specify UID for Unknown User : UID: 105
Allow Asynchronous Writes : NO
Permission for File Access:
Modify User Access : Read Write for Selected System (Access provided only to our Virtual FTP Server)
Modify Root Access : Read Write for Selected System (Access provided only to our Virtual FTP Server).
The Shared File System seem to work. I can see the shared directory in our Virtual FTP server and can write on it.
However, our requirement is to set the UID and GID. In this case, oracle:dba. So everytime a data will be put on the shared directory, the owner should always be oracle and the group will be dba. Aside from that the file permission should be rw-rw-rw. Are my settings correct ? Can anybody help me figure out how to do this?
I configured my NFS using SAM in our UNIX server and set the ff parameter.
Share Name : /TEMP
Specify UID for Unknown User : UID: 105
Allow Asynchronous Writes : NO
Permission for File Access:
Modify User Access : Read Write for Selected System (Access provided only to our Virtual FTP Server)
Modify Root Access : Read Write for Selected System (Access provided only to our Virtual FTP Server).
The Shared File System seem to work. I can see the shared directory in our Virtual FTP server and can write on it.
However, our requirement is to set the UID and GID. In this case, oracle:dba. So everytime a data will be put on the shared directory, the owner should always be oracle and the group will be dba. Aside from that the file permission should be rw-rw-rw. Are my settings correct ? Can anybody help me figure out how to do this?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 08:13 PM
04-11-2007 08:13 PM
Re: NFS Problem
Hi,
does your /etc/passwd file match the requirements as specified in "man exportfs"
What are your details for UID 105 on BOTH systems ?
"anon=uid
If a request comes from an unknown user, use uid as the
effective user ID.
Root users (user ID 0) are always treated as user
unknown by the NFS server unless they are included in
the root option below.
If the client is a UNIX system, only root users are
considered unknown. All other users are recognized
even if they are not in /etc/passwd.
The default value for uid is the user ID of user
nobody. If user nobody does not exist, the value -2 is
used. Setting the value of anon to -1 disables
anonymous access."
does your /etc/passwd file match the requirements as specified in "man exportfs"
What are your details for UID 105 on BOTH systems ?
"anon=uid
If a request comes from an unknown user, use uid as the
effective user ID.
Root users (user ID 0) are always treated as user
unknown by the NFS server unless they are included in
the root option below.
If the client is a UNIX system, only root users are
considered unknown. All other users are recognized
even if they are not in /etc/passwd.
The default value for uid is the user ID of user
nobody. If user nobody does not exist, the value -2 is
used. Setting the value of anon to -1 disables
anonymous access."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 08:49 PM
04-11-2007 08:49 PM
Re: NFS Problem
UID 105 belongs to oracle the user which I want to make the owner of the file that will be written to /TEMP. Aside from that, I would also would like to set the group (GID) to dba, which is 103.
So that if I put a file in the shared directory mapped to a VFTP server, the file owner will be oracle:dba. In the current set up it only inherits the oracle : 105 instead of oracle:dba.
Ex:
-rwxrwxrwx 1 oracle 105 0 Apr 12 10:26 test1.txt
instead of :
-rwxrwxrwx 1 oracle dba 0 Apr 12 10:26 test1.txt
exportfs is like this?
/TEMP -anon=105,root=SV5162.ph.sunlife,access=SV5162.ph.sunlife
So that if I put a file in the shared directory mapped to a VFTP server, the file owner will be oracle:dba. In the current set up it only inherits the oracle : 105 instead of oracle:dba.
Ex:
-rwxrwxrwx 1 oracle 105 0 Apr 12 10:26 test1.txt
instead of :
-rwxrwxrwx 1 oracle dba 0 Apr 12 10:26 test1.txt
exportfs is like this?
/TEMP -anon=105,root=SV5162.ph.sunlife,access=SV5162.ph.sunlife
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP