Operating System - Linux
1836122 Members
4641 Online
110089 Solutions
New Discussion

Re: NFS in Linux from HP-UX

 
Tonatiuh
Super Advisor

NFS in Linux from HP-UX

Red Hat Enterprise Linux 3.8
HP-UX 11.11

NFS Mount directories before to mount it...

Linux directory ownership: oracle:oinstall
HP-UX directoru ownership: oracle:oinstall

But when I mount the HP-UX directory from Linux, the ownership of the directory in linux change to 101:ident

# umount /apptmp/pruebas
# ll
total 4
drwxr-xr-x 2 oracle oinstall 4096 Aug 11 02:37 pruebas
# mount -t nfs 172.16.110.41:/data/LCTEST/TMP /apptmp/pruebas
# ll
total 25
drwxrwxrwx 2 101 ident 24576 Sep 18 2008 pruebas

Any idea?
5 REPLIES 5
Ivan Krastev
Honored Contributor

Re: NFS in Linux from HP-UX

What's are user and group ID of HP-UX user oracle and group oinstall.

regards,
ivan
Tonatiuh
Super Advisor

Re: NFS in Linux from HP-UX

HP-UX:
uid=101(oracle) gid=101(oinstall) groups=102(dba)

Linux:
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba),502(dbo)
Jeff_Traigle
Honored Contributor

Re: NFS in Linux from HP-UX

NFS doesn't interpret, extrapolate, or guess about UIDs and GIDs. If you want them to be owned by the same user and group, you must be sure the UIDs and GIDs match for those users and groups on both systems.
--
Jeff Traigle
Steven E. Protter
Exalted Contributor

Re: NFS in Linux from HP-UX

Shalom,

You have inconsistencies in the numeric user id's between the HP-UX and Linux system.

To get permissions and ownership to be right you need to solve those issues or use NIS and make one server the master and one the slave.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sandeep_Chaudhary
Trusted Contributor

Re: NFS in Linux from HP-UX

Plesae match oracle user UID on both the machine. That will solve the problem