1833828 Members
2292 Online
110063 Solutions
New Discussion

Regarding NFS

 
Bhushi
Advisor

Regarding NFS

Dear All,

I have some doubt about the NFS.I want to know what is exactly NFS.

Regds
Bhushan
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Regarding NFS

Shalom Bushi,

Network File System

Designed to make it easy for systems to share files between them.

Built into to most Linux/Unix operating systems.

More:
http://kb.iu.edu/data/adux.html

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: Regarding NFS

Patrick Wallek
Honored Contributor

Re: Regarding NFS

What doubts do you have?

NFS = Network File System

It allows computers to mount, via the Network, file systems exported from other computers. NFS is not limited to Unix/Linux. There are NFS application for Windows and possibly VMS and Mainframe systems.

NFS Definition
http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=tyM&defl=en&q=define:NFS&sa=X&oi=glossary_definition&ct=title

What is NFS? (Indiana University)
http://kb.iu.edu/data/adux.html

What is NFS? (Webopedia)
http://www.webopedia.com/TERM/N/NFS.html
Paul Senior_1
Frequent Advisor

Re: Regarding NFS

NFS stands for Network File System and was developed by Sun Microsystems.
It works using the rpc protocol and has set ports assigned to it in /etc/services.

on an NFS 'server' file systems are 'exported' - see /etc/exports i.e. made available to all/some nodes/users.
on an NFS client it can request the NFS servers EXPORTED file systems to be mounted locally (assuming the server has granted it permission/not restricted access).

NFS files systems can be mounted at boot time by placing them in /etc/fstab
Bhushi
Advisor

Re: Regarding NFS

Thanx all

That's i know but can u explain me this with giving some examples.

Regds
Bhushan
spex
Honored Contributor

Re: Regarding NFS

Hello,

Your best reference is the relevant man pages: exports(4), exportfs(1M), mountd(1M), nfsd(1M), mount(1M), fstab(4).

Since you asked, here's an example:

NFS Server
==========
# cat /etc/exports
/backup1 nfsclient(rw,insecure,sync,no_root_squash)
# exportfs -a
exportfs: nfsclient:/backup1

Export /backup1 to client 'nfsclient'.
rw: read-write
insecure: allow clients not using a reserved NFS port
sync: update files before replying to requests
no_root_squash: allow allow uid 0

NFS Client
==========
# mkdir /tmp_mnt/backup1@nfsserver
# mount nfsserver:/backup1 /tmp_mnt/backup1@nfsserver

PCS
Babu A
Frequent Advisor

Re: Regarding NFS

Bhushan,
This is something like a Windows Share Drive or Directory,which can be accessible in other client.

Hope this helps you.

Babu