SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Downloaden Sie, um offline zu lesen
NFS
Network
File
System

Jainul A. Musani

1
NFS – Network File System
• A Network File System (NFS) allows
remote hosts to mount file systems over
a network and access those file systems as
they are mounted locally.
• NFS operates over TCP/IP network.
• NFS enables you to mount a file system on a
remote computer.
• Directly access any of the files on that
remote file system

2
NFS – Network File System
Example:
if you were using a computer
linked to a second computer via
NFS, you could access files on the
second computer as if they resided
in a directory on the first computer.
NFS – Network File System

4

• This is accomplished through the
processes of exporting (the process
by which an NFS server provides
remote clients with access to its files)
and mounting (the process by which
file systems are made available to
the operating system and the user).
NFS – Network File System
• Access to your NFS server can be
controlled by the
/etc/host.allow
and
/etc/hosts.deny

5
NFS – Network File System
• Being graphical you must have the
X-window system running able to
use the tool
• Redhat icon
Administration
Server Setting
NFS

6
NFS – Network File System
• manually configure in following
file…

/etc/exports

7
8

NFS – Network File System
The NFS daemons are listed
OR
The following RPC processes
facilitate NFS services:
NFS – Network File System
• rpc.nfsd  receives NFS requests
from remote system
• rpc.mountd  performs requested
mount & unmount operations
• rpc.portmapper  maps remote
request to the appropriate NFS
daemon

9
NFS – Network File System
• rpc.rquotad  provides user
disk quote management
• rpc.statd  provides locking
services when a remote host
reboots.

10
NFS Versions

11

Currently, there are three versions
of NFS...
• NFS version 2 (NFSv2)  is older
and is widely supported.
NFS Versions
• NFS version 3 (NFSv3)  has more
features, including 64bit file handles, Safe
Async writes and more robust error
handling.
• NFS version 4 (NFSv4)  works through
firewalls and on the Internet, no longer
requires portmapper, supports ACLs, and
utilizes stateful operations.

12
The NFS Protocol

13

• Each relies on Remote Procedure
Calls(RPC) and Portmap(also called
rpc.portmap).
• An RPC server tells portmap which
port will be used and the managed RPC
number.
The NFS Protocol
• A client contacts portmap to get
port number of desired server
program.
• RPC packets are addressed to the
corresponding port
• Use the rpcinfo -p command to
obtain details on services

14
The NFS Protocol

15
Configure NFS Server
Pre-requisists
• A Linux server with
IP address  192.168.0.254 and
hostname  Server
• A linux client with
IP address  192.168.0.1 and
hostname  Client1

16
Configure NFS Server
Pre-requisists
• Updated /etc/hosts file on both
Linux system
• Running portmap and xinetd
services
• Firewall should be off on server

17
Configure NFS Server

18

Step – 1:
• Three rpm are required to configure nfs
 server. nfs,
 portmap,
 xinetd

check them if not found then
install.
Configure NFS Server

19
Configure NFS Server
Step – 2:

• Now restart
•xinetd and
•portmap service

20
Configure NFS Server

21
Configure NFS Server
Step – 3:

• To keep on these services after
reboot on then
via chkconfig command

22
Configure NFS Server

23
Configure NFS Server
Step – 4:
• After reboot verify their status.
It must be in running condition.

24
Configure NFS Server

25
Configure NFS Server

26

• Step-5 :
now create a /data directory and
grant full permission to it.
Configure NFS Server

27
Configure NFS Server
Step – 6:
• now open /etc/exports file

28
Configure NFS Server
Step – 7:
• share data folder for the network
of 192.168.0.254/24 with read
and write access
Step – 8:
save file with :wq and exit

29
Configure NFS Server
Step – 9:
• now restart the nfs service and
also on it with chkconfig.

30
Configure NFS Server

31
32

NFS Server Configuration Tool
With X-Windows
• Must be running X Windows,
have root privileges, and have the
system-config-nfs RPM package
installed.
33

NFS Server Configuration Tool
With X-Windows
 To start the application, click on
System =>
Administration =>
Server Settings => NFS.
 You can also type the command

$system-config-nfs
Configure NFS Server

34
Configure NFS Server

35
Configure NFS Server

36
Configure NFS Server
•Add Share
•The General Options tab allows the following
•options to be configured:

37
Configure NFS Server

38
T hank
You !
!

