Operating System - HP-UX
1819796 Members
3117 Online
109607 Solutions
New Discussion юеВ

nfs file permissions on NETAPP filer

 
George_Dodds
Honored Contributor

nfs file permissions on NETAPP filer

I've got to move about 150gb of data from a local raid array to a nfs mounted NETAPPs filer.

Anybody got any ideas on how i get it so that any new files or directories created, have the ownership and permissions of the local server not the nas box.

anything created gets the following defaults
drwxr-xr-x 2 nobody4 nogroup

This is causing the application to fail that creates and reads these files.

BTW the os is Solaris 9.

Cheers

George


7 REPLIES 7
Mark Grant
Honored Contributor

Re: nfs file permissions on NETAPP filer

I would have thought "cp -rp" would work. However, if the NFS server ahs a different set of UID's you are going to have problems.
Never preceed any demonstration with anything more predictive than "watch this"
George_Dodds
Honored Contributor

Re: nfs file permissions on NETAPP filer

Tried the -rp and still had problems.

The main issue is any newly created files, i can always chmod etc old data.
But anything that is created by the application either has the wrong permissions or doesnt have the rights to create.
Mark Grant
Honored Contributor

Re: nfs file permissions on NETAPP filer

Well, when an NFS server gets a request from a user it does not know, it uses the default ID of -2 which is "nobody"( unless anon=ID is set in the exports file). In order for the user to be set correctly, "chown" is run on the file afterwards. If you applications doesn't do this, then your NFS server is going to have to "know" the user ID that the application runs as.
Never preceed any demonstration with anything more predictive than "watch this"
V. Nyga
Honored Contributor

Re: nfs file permissions on NETAPP filer

Hi,

how do you manage the users? With a own passwd? Or with NIS?
For create files: Do you have configured the NFS export for all clients?

Don't you have NETApp support? - normally they're very fast.

Volkmar
*** Say 'Thanks' with Kudos ***
George_Dodds
Honored Contributor

Re: nfs file permissions on NETAPP filer

Yup thats how i was figuring it, i just need to find out how to do it on the nas box.
George_Dodds
Honored Contributor

Re: nfs file permissions on NETAPP filer

Users are managed via there own passwd on the loacl server, the users are just different parts of the application, that push data to others servers down the line.

This is a new NAS installation so it's a bit of a learning curve, i'm awaiting replay from netapps at the moment.
V. Nyga
Honored Contributor

Re: nfs file permissions on NETAPP filer

Hi again,

can you view your filer with a browser?
There you can check and also export the access rights to clients. Without exporting the directories for every client you don't get access to them.

Also local passwd on clients will not work.

My installation is with NIS, it works perfect.

Maybe you have to collect the users of the clients to implement them to the filer.

V.
*** Say 'Thanks' with Kudos ***