Operating System - HP-UX
1821245 Members
2723 Online
109632 Solutions
New Discussion юеВ

how to update nfs mount (on the client)

 
Suresh Ramakrishnan
New Member

how to update nfs mount (on the client)

Hello All,

I am relatively new to HP-UX and trying to explore everyday, at present I am trying to update the node name of one of the nfs mount we have and unsure if these steps are correct.

1. Unmount the mounted nfs filesystem
2. edit the /etc/fstab and change the nodename
3. remount the nfs filesystem again using mount -a.

Let me know if I am missing something or do I need to remove the nfs and have to recreate it again?

Thanks in advance.
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: how to update nfs mount (on the client)

What do you mean node name? You mean the name of the server? Or the filesystem on a server?

Your steps seem fine.
Are you trying to change the mount from one server to another?
Rasheed Tamton
Honored Contributor

Re: how to update nfs mount (on the client)

Hi,

>2. edit the /etc/fstab and change the nodename

nodename must be the name of the server that exported the file system.

Regards.
SKR_1
Trusted Contributor

Re: how to update nfs mount (on the client)

Do the following steps:-

1. Umount the NFS FS
2. Edit the /etc/fstab entry.
3. Check and verify /etc/exports file on NFS server whether its having proper entry for the server where you need NFS mount points.
4. Run the command on NFS server

exportfs -a

5. Then on other server run

mount -a

Thanks & Regards
Suresh Ramakrishnan
New Member

Re: how to update nfs mount (on the client)

Thanks for all the comments confirming the steps, I was able to mount the nfs.
Dennis Handly
Acclaimed Contributor

Re: how to update nfs mount (on the client)

Welcome to the forums. If you are happy with the answers you were given, please read the following about assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33