0% found this document useful (0 votes)
131 views

NFS Presentation

The document discusses Network File System (NFS) configuration on Solaris. It covers NFS server and client configuration files, daemons, commands, and options. Key points include NFS uses port 2049, common server files like /etc/dfs/dfstab, daemons include Mountd, Nfsd, Statd, Lockd, and commands like Share, Unshare, and Dfmounts. The nfslogd daemon resolves IP addresses and file handles. Snoop can monitor network traffic and CacheFS improves NFS performance.

Uploaded by

ramkamalakkannan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views

NFS Presentation

The document discusses Network File System (NFS) configuration on Solaris. It covers NFS server and client configuration files, daemons, commands, and options. Key points include NFS uses port 2049, common server files like /etc/dfs/dfstab, daemons include Mountd, Nfsd, Statd, Lockd, and commands like Share, Unshare, and Dfmounts. The nfslogd daemon resolves IP addresses and file handles. Snoop can monitor network traffic and CacheFS improves NFS performance.

Uploaded by

ramkamalakkannan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Network File System

/etc/rmtab = it is used to save remotely mounted file system /etc/dfs/dfstab = it is used to save the local shared file system it will read when system booting and request coming from client(when run the mount command from client) /etc/dfs/sharetab = it is used to save the share command output /etc/dfs/fstypes = it is used to save the remotely mounted filesystem types.

Mountd daemon service is started by svc: /network/nfs/server Mountd daemon is only required for NFS2/NFS3. NFS uses well known port with port no2049.

NFS Server files


/etc/dfs/dfstab /etc/dfs/sharetsb /etc/dfs/fstypes /etc/rmtab /etc/nfs/nfslog.conf /etc/default/nfslogd

NFS Server daemon


Mountd Nfsd Statd Lockd Nfslogd

NFS Server daemons


Svc:/network/nfs/server Svcadm enable svc:/network/nfs/server Svcadm disable svc:/network/nfs/server

NFS Server commands


Share Unshare Shareall Unshareall Dfshares Dfmounts

Share F nfs o ro /export/home To see mount points of client from server side # dfmounts #rmmounts

Server Sharing options


Share F nfs o ro directory Share F nfs o ro rw=client1 directory Share F nfs o root=client2 directory Share F nfs o anon=0 directory #share /export/sys44_data ro

Server Unshareing option


Share F nfs pathname Share F nfs /export/sys44_data

Display currently shared NFS Resources


#dfshares F nfs host #share F nfs o ro /export/nfs #dfshares

To display NFS Mounted Resources


The dfmounts shows remotely mounted NFS Resource information Dfmounts [F nfs] [server]

Managing NFS client files


Nfs client files /etc/vfstab /etc/mnttab /etc/dfs/fstypes

NFS Client Daemons


Statd Works with lockd daemon to provide crash recovery functions for the lock manager lockd support record-locking operations on NFS files

Mamaging NFS client files


Svc: /network/nfs/client service Svcadm restart svc:/network/nfs/client

List of NFS client commands


Dfshares Mmout Umount Mountall Umountall Dfmounts

dfshares sys44

NFS default mount options

The nfslogd Daemon


It is convert raw data from the logging operation into ASCII Resolve the ip address to hostname and UIDs to login names. Maps the file handles to path names tables If this daemon is not running the changes are not tracked to the mappings in the file handle-to-path table

Snoop
It is used to view the network traffic between two systems. It is networking troubleshooting tools.

Commands
Snoop sys1 sys2 it will display the traffic betweek 2 pcs Snoop d hme0 broadcast To examine the framework for ethernet interface Snoop v d hme0 broadcast to view only broadcast packets on the hme0 interface

Cache FS
It is used to performance the remote file system It allows you to be a client a home directory which is mounted via NFS from an NFS server.

To see deamons of nfs: nfs: # ps ef | grep nfs # share // read the entries from /sharetab # shareall // read the entries from /dfstab When we apply #share, then /sharetab automatically updates. To make read only: # share F nfs o ro /sai # share

Issue 1: If service is disable, it will not share A: check out the services of NFS & #svcs a |grep nfs If network pbm:

# svcadm enable network/nfs/server #share If deamon pbm: Just start the deamon # cd /usr/lib/nfs # file mountd #./mountd To see port num # netstat a | grep i nfs

You might also like