1833467 Members
3074 Online
110052 Solutions
New Discussion

NFS mounted

 
SOLVED
Go to solution
lawrenzo
Trusted Contributor

NFS mounted

Hello,

Please can you help;

i do bdf on server 1

# nfspkg15 /ndmarchive

I need to chown / chmod a file on this file system but get the error not owner.

I need to know how to find out what server this file system is originally on?
hello
4 REPLIES 4
Muthukumar_5
Honored Contributor
Solution

Re: NFS mounted

We can not changed mounted directory and it's file contents. Because after mount directories will be changed as like exported directory and it's file contents.

We can modify the contents not the permissions of file. If you want to change the permission of directory and files, you have to do it on the correspoding server.

We can find the exported file nfs originality using nfsstat -m command

It will give the full details of that mounted point and export file system details.

bdf or mount or mount -v also gives server name or ip-address with the export directory. If you are not using anything then that is from local node
Easy to suggest when don't know about the problem!
BONNAFOUS Jean Marc
Trusted Contributor

Re: NFS mounted

Hello,

Like Muthukumar say it, you can change permissions only on original server specially if your system is trusted. Use bdf -t nfs to list only nfs filesystems and mounted point or see /etc/mnttab file.
If your systems aren't trusted you can change permissions but the user who take action must exist with identical ID on the two servers.

Rgds

JMB
Si vous ne faites jamais de bétises, c'est que vous ne faites rien de difficile. Et ça c'est une grosse bétise.
lawrenzo
Trusted Contributor

Re: NFS mounted

Thanks very much - this is a great help
hello
Dave Olker
Neighborhood Moderator

Re: NFS mounted

Hi,

Are you asking how to determine which NFS server currently owns this filesystem? I assume you're asking this because the NFS filesystem in question belongs to an HA/NFS package configured in ServiceGuard. That would explain the server name "nfspkg15."

As others have said, you can use "nfsstat -m" to get the IP address of the server. However, in the ServiceGuard case that will only tell you the relocatable IP address associated with the NFS package.

In order to determine without question which NFS server currently is serving the package in question you'd need to get onto one of the servers in the HA/NFS cluster and issue the "cmviewcl" command to display the current running ServiceGuard configuration. This command will also show you all the configured HA/NFS packages and which servers are currently running them.

Hope this helps,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo