Operating System - HP-UX
1821541 Members
2113 Online
109633 Solutions
New Discussion юеВ

Linux NAS and 10.20 mount error

 
Martin Borne
Advisor

Linux NAS and 10.20 mount error

I have a Red Hat 9 NAS that I export file systems to my main HP-UX 10.20 workstations.

They are both setup to user my NIS server for account information.

Problem.

I log in to the system adn cd the the mount. I am able to create a directory, but if I try to chown I get the error: "username: not owner". I can however still delete the directory.

My export line in my NAS is:

/"directory" *(sync,insecure,rw,no_auth_nlm)

Please help...
It's better to burn out than fade away!
3 REPLIES 3
Florian Heigl (new acc)
Honored Contributor

Re: Linux NAS and 10.20 mount error

I don't know if this is the problem You're seeing, but if You're trying this a user root, the linux server will remap Your uid from 0 to 65535 (nobody).

if this is the case, You'd have to use maproot=bin or something along the lines.

If not, I'm not sure, sorry.
yesterday I stood at the edge. Today I'm one step ahead.
C. Beerse_1
Regular Advisor

Re: Linux NAS and 10.20 mount error

It is not only at the export side, also check the mount-side. As far as I know, both will accept accounts between 500 (or 1000) and 60000 for normal accounts, accounts outside that range (root, nobody and such) are treated special at both export ant mount.

Also check for options that do chown under the bonnet and the account that does the mount: if the mount is in user-space (like smb-mounts), then all new files (and dirs) are for that account, not the creating account.

Then, you use nis. It is possible one of the accounts (name and/or id) in use is also available in one of the machines at both ends, with an id-name mismatch...

make everything as simple as possible, not simpler (A.Einstein??)
Martin Borne
Advisor

Re: Linux NAS and 10.20 mount error


This happens for all accounts, not just root.

As for my accounts they start at 121 uid and go to 250. This has been like this for years and has never caused a problem with just straight HPUX.

With using NIS, I have no local accounts on my machines except for the defaults, root, bin etc..

I created a test account with the UID of 2000 and the same problem still arose.
It's better to burn out than fade away!