Operating System - HP-UX
1751743 Members
5437 Online
108781 Solutions
New Discussion юеВ

Re: How to install NFS server?

 
SOLVED
Go to solution
seenivasan
Frequent Advisor

How to install NFS server?

Dear All,

How to install NFS server?what are the procedure needed?server side steps?client side steps?os version is 11.1,and 11.2,and 11.3.

ex:if having 150GB Lun in server1.this 150GB lun need to mount on the Server2.here what are the steps i need to follow?

Regards,
Seenivasan
4 REPLIES 4
kemo
Trusted Contributor
Solution

Re: How to install NFS server?

Server Side:
make sure you run NFS services.

vi /etc/rc.config.d/nfsconf
NFS_CORE=1

NFS_SERVER=1
PCNFS_SERVER=1
START_NFSLOGD=1
START_MOUNTD=1

- then start the services

/sbin/init.d/nfs.core start
/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start

1- cd /etc/dfs
2- vi dfstab
# share [-F fstype] [ -o options] [-d ""] [resource]
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /share

Where: engineering is the client hostname
and /share is the shared directory

3- shareall

--------------------------------
client side:

mount -F nfs SERVER_NAME:/share /MOUNT_POINT


thanks
kamal

Ismail Azad
Esteemed Contributor

Re: How to install NFS server?

Hi,

Adding to kemo, on the NFS client side, the NFS_CLIENT control variable should be put as one to enable client functionality and the server as well as client functionality are enabled by default on 11.31, just checking the control variables is important. Commands for the NFS subsystem are different on 11.23 because it uses the exportfs command and a lot of things also depend on if you are using NFS v1, v2, v3 or v4.

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
seenivasan
Frequent Advisor

Re: How to install NFS server?

Dear ,

could you tell me what excet differents ON NFSv2,3,4 and any OS commands might be different?(HP-UX 11.1,11.2,11.3)

Regards,
Seenivasan P
Ismail Azad
Esteemed Contributor

Re: How to install NFS server?

Hi,

The command exportfs was used for exporting a filesystem in v2 and now the command share is being used. NFS v3 works on TCP and also has the concept of AUTOFS. NFSv4 has robust authentication mechanisms such as kerberos and levels of it as well as supporting of ACLs and as NFS versions have progressed, performance has increased.

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....