SlideShare a Scribd company logo
11 tohttps://github.com/syaifulahdan/
Computer Network Administration
Network File System
 Network Services
 The Internet Daemon
 Xinetd
 Remote Procedure Calls (RPC)
 NFS
 NFS Architecture
 Exporting FIle system
 Mounting Remote File systems
22 tohttps://github.com/syaifulahdan/
Network Services
• A Linux system starts some services at boot time and allow
other services to be started up when necessary. These services
are controlled by processes called daemons.
• A daemon is a process running in the background which
performs some system-related task, whether a network service,
or some other service.
• If all services started up at boot time, even though they might
or might not be used, this would take up a lot of system
resources. To overcome this problem, the xinetd daemon was
created, which listens on the ports of many network services
and, upon receiving a connection, starts up the service's
corresponding daemon, which runs only until its task is
complete.
2
33 tohttps://github.com/syaifulahdan/
The Internet Daemon
• xinetd starts at boot time and gets the list of
services that it will manage from its
configuration file ( /etc/xinetd.conf ).
• The way it knows which port to listen for each
services is from the /etc/services file.
3
44 tohttps://github.com/syaifulahdan/
xinetd
• Changes to the xinetd.conf file do not take effect until
you tell xinetd to re-read it. After sending a hangup
signal, you should wait and check the log files for
error messages related to your changes. xinetd logs
errors to syslog under the ‘daemon’ facility.
• xinetd plays an important role in securing your
system. It is important to make sure that only services
that you need and trust are enabled in the xinetd.conf
file. Typically you modify your xinetd.conf file to
disable services that are unnecessary , and turn on
only those services that are absolutely necessary.
4
55 tohttps://github.com/syaifulahdan/
Remote Procedure Calls (RPC)
• RPC is a collection of tools and library functions for
client/server applications, upon which, applications such as
NFS, the Network Filesystem are built.
• An RPC server provides a group of procedures which a client
can call by sending a request to the server. The server then
invokes the procedure on behalf of the client, returning a value
as necessary.
• The collection of procedures that an RPC server provides is
called a program and is identified by a program number. The
file /etc/rpc maps service names to their program numbers.
You will only need to edit this file if you bring up a new RPC
server providing a new set of procedures.
5
66 tohttps://github.com/syaifulahdan/
RPC
• The portmapper daemon solves this problem.
When an RPC server starts, it picks an
available port, and then registers that port and
what RPC program numbers it will serve with
the portmapper daemon. When a client
program needs to access a service, it first
queries the portmapper on the RPC server's
host which reports the TCP and UDP port on
which the server is listening, and then it
contacts that port to request its service.
6
77 tohttps://github.com/syaifulahdan/
RPC Timeline
Client Server
Request
Reply
Computing
Blocked
Blocked
Blocked
7
88 tohttps://github.com/syaifulahdan/
RCP Components
• Complete RPC Mechanisms
Caller
(client)
Client
stub
RPC
protocol
Return
value
Arguments
ReplyRequest
Callee
(server)
Server
stub
RPC
protocol
Return
value
Arguments
ReplyRequest
8
99 tohttps://github.com/syaifulahdan/
Steps in Making a RPC call
9
1010 tohttps://github.com/syaifulahdan/
Network File System (NFS)
• NFS, or the Network File System, was originally
developed by Sun Microsystems in the 1980's as a
way to create a file system on diskless clients. NFS
provides remote access to shared file systems across
networks.
• NFS is almost transparent to the user and is stateless,
meaning that no information is lost when a NFS
server crashes.
• All UNIX vendors provide a version of NFS and
many use code licensed from SUN.
10
1111 tohttps://github.com/syaifulahdan/
NFS
• NFS consists of several components.
– a mounting protocol and mount server
– daemons that coordinate basic file service
– several diagnostic utilities
• NFS runs on top of Sun’s RPC protocol, which
defines a system-independent way for
processes to communicate over the network.
11
1212 tohttps://github.com/syaifulahdan/
NFS Architecture
• The basic NFS architecture for UNIX systems.
• The basic NFS architecture for UNIX systems.
12
1313 tohttps://github.com/syaifulahdan/
NFS
• The server side of the NFS makes files available to
other systems by a process called exporting. These
file systems that are available to other systems are
considered to be shared file systems.
• In order to access these shared files, the clients have
to mount these files systems onto their machines.
Once this occurs, the file system is integrated into the
directory structure.
• Server-side NFS
– mountd
– nfsd
13
1414 tohttps://github.com/syaifulahdan/
Mount Protocol used by Unix mount Command
14
1515 tohttps://github.com/syaifulahdan/
Exporting File Systems
• On systems, the /etc/exports file on the NFS
server contains a list of directories that can be
exported, and the restrictions and attributes
that are imposed on these directories.
• /etc/exports
– / master(rw) trusty(rw)
• If the /etc/exports file is modified the export
command must be run for the changes to take
effect immediately.
15
1616 tohttps://github.com/syaifulahdan/
Common Export Options
16
1717 tohttps://github.com/syaifulahdan/
Mounting Remote File Systems
• NFS allows mounting any file system as long as the
file system is not one that is already mounted from
another server. These files can be mounted at boot
time (read from the /etc/vfstab file) or can be
mounted individually by the mount command. When
mounting remote files, the remote machines’ name
has to also be included in the command.
• parrot.uh.edu:/users/staff /staff nfs rw,noquota 0 0
17
1818 tohttps://github.com/syaifulahdan/
NFS Mount Flags/Options
18
1919 tohttps://github.com/syaifulahdan/
NFS issues
• Unix identifies users and groups by numbers.
If machine X shares files with machine Y, then
UID 288 had better refer to the same user on
both systems.
• When mounting file systems, users are
generally given identical privileges, but root
user ID’s are changed to that if ‘nobody’ so
that they cannot become root on a mounted file
system.
19

