- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS Permission Issue
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
07-12-2011 01:43 AM - edited 07-13-2011 02:45 AM
07-12-2011 01:43 AM - edited 07-13-2011 02:45 AM
NFS Permission Issue
Hi,
i need to create shared filesystem between two HP-UX servers 11.31 with size of 2 TB.
my questions is
This shared directory should be accessible by oracle user (rwx) on server host and apps user (rwx) on client host.
How to give shared filesystem rwx permission ?
And i know when i share filesystem from server A to server B, there will be a matching process by uid and gid in /etc/passwd and /etc/group respectively. i can change the ownership on server A for oracle user, but on server B how to give apps user full access rwx to shared filesystem ?
Server A : uid=111(dsadm) gid=107(dstage)
Server B : uid=110(wasadmin) gid=106(wasgroup) groups=107(mqm)
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2011 05:00 AM
07-12-2011 05:00 AM
Re: NFS Permission Issue
Hi,
Please your support
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2011 07:22 AM
07-12-2011 07:22 AM
Re: NFS Permission Issue
apps user is in the sys group. oracle user is in the adm group.
That is problematic.
Oracle guides generally recommend the database binary owner (oracle) and the application binary user (in this case apps) be in the same group.
I generally have a group called dba for both.
Then chmod g+rwx <directory name>
This should get you around the difficulty.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2011 04:59 PM
07-12-2011 04:59 PM
Re: NFS Permission Issue
>This shared directory should be accessible by oracle user (rwx) on server host and apps user (rwx) on client host.
The way to solve this is to make it accessible by both on the host and then on the client. Either with groups or by ACLs (which NFS may not support?).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2011 09:55 PM
07-12-2011 09:55 PM
Re: NFS Permission Issue
Hi,
the user id and group id above it's just example. now this below correct id on both server.
Server A : uid=111(dsadm) gid=107(dstage)
Server B : uid=110(wasadmin) gid=106(wasgroup) groups=107(mqm)
I want to share file system from server A to server B with rw permission How i can do it that 11.31 ?
Then how to give the dsadm user on server A full access on the shared filesystem and to give wasadmin user on server B full access to shared filesystem ?
This only my two questions.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2011 01:34 AM
07-13-2011 01:34 AM
Re: NFS Permission Issue
Hi,
Please i still waiting your answer.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2011 02:09 AM
07-13-2011 02:09 AM
Re: NFS Permission Issue
on server define oracle user as owner. And group dstage as group owner (check 'man chown' 'man chgrp').
Give owner and group rwx permissions (check 'man chmod').
Export shared filesystem as writeable for this group (check 'man exports'), read also what's /etc/exports for!
Mount it at the client as writeable (option rw) - check 'man mount' - read also 'man fstab' what`s /etc/fstab for.
With appsuser in the same group there should be no problem. If you get any error message, please post it here.
HTH
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2011 02:12 AM
07-13-2011 02:12 AM
Re: NFS Permission Issue
Are you admin?
Do you know what you're doing?
Sorry, don't want to offend you, but we still don't know what is your problem.
Most parts of this you should be able to do while you're sleeping ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2011 02:18 AM - edited 07-13-2011 02:18 AM
07-13-2011 02:18 AM - edited 07-13-2011 02:18 AM
Re: NFS Permission Issue
>Dennis: Either with groups or by ACLs (which NFS may not support?).
Oh yes - obviously NFS has to run:
nfs-server at server side, nfs-client at client side.
Is it running at your systems?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2011 02:59 AM
07-13-2011 02:59 AM
Re: NFS Permission Issue
Hi,
i don't want to change any group on any server, if is there any way to make the shared file system as following
On Server A
# bdf
/dev/vg015/lvol15 2097152 952547 1073156 47% /mount1
# ll -d
drwxrwxrwx 17 dsadm dstage 1024 Apr 6 10:55 /mount1
On Server B
# bdf
serverA:/dev/vg015/lvol15 2097152 952547 1073156 47% /mount2
# ll -d
drwxrwxrwx 17 wasadmin wasgroup 1024 Apr 6 10:55 /mount2
Thanks for your support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2011 04:14 AM
07-13-2011 04:14 AM
Re: NFS Permission Issue
Any error message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2011 04:37 AM
07-13-2011 04:37 AM
Re: NFS Permission Issue
Hi,
i still not starting to share filesystem, i want to know if i can share filesystem from server A to server B with different ownership and group as following
Example
On Server A
# bdf
/dev/vg015/lvol15 2097152 952547 1073156 47% /mount1
# ll -d
drwxrwxrwx 17 dsadm dstage 1024 Apr 6 10:55 /mount1
On Server B
# bdf
serverA:/dev/vg015/lvol15 2097152 952547 1073156 47% /mount2
# ll -d
drwxrwxrwx 17 wasadmin wasgroup 1024 Apr 6 10:55 /mount2
becuase i know when you try to share some filesystem on any server it's will make a match process between the uid and gid, for that you see the ownership and group it's different about the local server except on one case if the uid and gid are same on both server.
but on my case i want the dsadm user and dstage group it's owner of the local filesystem, and the wasadmin user , wasgroup group it's owner of the shared filesystem.
This is my story :smileyvery-happy:
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2011 10:31 PM
07-15-2011 10:31 PM
Re: NFS Permission Issue
Hi,
i still not starting to share filesystem, i want to know if i can share filesystem from server A to server B with different ownership and group as following
Example
On Server A
# bdf
/dev/vg015/lvol15 2097152 952547 1073156 47% /mount1
# ll -d
drwxrwxrwx 17 dsadm dstage 1024 Apr 6 10:55 /mount1
On Server B
# bdf
serverA:/dev/vg015/lvol15 2097152 952547 1073156 47% /mount2
# ll -d
drwxrwxrwx 17 wasadmin wasgroup 1024 Apr 6 10:55 /mount2
becuase i know when you try to share some filesystem on any server it's will make a match process between the uid and gid, for that you see the ownership and group it's different about the local server except on one case if the uid and gid are same on both server.
but on my case i want the dsadm user and dstage group it's owner of the local filesystem, and the wasadmin user , wasgroup group it's owner of the shared filesystem.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2011 03:36 AM
07-16-2011 03:36 AM
Re: NFS Permission Issue
>Ii want to know if I can share filesystem from server A to server B with different ownership and group as following
The short answer is no. If you want two different users being able to access the files, then they have to be set up that way on the server. And then the client can do the same thing.
Unless using something like Samba, CIFS?
On Server A
drwxrwxrwx 17 dsadm dstage 1024 Apr 6 10:55 /mount1
On Server B
drwxrwxrwx 17 wasadmin wasgroup 1024 Apr 6 10:55 /mount2
>I know when you try to share some filesystem on any server it's will make a match process between the uid and gid
Yes.
>but in my case I want the dsadm user and dstage group it's owner of the local filesystem, and the wasadmin user, wasgroup group it's owner of the shared filesystem.
You can't do that. You can give the illusion of that by changing the passwd file to make these users identical but that doesn't buy you much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2011 04:10 AM
07-16-2011 04:10 AM
Re: NFS Permission Issue
Hi Dennis,
>Unless using something like Samba, CIFS?
Thanks for your support, but how i can share file system between two HP-UX server by using CIFS With achieving what I want.
On Server A
drwxrwxrwx 17 dsadm dstage 1024 Apr 6 10:55 /mount1
On Server B
drwxrwxrwx 17 wasadmin wasgroup 1024 Apr 6 10:55 /mount2
# swlist | grep CIFS
CIFS-CLIENT A.02.02.02 HP CIFS Client
CIFS-SERVER A.02.04.03 HP CIFS Server
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2011 12:16 PM
07-16-2011 12:16 PM
Re: NFS Permission Issue
>how I can share file system between two HP-UX server by using CIFS With achieving what I want.
This is just a conjecture. If CIFS allows windows IDs to be mapped to Unix IDs, perhaps it will allow Unix IDs to be mapped other Unix IDs?
In any case, why do you want such a complex setup, instead just make the two IDs on the systems identical?