39

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Linux System Monitoring basic commands
Linux System Monitoring basic commandsLinux System Monitoring basic commands
Linux System Monitoring basic commands
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Dhcp ppt
Dhcp pptDhcp ppt
Dhcp ppt
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Linux booting Process
Linux booting ProcessLinux booting Process
Linux booting Process
 
Basic 50 linus command
Basic 50 linus commandBasic 50 linus command
Basic 50 linus command
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
 
Linux
LinuxLinux
Linux
 
Kernel Configuration and Compilation
Kernel Configuration and CompilationKernel Configuration and Compilation
Kernel Configuration and Compilation
 
Linux introduction
Linux introductionLinux introduction
Linux introduction
 
Building Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARMBuilding Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARM
 
Systems Administration
Systems AdministrationSystems Administration
Systems Administration
 
An introduction to SSH
An introduction to SSHAn introduction to SSH
An introduction to SSH
 
Windows Registry
Windows RegistryWindows Registry
Windows Registry
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Networking in linux
Networking in linuxNetworking in linux
Networking in linux
 
Linux Network Stack
Linux Network StackLinux Network Stack
Linux Network Stack
 

Andere mochten auch

Network File System in Distributed Computing
Network File System in Distributed ComputingNetwork File System in Distributed Computing
Network File System in Distributed ComputingChandan Padalkar
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)udamale
 
Nfs version 4 protocol presentation
Nfs version 4 protocol presentationNfs version 4 protocol presentation
Nfs version 4 protocol presentationAbu Osama
 
Network file system (nfs)
Network file system (nfs)Network file system (nfs)
Network file system (nfs)Raghu nath
 
network filesystem briefs
network filesystem briefsnetwork filesystem briefs
network filesystem briefsbergwolf
 
Vnx series-technical-review-110616214632-phpapp02
Vnx series-technical-review-110616214632-phpapp02Vnx series-technical-review-110616214632-phpapp02
Vnx series-technical-review-110616214632-phpapp02Newlink
 
NETWORK FILE SYSTEM
NETWORK FILE SYSTEMNETWORK FILE SYSTEM
NETWORK FILE SYSTEMRoshan Kumar
 
Aws 201:Advanced Breakout Track on HA and DR
Aws 201:Advanced Breakout Track on HA and DRAws 201:Advanced Breakout Track on HA and DR
Aws 201:Advanced Breakout Track on HA and DRHarish Ganesan
 
NFS and CIFS Options for AWS (STG401) | AWS re:Invent 2013
NFS and CIFS Options for AWS (STG401) | AWS re:Invent 2013NFS and CIFS Options for AWS (STG401) | AWS re:Invent 2013
NFS and CIFS Options for AWS (STG401) | AWS re:Invent 2013Amazon Web Services
 
Learning sed and awk
Learning sed and awkLearning sed and awk
Learning sed and awkYogesh Sawant
 
Panzura Global Storage System
Panzura Global Storage SystemPanzura Global Storage System
Panzura Global Storage SystemPanzura
 
Auto scaling using Amazon Web Services ( AWS )
Auto scaling using Amazon Web Services ( AWS )Auto scaling using Amazon Web Services ( AWS )
Auto scaling using Amazon Web Services ( AWS )Harish Ganesan
 
Emc vnx2 technical deep dive workshop
Emc vnx2 technical deep dive workshopEmc vnx2 technical deep dive workshop
Emc vnx2 technical deep dive workshopsolarisyougood
 
Introduction to UNIX Command-Lines with examples
Introduction to UNIX Command-Lines with examplesIntroduction to UNIX Command-Lines with examples
Introduction to UNIX Command-Lines with examplesNoé Fernández-Pozo
 
(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWSAmazon Web Services
 
Facebooks Petabyte Scale Data Warehouse using Hive and Hadoop
Facebooks Petabyte Scale Data Warehouse using Hive and HadoopFacebooks Petabyte Scale Data Warehouse using Hive and Hadoop
Facebooks Petabyte Scale Data Warehouse using Hive and Hadooproyans
 
Containerless in the Cloud with AWS Lambda
Containerless in the Cloud with AWS LambdaContainerless in the Cloud with AWS Lambda
Containerless in the Cloud with AWS LambdaRyan Cuprak
 
Architecting an Highly Available and Scalable WordPress Site in AWS
Architecting an Highly Available and Scalable WordPress Site in AWS Architecting an Highly Available and Scalable WordPress Site in AWS
Architecting an Highly Available and Scalable WordPress Site in AWS Harish Ganesan
 

Andere mochten auch (20)

Network File System in Distributed Computing
Network File System in Distributed ComputingNetwork File System in Distributed Computing
Network File System in Distributed Computing
 
Nfs
NfsNfs
Nfs
 
Nfs
NfsNfs
Nfs
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)
 