More Related Content

What's hot

Server configuration
Server configurationServer configuration
Server configuration
Aisha Talat
 
Nf Sp4
Nf Sp4Nf Sp4
Nf Sp4
Waqas !!!!
 
Nfs protocol sequence_diagram
Nfs protocol sequence_diagramNfs protocol sequence_diagram
Nfs protocol sequence_diagramRoberto Castro
 
Nfs
NfsNfs
Meeting 4 DNS
Meeting 4   DNSMeeting 4   DNS
Meeting 4 DNS
Syaiful Ahdan
 
Red Hat Enterprise Linux and NFS by syedmshaaf
Red Hat Enterprise Linux and NFS by syedmshaafRed Hat Enterprise Linux and NFS by syedmshaaf
Red Hat Enterprise Linux and NFS by syedmshaaf
Syed Shaaf
 
Nfs
NfsNfs
The NFS Version 4 Protocol
The NFS Version 4 ProtocolThe NFS Version 4 Protocol
The NFS Version 4 Protocol
Kelum Senanayake
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)
udamale
 
SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience
aniadkar
 
SquirrelMail for webmail
SquirrelMail for webmailSquirrelMail for webmail
SquirrelMail for webmail
Aryman Gautam
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Serverswebhostingguy
 
Presentation on samba server
Presentation on samba serverPresentation on samba server
Presentation on samba server
Veeral Bhateja
 
Ftp server linux
Ftp server linuxFtp server linux
Ftp server linux
Pawan Kumar
 
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
Sukhman Kaur
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linux
Vicent Selfa
 

What's hot (20)

Server configuration
Server configurationServer configuration
Server configuration
 
Nf Sp4
Nf Sp4Nf Sp4
Nf Sp4
 
Nfs protocol sequence_diagram
Nfs protocol sequence_diagramNfs protocol sequence_diagram
Nfs protocol sequence_diagram
 
