Operating System - Linux
1826811 Members
3679 Online
109704 Solutions
New Discussion

Can't mount hpux with option root=machine from linux machine

 
Rick Jones_2
Occasional Advisor

Can't mount hpux with option root=machine from linux machine

Hi Everyone,

I'm tring to mount an HPUX 10.2 (nfs v2) machine using the root option from a Suse Linux (v8.2) machine and it doesn't seem to take the root option into account and it works fine from another hpux machine.


I'm using the following to test it:


Server: exportfs -i -o root=ramsys33:ramsys00 /dummy

Both clients: mount server:/dummy /dummy


Files created using the hpux client have uid and gid of 0 but the linux machine created files have the uid and gid as "4294967294".

I'm new to Suse linux so I'm not sure if this is a limitation or not, or if I'm doing something wrong.

Any help would be appreciated -- Thanks

Rick

3 REPLIES 3
Stuart Browne
Honored Contributor

Re: Can't mount hpux with option root=machine from linux machine

If the NFS server were under Linux, I'd say use the "no_root_squash" flag in exportfs. As it's on a HPUX box, I'm unsure what the equivalent should be.

If it is that the root= flag, then it would appear that the client is not being recognised correctly by your HPUX machine (check IP/DNS/hosts etc.).
One long-haired git at your service...
Elmar P. Kolkman
Honored Contributor

Re: Can't mount hpux with option root=machine from linux machine

You could try the FQDN for the linux machine. And try a nslookup of it and see if it is resolvable.
Every problem has at least one solution. Only some solutions are harder to find.
Graham Cameron_1
Honored Contributor

Re: Can't mount hpux with option root=machine from linux machine

Rick
Have a look at the /etc/exports file on the hp-ux box, or run "exportfs -v" to see what is currently exported.
To allow root nfs, you to specify the "root=hostname[:hostname]..." in the exports file.
Again, on the hp-ux box, look at "man exports".
Note that if you edit this file, you need to run "exportfs -a".
-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.