Nfs version 4 protocol presentation
Nfs version 4 protocol presentationNfs version 4 protocol presentation
Nfs version 4 protocol presentation
 
Network file system (nfs)
Network file system (nfs)Network file system (nfs)
Network file system (nfs)
 
network filesystem briefs
network filesystem briefsnetwork filesystem briefs
network filesystem briefs
 
Vnx series-technical-review-110616214632-phpapp02
Vnx series-technical-review-110616214632-phpapp02Vnx series-technical-review-110616214632-phpapp02
Vnx series-technical-review-110616214632-phpapp02
 
NETWORK FILE SYSTEM
NETWORK FILE SYSTEMNETWORK FILE SYSTEM
NETWORK FILE SYSTEM
 
Aws 201:Advanced Breakout Track on HA and DR
Aws 201:Advanced Breakout Track on HA and DRAws 201:Advanced Breakout Track on HA and DR
Aws 201:Advanced Breakout Track on HA and DR
 
NFS and CIFS Options for AWS (STG401) | AWS re:Invent 2013
NFS and CIFS Options for AWS (STG401) | AWS re:Invent 2013NFS and CIFS Options for AWS (STG401) | AWS re:Invent 2013
NFS and CIFS Options for AWS (STG401) | AWS re:Invent 2013
 
Learning sed and awk
Learning sed and awkLearning sed and awk
Learning sed and awk
 
Panzura Global Storage System
Panzura Global Storage SystemPanzura Global Storage System
Panzura Global Storage System
 
Auto scaling using Amazon Web Services ( AWS )
Auto scaling using Amazon Web Services ( AWS )Auto scaling using Amazon Web Services ( AWS )
Auto scaling using Amazon Web Services ( AWS )
 
Emc vnx2 technical deep dive workshop
Emc vnx2 technical deep dive workshopEmc vnx2 technical deep dive workshop
Emc vnx2 technical deep dive workshop
 
Introduction to UNIX Command-Lines with examples
Introduction to UNIX Command-Lines with examplesIntroduction to UNIX Command-Lines with examples
Introduction to UNIX Command-Lines with examples
 
(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS
 
Facebooks Petabyte Scale Data Warehouse using Hive and Hadoop
Facebooks Petabyte Scale Data Warehouse using Hive and HadoopFacebooks Petabyte Scale Data Warehouse using Hive and Hadoop
Facebooks Petabyte Scale Data Warehouse using Hive and Hadoop
 
Containerless in the Cloud with AWS Lambda
Containerless in the Cloud with AWS LambdaContainerless in the Cloud with AWS Lambda
Containerless in the Cloud with AWS Lambda
 
Architecting an Highly Available and Scalable WordPress Site in AWS
Architecting an Highly Available and Scalable WordPress Site in AWS Architecting an Highly Available and Scalable WordPress Site in AWS
Architecting an Highly Available and Scalable WordPress Site in AWS
 

Ähnlich wie Linux06 nfs

Server configuration
Server configurationServer configuration
Server configurationAisha Talat
 
Meeting 9 nfs network file system
Meeting 9   nfs network file systemMeeting 9   nfs network file system
Meeting 9 nfs network file systemSyaiful Ahdan
 
Network File System
Network File SystemNetwork File System
Network File SystemDivyang Oza
 
Linux network file system (nfs)
Linux   network file system (nfs)Linux   network file system (nfs)
Linux network file system (nfs)Raghu nath
 
Chapter 05
Chapter 05Chapter 05
Chapter 05cclay3
 
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...xKinAnx
 
Linux System Administration - NFS Server
Linux System Administration - NFS ServerLinux System Administration - NFS Server
Linux System Administration - NFS ServerSreenatha Reddy K R
 
The NFS Version 4 Protocol
The NFS Version 4 ProtocolThe NFS Version 4 Protocol
The NFS Version 4 ProtocolKelum Senanayake
 
Ericas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-GuideEricas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-GuideErica StJohn
 
Solaris 10 administration 2 Configuring NFS
Solaris 10 administration 2 Configuring NFSSolaris 10 administration 2 Configuring NFS
Solaris 10 administration 2 Configuring NFSAhmedEidNassef
 
File service architecture and network file system
File service architecture and network file systemFile service architecture and network file system
File service architecture and network file systemSukhman Kaur
 
RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)Sumant Garg
 

Ähnlich wie Linux06 nfs (20)

Server configuration
Server configurationServer configuration
Server configuration
 
Meeting 9 nfs network file system
Meeting 9   nfs network file systemMeeting 9   nfs network file system
Meeting 9 nfs network file system
 
Network File System
Network File SystemNetwork File System
Network File System
 
M3 nfs fs-3.2.1
M3 nfs fs-3.2.1M3 nfs fs-3.2.1
M3 nfs fs-3.2.1
 
Linux network file system (nfs)
Linux   network file system (nfs)Linux   network file system (nfs)
Linux network file system (nfs)
 
Nf Sp4
Nf Sp4Nf Sp4
Nf Sp4
 
NFS.ppt
NFS.pptNFS.ppt
NFS.ppt
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
 
Nfs
NfsNfs
Nfs
 
Linux System Administration - NFS Server
Linux System Administration - NFS ServerLinux System Administration - NFS Server
Linux System Administration - NFS Server
 
FILE SERVER
FILE SERVERFILE SERVER
FILE SERVER
 
File Sever
File SeverFile Sever
File Sever
 
The NFS Version 4 Protocol
The NFS Version 4 ProtocolThe NFS Version 4 Protocol
The NFS Version 4 Protocol
 
Ch18 system administration
Ch18 system administration Ch18 system administration
Ch18 system administration
 
Upper layer protocol
Upper layer protocolUpper layer protocol
Upper layer protocol
 
Ericas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-GuideEricas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-Guide
 
Solaris 10 administration 2 Configuring NFS
Solaris 10 administration 2 Configuring NFSSolaris 10 administration 2 Configuring NFS
Solaris 10 administration 2 Configuring NFS
 
File service architecture and network file system
File service architecture and network file systemFile service architecture and network file system
File service architecture and network file system
 
RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)
 

Mehr von Jainul Musani

Mehr von Jainul Musani (20)

React js t8 - inlinecss
React js   t8 - inlinecssReact js   t8 - inlinecss
React js t8 - inlinecss
 
React js t7 - forms-events
React js   t7 - forms-eventsReact js   t7 - forms-events
React js t7 - forms-events
 
React js t6 -lifecycle
React js   t6 -lifecycleReact js   t6 -lifecycle
React js t6 -lifecycle
 
React js t5 - state
React js   t5 - stateReact js   t5 - state
React js t5 - state
 
React js t4 - components
React js   t4 - componentsReact js   t4 - components
React js t4 - components
 
React js t3 - es6
React js   t3 - es6React js   t3 - es6
React js t3 - es6
 
React js t2 - jsx
React js   t2 - jsxReact js   t2 - jsx
React js t2 - jsx
 
React js t1 - introduction
React js   t1 - introductionReact js   t1 - introduction
React js t1 - introduction
 
ExpressJs Session01
ExpressJs Session01ExpressJs Session01
ExpressJs Session01
 
NodeJs Session03
NodeJs Session03NodeJs Session03
NodeJs Session03
 
NodeJs Session02
NodeJs Session02NodeJs Session02
NodeJs Session02
 
Nodejs Session01
Nodejs Session01Nodejs Session01
Nodejs Session01
 
Java exercise1
Java exercise1Java exercise1
Java exercise1
 
Fundamentals of JDBC
Fundamentals of JDBCFundamentals of JDBC
Fundamentals of JDBC
 
Core Java Special
Core Java SpecialCore Java Special
Core Java Special
 
Core Java Special
Core Java SpecialCore Java Special
Core Java Special
 
Cassandra-vs-MongoDB
Cassandra-vs-MongoDBCassandra-vs-MongoDB
Cassandra-vs-MongoDB
 
MongoDB-SESSION03
MongoDB-SESSION03MongoDB-SESSION03
MongoDB-SESSION03
 
MongoDB-SESSION02
MongoDB-SESSION02MongoDB-SESSION02
MongoDB-SESSION02
 
MongoDB-SESION01
MongoDB-SESION01MongoDB-SESION01
MongoDB-SESION01
 

Kürzlich hochgeladen

Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.EnglishCEIPdeSigeiro
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.raviapr7
 
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfMaximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfTechSoup
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...CaraSkikne1
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxraviapr7
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfMohonDas
 
M-2- General Reactions of amino acids.pptx
M-2- General Reactions of amino acids.pptxM-2- General Reactions of amino acids.pptx
M-2- General Reactions of amino acids.pptxDr. Santhosh Kumar. N
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxKatherine Villaluna
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxheathfieldcps1
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxraviapr7
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphNetziValdelomar1
 
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxPractical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxKatherine Villaluna
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptxmary850239
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17Celine George
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17Celine George
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...raviapr7
 

Kürzlich hochgeladen (20)

Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.
 
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfMaximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptx
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdf
 
M-2- General Reactions of amino acids.pptx
M-2- General Reactions of amino acids.pptxM-2- General Reactions of amino acids.pptx
M-2- General Reactions of amino acids.pptx
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptx
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptx
 
Prelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quizPrelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quiz
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a Paragraph
 
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxPractical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptx
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...
 

Linux06 nfs

  • 2. NFS – Network File System • A Network File System (NFS) allows remote hosts to mount file systems over a network and access those file systems as they are mounted locally. • NFS operates over TCP/IP network. • NFS enables you to mount a file system on a remote computer. • Directly access any of the files on that remote file system 2
  • 3. NFS – Network File System Example: if you were using a computer linked to a second computer via NFS, you could access files on the second computer as if they resided in a directory on the first computer.
  • 4. NFS – Network File System 4 • This is accomplished through the processes of exporting (the process by which an NFS server provides remote clients with access to its files) and mounting (the process by which file systems are made available to the operating system and the user).
  • 5. NFS – Network File System • Access to your NFS server can be controlled by the /etc/host.allow and /etc/hosts.deny 5
  • 6. NFS – Network File System • Being graphical you must have the X-window system running able to use the tool • Redhat icon Administration Server Setting NFS 6
  • 7. NFS – Network File System • manually configure in following file… /etc/exports 7
  • 8. 8 NFS – Network File System The NFS daemons are listed OR The following RPC processes facilitate NFS services:
  • 9. NFS – Network File System • rpc.nfsd  receives NFS requests from remote system • rpc.mountd  performs requested mount & unmount operations • rpc.portmapper  maps remote request to the appropriate NFS daemon 9
  • 10. NFS – Network File System • rpc.rquotad  provides user disk quote management • rpc.statd  provides locking services when a remote host reboots. 10
  • 11. NFS Versions 11 Currently, there are three versions of NFS... • NFS version 2 (NFSv2)  is older and is widely supported.
  • 12. NFS Versions • NFS version 3 (NFSv3)  has more features, including 64bit file handles, Safe Async writes and more robust error handling. • NFS version 4 (NFSv4)  works through firewalls and on the Internet, no longer requires portmapper, supports ACLs, and utilizes stateful operations. 12
  • 13. The NFS Protocol 13 • Each relies on Remote Procedure Calls(RPC) and Portmap(also called rpc.portmap). • An RPC server tells portmap which port will be used and the managed RPC number.
  • 14. The NFS Protocol • A client contacts portmap to get port number of desired server program. • RPC packets are addressed to the corresponding port • Use the rpcinfo -p command to obtain details on services 14
  • 16. Configure NFS Server Pre-requisists • A Linux server with IP address  192.168.0.254 and hostname  Server • A linux client with IP address  192.168.0.1 and hostname  Client1 16
  • 17. Configure NFS Server Pre-requisists • Updated /etc/hosts file on both Linux system • Running portmap and xinetd services • Firewall should be off on server 17
  • 18. Configure NFS Server 18 Step – 1: • Three rpm are required to configure nfs  server. nfs,  portmap,  xinetd check them if not found then install.
  • 20. Configure NFS Server Step – 2: • Now restart •xinetd and •portmap service 20
  • 22. Configure NFS Server Step – 3: • To keep on these services after reboot on then via chkconfig command 22
  • 24. Configure NFS Server Step – 4: • After reboot verify their status. It must be in running condition. 24
  • 26. Configure NFS Server 26 • Step-5 : now create a /data directory and grant full permission to it.
  • 28. Configure NFS Server Step – 6: • now open /etc/exports file 28
  • 29. Configure NFS Server Step – 7: • share data folder for the network of 192.168.0.254/24 with read and write access Step – 8: save file with :wq and exit 29
  • 30. Configure NFS Server Step – 9: • now restart the nfs service and also on it with chkconfig. 30
  • 32. 32 NFS Server Configuration Tool With X-Windows • Must be running X Windows, have root privileges, and have the system-config-nfs RPM package installed.
  • 33. 33 NFS Server Configuration Tool With X-Windows  To start the application, click on System => Administration => Server Settings => NFS.  You can also type the command $system-config-nfs
  • 37. Configure NFS Server •Add Share •The General Options tab allows the following •options to be configured: 37