Nfs
NfsNfs
Nfs
 
Nfs
NfsNfs
Nfs
 
Meeting 4 DNS
Meeting 4   DNSMeeting 4   DNS
Meeting 4 DNS
 
Red Hat Enterprise Linux and NFS by syedmshaaf
Red Hat Enterprise Linux and NFS by syedmshaafRed Hat Enterprise Linux and NFS by syedmshaaf
Red Hat Enterprise Linux and NFS by syedmshaaf
 
Nfs
NfsNfs
Nfs
 
The NFS Version 4 Protocol
The NFS Version 4 ProtocolThe NFS Version 4 Protocol
The NFS Version 4 Protocol
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)
 
AFS case study
AFS case studyAFS case study
AFS case study
 
SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience
 
SquirrelMail for webmail
SquirrelMail for webmailSquirrelMail for webmail
SquirrelMail for webmail
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Servers
 
Presentation on samba server
Presentation on samba serverPresentation on samba server
Presentation on samba server
 
Ftp server linux
Ftp server linuxFtp server linux
Ftp server linux
 
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
 
Ft pv2(1)
Ft pv2(1)Ft pv2(1)
Ft pv2(1)
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linux
 
Proxy
ProxyProxy
Proxy
 

Similar to Meeting 9 nfs network file system

RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)
Sumant Garg
 
NETWORK FILE SYSTEM
NETWORK FILE SYSTEMNETWORK FILE SYSTEM
NETWORK FILE SYSTEMRoshan Kumar
 
Daemons
DaemonsDaemons
Daemons
christina555
 
linux
linuxlinux
NFS.ppt
NFS.pptNFS.ppt
NFS.ppt
Salman K.h
 
lamp technology
lamp technologylamp technology
lamp technologyDeepa
 
Deepa ppt about lamp technology
Deepa ppt about lamp technologyDeepa ppt about lamp technology
Deepa ppt about lamp technologyDeepa
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
cclay3
 
Network File System
Network File SystemNetwork File System
Network File System
Divyang Oza
 
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community) [발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
동현 김
 
Unix Administration 2
Unix Administration 2Unix Administration 2
Unix Administration 2
Information Technology
 
Nadhiya lamp
Nadhiya lampNadhiya lamp
Nadhiya lampNadhi ya
 
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Chris Tankersley
 
file transfer and access utilities
file transfer and access utilitiesfile transfer and access utilities
file transfer and access utilities
tumetr1
 
Linux sever building
Linux sever buildingLinux sever building
Linux sever buildingEdmond Yu
 
Linux Servers.pptx
Linux Servers.pptxLinux Servers.pptx
Linux Servers.pptx
ChSheraz3
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
MuhammadShoaibHussai2
 
Lamp technology
Lamp technologyLamp technology
Lamp technology2tharan21
 
CNIT 152 10 Enterprise Service
CNIT 152 10 Enterprise ServiceCNIT 152 10 Enterprise Service
CNIT 152 10 Enterprise Service
Sam Bowne
 

Similar to Meeting 9 nfs network file system (20)

RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)
 
NETWORK FILE SYSTEM
NETWORK FILE SYSTEMNETWORK FILE SYSTEM
NETWORK FILE SYSTEM
 
Daemons
DaemonsDaemons
Daemons
 
linux
linuxlinux
linux
 
NFS.ppt
NFS.pptNFS.ppt
NFS.ppt
 
lamp technology
lamp technologylamp technology
lamp technology
 
Deepa ppt about lamp technology
Deepa ppt about lamp technologyDeepa ppt about lamp technology
Deepa ppt about lamp technology
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Network File System
Network File SystemNetwork File System
Network File System
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community) [발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
 
Unix Administration 2
Unix Administration 2Unix Administration 2
Unix Administration 2
 
Nadhiya lamp
Nadhiya lampNadhiya lamp
Nadhiya lamp
 
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
 
file transfer and access utilities
file transfer and access utilitiesfile transfer and access utilities
file transfer and access utilities
 
Linux sever building
Linux sever buildingLinux sever building
Linux sever building
 
Linux Servers.pptx
Linux Servers.pptxLinux Servers.pptx
Linux Servers.pptx
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
 
Lamp technology
Lamp technologyLamp technology
Lamp technology
 
CNIT 152 10 Enterprise Service
CNIT 152 10 Enterprise ServiceCNIT 152 10 Enterprise Service
CNIT 152 10 Enterprise Service
 

More from Syaiful Ahdan

Sertifikat EC00202128391
 Sertifikat EC00202128391 Sertifikat EC00202128391
Sertifikat EC00202128391
Syaiful Ahdan
 
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
Syaiful Ahdan
 
Sertifikat ec00202059774
Sertifikat ec00202059774Sertifikat ec00202059774
Sertifikat ec00202059774
Syaiful Ahdan
 
Sertifikat ec00202059775
Sertifikat ec00202059775Sertifikat ec00202059775
Sertifikat ec00202059775
Syaiful Ahdan
 
Sertifikat EC00202045078
Sertifikat EC00202045078Sertifikat EC00202045078
Sertifikat EC00202045078
Syaiful Ahdan
 
Sertifikat EC00202044723
 Sertifikat EC00202044723 Sertifikat EC00202044723
Sertifikat EC00202044723
Syaiful Ahdan
 
Sertifikat EC00202023523
Sertifikat EC00202023523Sertifikat EC00202023523
Sertifikat EC00202023523
Syaiful Ahdan
 
Sertifikat EC00201826309
Sertifikat EC00201826309Sertifikat EC00201826309
Sertifikat EC00201826309
Syaiful Ahdan
 
Sertifikat EC00202023149
Sertifikat EC00202023149Sertifikat EC00202023149
Sertifikat EC00202023149
Syaiful Ahdan
 
Sertifikat EC00202022868
Sertifikat EC00202022868Sertifikat EC00202022868
Sertifikat EC00202022868
Syaiful Ahdan
 
Sertifikat EC00202021343
Sertifikat EC00202021343Sertifikat EC00202021343
Sertifikat EC00202021343
Syaiful Ahdan
 
Sertifikat EC00202022755
Sertifikat EC00202022755Sertifikat EC00202022755
Sertifikat EC00202022755
Syaiful Ahdan
 
Sertifikat EC00201987196
Sertifikat EC00201987196Sertifikat EC00201987196
Sertifikat EC00201987196
Syaiful Ahdan
 
Sertifikat EC00201856484
Sertifikat EC00201856484Sertifikat EC00201856484
Sertifikat EC00201856484
Syaiful Ahdan
 
Sertifikat EC00201856352
Sertifikat EC00201856352Sertifikat EC00201856352
Sertifikat EC00201856352
Syaiful Ahdan
 
Sertifikat EC00201856994
Sertifikat EC00201856994Sertifikat EC00201856994
Sertifikat EC00201856994
Syaiful Ahdan
 
Sertifikat EC00201856895
Sertifikat EC00201856895Sertifikat EC00201856895
Sertifikat EC00201856895
Syaiful Ahdan
 
Meeting 2 introdcution network administrator
Meeting 2   introdcution network administratorMeeting 2   introdcution network administrator
Meeting 2 introdcution network administrator
Syaiful Ahdan
 
Pertemuan 5
Pertemuan 5Pertemuan 5
Pertemuan 5
Syaiful Ahdan
 
Pertemuan 4
Pertemuan 4Pertemuan 4
Pertemuan 4
Syaiful Ahdan
 

More from Syaiful Ahdan (20)

Sertifikat EC00202128391
 Sertifikat EC00202128391 Sertifikat EC00202128391
Sertifikat EC00202128391
 
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
 
Sertifikat ec00202059774
Sertifikat ec00202059774Sertifikat ec00202059774
Sertifikat ec00202059774
 
Sertifikat ec00202059775
Sertifikat ec00202059775Sertifikat ec00202059775
Sertifikat ec00202059775
 
Sertifikat EC00202045078
Sertifikat EC00202045078Sertifikat EC00202045078
Sertifikat EC00202045078
 
Sertifikat EC00202044723
 Sertifikat EC00202044723 Sertifikat EC00202044723
Sertifikat EC00202044723
 
Sertifikat EC00202023523
Sertifikat EC00202023523Sertifikat EC00202023523
Sertifikat EC00202023523
 
Sertifikat EC00201826309
Sertifikat EC00201826309Sertifikat EC00201826309
Sertifikat EC00201826309
 
Sertifikat EC00202023149
Sertifikat EC00202023149Sertifikat EC00202023149
Sertifikat EC00202023149
 
Sertifikat EC00202022868
Sertifikat EC00202022868Sertifikat EC00202022868
Sertifikat EC00202022868
 
Sertifikat EC00202021343
Sertifikat EC00202021343Sertifikat EC00202021343
Sertifikat EC00202021343
 
Sertifikat EC00202022755
Sertifikat EC00202022755Sertifikat EC00202022755
Sertifikat EC00202022755
 
Sertifikat EC00201987196
Sertifikat EC00201987196Sertifikat EC00201987196
Sertifikat EC00201987196
 
Sertifikat EC00201856484
Sertifikat EC00201856484Sertifikat EC00201856484
Sertifikat EC00201856484
 
Sertifikat EC00201856352
Sertifikat EC00201856352Sertifikat EC00201856352
Sertifikat EC00201856352
 
Sertifikat EC00201856994
Sertifikat EC00201856994Sertifikat EC00201856994
Sertifikat EC00201856994
 
Sertifikat EC00201856895
Sertifikat EC00201856895Sertifikat EC00201856895
Sertifikat EC00201856895
 
Meeting 2 introdcution network administrator
Meeting 2   introdcution network administratorMeeting 2   introdcution network administrator
Meeting 2 introdcution network administrator
 
Pertemuan 5
Pertemuan 5Pertemuan 5
Pertemuan 5
 
Pertemuan 4
Pertemuan 4Pertemuan 4
Pertemuan 4
 

Recently uploaded

"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 

Recently uploaded (20)

"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 

Meeting 9 nfs network file system

  • 1. 11 tohttps://github.com/syaifulahdan/ Computer Network Administration Network File System  Network Services  The Internet Daemon  Xinetd  Remote Procedure Calls (RPC)  NFS  NFS Architecture  Exporting FIle system  Mounting Remote File systems
  • 2. 22 tohttps://github.com/syaifulahdan/ Network Services • A Linux system starts some services at boot time and allow other services to be started up when necessary. These services are controlled by processes called daemons. • A daemon is a process running in the background which performs some system-related task, whether a network service, or some other service. • If all services started up at boot time, even though they might or might not be used, this would take up a lot of system resources. To overcome this problem, the xinetd daemon was created, which listens on the ports of many network services and, upon receiving a connection, starts up the service's corresponding daemon, which runs only until its task is complete. 2
  • 3. 33 tohttps://github.com/syaifulahdan/ The Internet Daemon • xinetd starts at boot time and gets the list of services that it will manage from its configuration file ( /etc/xinetd.conf ). • The way it knows which port to listen for each services is from the /etc/services file. 3
  • 4. 44 tohttps://github.com/syaifulahdan/ xinetd • Changes to the xinetd.conf file do not take effect until you tell xinetd to re-read it. After sending a hangup signal, you should wait and check the log files for error messages related to your changes. xinetd logs errors to syslog under the ‘daemon’ facility. • xinetd plays an important role in securing your system. It is important to make sure that only services that you need and trust are enabled in the xinetd.conf file. Typically you modify your xinetd.conf file to disable services that are unnecessary , and turn on only those services that are absolutely necessary. 4
  • 5. 55 tohttps://github.com/syaifulahdan/ Remote Procedure Calls (RPC) • RPC is a collection of tools and library functions for client/server applications, upon which, applications such as NFS, the Network Filesystem are built. • An RPC server provides a group of procedures which a client can call by sending a request to the server. The server then invokes the procedure on behalf of the client, returning a value as necessary. • The collection of procedures that an RPC server provides is called a program and is identified by a program number. The file /etc/rpc maps service names to their program numbers. You will only need to edit this file if you bring up a new RPC server providing a new set of procedures. 5
  • 6. 66 tohttps://github.com/syaifulahdan/ RPC • The portmapper daemon solves this problem. When an RPC server starts, it picks an available port, and then registers that port and what RPC program numbers it will serve with the portmapper daemon. When a client program needs to access a service, it first queries the portmapper on the RPC server's host which reports the TCP and UDP port on which the server is listening, and then it contacts that port to request its service. 6
  • 7. 77 tohttps://github.com/syaifulahdan/ RPC Timeline Client Server Request Reply Computing Blocked Blocked Blocked 7
  • 8. 88 tohttps://github.com/syaifulahdan/ RCP Components • Complete RPC Mechanisms Caller (client) Client stub RPC protocol Return value Arguments ReplyRequest Callee (server) Server stub RPC protocol Return value Arguments ReplyRequest 8
  • 10. 1010 tohttps://github.com/syaifulahdan/ Network File System (NFS) • NFS, or the Network File System, was originally developed by Sun Microsystems in the 1980's as a way to create a file system on diskless clients. NFS provides remote access to shared file systems across networks. • NFS is almost transparent to the user and is stateless, meaning that no information is lost when a NFS server crashes. • All UNIX vendors provide a version of NFS and many use code licensed from SUN. 10
  • 11. 1111 tohttps://github.com/syaifulahdan/ NFS • NFS consists of several components. – a mounting protocol and mount server – daemons that coordinate basic file service – several diagnostic utilities • NFS runs on top of Sun’s RPC protocol, which defines a system-independent way for processes to communicate over the network. 11
  • 12. 1212 tohttps://github.com/syaifulahdan/ NFS Architecture • The basic NFS architecture for UNIX systems. • The basic NFS architecture for UNIX systems. 12
  • 13. 1313 tohttps://github.com/syaifulahdan/ NFS • The server side of the NFS makes files available to other systems by a process called exporting. These file systems that are available to other systems are considered to be shared file systems. • In order to access these shared files, the clients have to mount these files systems onto their machines. Once this occurs, the file system is integrated into the directory structure. • Server-side NFS – mountd – nfsd 13
  • 15. 1515 tohttps://github.com/syaifulahdan/ Exporting File Systems • On systems, the /etc/exports file on the NFS server contains a list of directories that can be exported, and the restrictions and attributes that are imposed on these directories. • /etc/exports – / master(rw) trusty(rw) • If the /etc/exports file is modified the export command must be run for the changes to take effect immediately. 15
  • 17. 1717 tohttps://github.com/syaifulahdan/ Mounting Remote File Systems • NFS allows mounting any file system as long as the file system is not one that is already mounted from another server. These files can be mounted at boot time (read from the /etc/vfstab file) or can be mounted individually by the mount command. When mounting remote files, the remote machines’ name has to also be included in the command. • parrot.uh.edu:/users/staff /staff nfs rw,noquota 0 0 17
  • 19. 1919 tohttps://github.com/syaifulahdan/ NFS issues • Unix identifies users and groups by numbers. If machine X shares files with machine Y, then UID 288 had better refer to the same user on both systems. • When mounting file systems, users are generally given identical privileges, but root user ID’s are changed to that if ‘nobody’ so that they cannot become root on a mounted file system. 19