Network File system(NFS) Important Characteristics and Option


RPC – Remote Procedural Call
1) RPC is mainly used for NFS – Network File system.
2) It is inter-process communication.
3) It is used for maintain the remote-interaction (between Client & Server).
4) RPC is mainly used for NFS – Network File system.
5) Port map : Keep List of service running @ what PORT
6) To check rpc for NFS
#rcpinfo -p | grep nfs
How To Configure NFS Server
# rpcinfo -u localhost nfs
rpcinfo: RPC: Program not registered
program 100003 is not available

# rpcinfo -u localhost nfs
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting
program 100003 version 4 ready and waiting

# rpcinfo -p localhost | grep nfs
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs

For NFS and portmap.

NFS version are 2,3,4
1)NFS Performance Improvement
2)nfs v 2 – 8 kbs (Read/write) Size
3)nfs v 3 – 32 Kbs (Read/Write)Size

Act as ROOT. Provide root privilege . Map privilege with root ID.
Act as Anonymous(nfsnobody). Even it is Remote root user
Act all user as Anonymous. Map all the user and group id as anonymous.
Response to the request. Depends on the disk writing – SLOW writing – Data secure.
Not depending on the disk write – FAST Writing  - may lead to data loss
NOTE: async it will give better performance(disk read & write).
Update inode access time/ Don't update Inode access time
Allow signal to interrupt the NFS calls.

NFS Sever Side Export Option

NFS client Side Mount Option
Check the NFS Status
#nfsstat –nfs –server -3
Show the nfs status version 3
#exportfs -o rw IP:/partition
Without adding /etc/export  . export the file system[ TEMPORARY PURPOSE]

Comparison between NFS and Samba
SAMBA – SMB ( Server Message Block )
1)  Maintain the authentication depends on client machine Network & Domain.
Maintain the authentication depends on User Name & Password.

No comments:
Write comments