Il Protocollo NFS Il protocollo NFS (Network File System) fornisce un sistema di recupero dati semplice ed efficiente, indipendente da: protocollo di trasporto.

Slides:



Advertisements
Presentazioni simili
Trieste, 26 novembre © 2005 – Renato Lukač Using OSS in Slovenian High Schools doc. dr. Renato Lukač LinuxDay Trieste.
Advertisements

Giovanni Falcone & Paolo Borsellino.
1 LABORATORIO DI INFORMATICA Network Management 8. Transport Mapping Claudio Salati Copyright © 2001 by Claudio Salati ALMA MATER STUDIORUM - UNIVERSITA'
V.I.D.E.O. Video-CV to Increase and Develop Employment Opportunities
Struttura dellinterfaccia SBN2 Mauro Narbone Udine 20 Aprile 2006.
Programmazione con socket
Each student will be able to ask an adult or stranger: What do you like to do? and What dont you like to …?
Raffaele Cirullo Head of New Media Seconda Giornata italiana della statistica Aziende e bigdata.
J0 1 Marco Ronchetti - Corso di Formazione Sodalia – Febbraio 2001 – Modulo Web Programming Tomcat configuration.
BRISCOLA GO ON AVANTI. Storia I giochi di carte hanno le origini più disparate e vengono collocati in differenti epoche, la Briscola risale al La.
2000 Prentice Hall, Inc. All rights reserved. 1 Capitolo 3 - Functions Outline 3.1Introduction 3.2Program Components in C++ 3.3Math Library Functions 3.4Functions.
Queuing or Waiting Line Models
1 Installazione da rete Introduzione Configurazione del server NFS Cosa serve sul client Configurazione kickstart.
Capitolo 20: Sistemi multimediali
Secure Socket Layer (SSL) Transport Layer Security (TLS)
Come nella stampa tradizionale, un giornale online può essere di informazione informazione o un periodico dedicato a una disciplina specifica.
Project Review Novembrer 17th, Project Review Agenda: Project goals User stories – use cases – scenarios Project plan summary Status as of November.
Inventario fisico / Conteggio e rettifiche inventario
Gestione stock: stock bloccato e di rottamazione
Acquisizione cespiti tramite capitalizzazione diretta
Contabilità costi generali – Effettiva
PLURALI - with NOUNS PAY ATTENTION TO THE ENDING OF THE NOUN! “O” ---> “I” ex) il quaderno -> i quaderni “A” ---> “E” ex) la matita -> le matite “E” --->
Saluti ed espressioni Greetings in Italian.
Distributed System ( )7 TCP/IP four-layer model.
Calcolo dei costi di riferimento e simulazione
Offerta cliente SAP Best Practices. ©2013 SAP AG. All rights reserved.2 Finalità, vantaggi e passi fondamentali del processo Finalità  Descrivere il.
Distribuzione controllata del software con Systems Management Server 2003 Fabrizio Grossi.
Mobilità tra i Paesi del Programma KA103 A.A. 2014/2015 (KA103) Mobility Tool+ e il Rapporto Finale Claudia Peritore Roma luglio 2015.
Gestione partite SAP Best Practices. ©2013 SAP AG. All rights reserved.2 Finalità, vantaggi e passi fondamentali del processo Finalità  Descrizione dettagliata.
Chiusura del periodo per ordini di servizio
Pianificazione ricavi SAP Best Practices. ©2013 SAP AG. All rights reserved.2 Finalità, vantaggi e passi fondamentali del processo Finalità  Pianificare.
Gestione trasferte SAP Best Practices. ©2013 SAP AG. All rights reserved.2 Finalità, vantaggi e passi fondamentali del processo Finalità  Fornire una.
Gestione dei numeri di serie SAP Best Practices. ©2013 SAP AG. All rights reserved.2 Finalità, vantaggi e passi fondamentali del processo Finalità  Descrizione.
Acquisizione tempi SAP Best Practices. ©2013 SAP AG. All rights reserved.2 Finalità, vantaggi e passi fondamentali del processo Finalità  Cross-Application.
Reporting del Segmento SAP Best Practices. ©2013 SAP AG. All rights reserved.2 Finalità, vantaggi e passi fondamentali del processo Finalità  Lo scopo.
Vendita di servizi pianificati SAP Best Practices.
Relative pronouns Forms and uses. Relative pronouns Uses and functions of the relative CHI Translates he who, she who, those who, everybody who Does not.
Project Review Novembrer 17th, Project Review Agenda: Project goals User stories – use cases – scenarios Project plan summary Status as of November.
Progetti 2015/2016. Proj1: Traduzione di regole snort in regole iptables Snort: – analizza i pacchetti che transitano in rete, confrontandoli con un database.
Buon giorno, ragazzi oggi è il quattro aprile duemilasedici.
Titolo evento Luogo, data Seminario INSPIRE Bologna, luglio 2012 Profili, strumenti ed implementazioni dei metadati Antonio Rotundo Agenzia per l’Italia.
Project IOLI Practical exemple in Italy and in Sicily Il presente progetto è finanziato con il sostegno della Commissione europea. L’autore è il solo responsabile.
STMan Advanced Graphics Controller. What is STMan  STMan is an advanced graphic controller for Etere automation  STMan is able to control multiple graphics.
Silvia Minardi, Pavia 14 December maps and directions hours.
MSc in Communication Sciences Program in Technologies for Human Communication Davide Eynard Facoltà di scienze della comunicazione Università della.
What time does the plane leave? At 12:45 1.
PANNON GÉP PANNON GÉP KFT Production of agricoltural tools and equipments since Our company is distinguished for the use of high quality material.
Do You Want To Pass Actual Exam in 1 st Attempt?.
Assumptions The “Systems Librarian” should be a mangerial role
Oggi è giovedì il dodici settembre 2013
WRITING – EXERCISE TYPES
MONBOX Federico Bitelli bitelli<at>fis.uniroma3.it
Dichiarazione dei servizi di sito nel GOCDB
Jobs and occupations What do they do?
Prof. Stefano Zambon Università di Ferrara e WICI
POSSIBLE ANSWERS The company is looking for a secretary/A secretarial position is vacant/A position as a secretary is vacant BBJ Co. Ltd advertised for.
Cyber Safety.
X. Specifications (IV).
2018/9/ /9/11 USER ENVIRONMENT 1 1.
Creare un server casalingo - 2
Studente : Andrea Cassarà Classe: 5AII A.S. 2014/2015 Link Sito
La Grammatica Italiana Avanti! p
Proposal for the Piceno Lab on Mediterranean Diet
Service Level The Service Level is defined as the percentage of orders cycles in which inventory is sufficient to cover demands, or.
SWORD (School and WOrk-Related Dual learning)
Italy Recent Media Mentions The 2017 Report’s Policy Recommendations
Study of Bc in CMSSW: status report Silvia Taroni Sandra Malvezzi Daniele Pedrini INFN Milano-Bicocca.
Preliminary results of DESY drift chambers efficiency test
Accesso al corpus it. / ing. parola cercata sintagmi preposizioni.
A comparison between day and night cosmic muons flux
Transcript della presentazione:

Il Protocollo NFS Il protocollo NFS (Network File System) fornisce un sistema di recupero dati semplice ed efficiente, indipendente da: protocollo di trasporto utilizzato (opera sia su TCP che UDP), sistema operativo, file system. La versione 4 del protocollo si presuppone i seguenti scopi: Accesso affidabile e efficiente alla rete Sicurezza con sistema di negoziazione implementato Buona interoperabilità fra vari sistemi operativi Compatibilità all’indietro

L’NFS utilizza due ulteriori protocolli XDR: External Data Representation (RFC 1831) RPC: Remote Procedures Call (RFC 1832) L’XDR serve a effettuare la traduzione dei dati se l’ordinamento dei byte è opposto (Big-Endian, Little-Endian) Le RPCs sono le richieste che si effettuano verso il server. NFS v2: 16 RPCs NFS v3: 22 RPCs NFS v4: 36 RPCs

Alcune delle RPCs più comuni: ACCESS: controlla i diritti di accesso. CLOSE: chiude un file. COMMIT: rende effettive le modifiche e svuota la cache CREATE: crea un file. GETATTR: recupera gli attributi di un file LOOKUP: cerca un file OPEN: apre un file READ: legge da un file REMOVE: cancella un file SETATTR: imposta gli attributi di un file WRITE: scrive su un file

Il tipo di connessione viene negoziato da client e server ed è impostato di default a UDP se entrambi i lati lo supportano ed avviene sulla porta 2049. La dimensione massima dei pacchetti trasferiti (che viene negoziata anch’essa dalle due parti) è di 64K (il limite sia di TCP sia di UDP) ed avviene con offset a 64bit. I file possono essere di qualunque dimensione NFS è stateless.

$ man nfs NFS(5) Linux Programmer's Manual NFS(5) NAME nfs - nfs fstab format and options SYNOPSIS /etc/fstab DESCRIPTION The fstab file contains information about which filesystems to mount where and with what options. For NFS mounts, it contains the server name and exported server directory to mount from, the local directory that is the mount point, and the NFS specific options that control the way the filesystem is mounted. Here is an example from an /etc/fstab file from an NFS mount. server:/usr/local/pub /pub nfs rsize=8192,wsize=8192,timeo=14,intr Options rsize=n The number of bytes NFS uses when reading files from an NFS server. The default value is dependent on the kernel, currently 1024 bytes. (However, throughput is improved greatly by asking for rsize=8192.) wsize=n The number of bytes NFS uses when writing files to an NFS server. The default value is asking for wsize=8192.) ... tcp Mount the NFS filesystem using the TCP protocol instead of the default UDP protocol. Many NFS severs only support UDP. udp Mount the NFS filesystem using the UDP protocol. This is the default. All of the non-value options have corresponding nooption forms. For example, nointr means don't allow file operations to be interrupted. FILES SEE ALSO fstab(5), mount(8), umount(8), exports(5)

df - report filesystem disk space usage $ df $ man exports EXPORTS(5) EXPORTS(5) NAME exports - NFS file systems being exported (for Kernel based NFS) SYNOPSIS /etc/exports DESCRIPTION The file /etc/exports serves as the access control list for file systems which may be exported to NFS clients. It is used by exportfs(8) to give information to mountd(8) and to the kernel based NFS file server daemon nfsd(8). The file format is similar to the SunOS exports file, except that several additional options are permitted. Each line contains an export point and a list of machine or netgroup names allowed to mount the file system at that point. An optional parenthesized list of export parameters may follow each machine name. Blank lines are ignored, and a # introduces a comment to the end of the line. Entries may be continued across new? lines using a backslash. ... df - report filesystem disk space usage $ df Filesystem 1k-blocks Used Available Use% Mounted on /dev/hdc2 37958532 3034976 32995356 9% / /dev/hda3 1903614 1688182 117034 94% /old none 256676 0 256676 0% /dev/shm host:/home/ivenet/pub 1209576 1032976 115152 90% /home/userhome/pub $

Network Working Group Sun Microsystems, Inc. Request for Comments: 1094 March 1989 NFS: Network File System Protocol Specification STATUS OF THIS MEMO This RFC describes a protocol that Sun Microsystems, Inc., and others are using. A new version of the protocol is under development, but others may benefit from the descriptions of the current protocol, and discussion of some of the design issues. Distribution of this memo is unlimited. 1. INTRODUCTION The Sun Network Filesystem (NFS) protocol provides transparent remote access to shared files across networks. The NFS protocol is designed to be portable across different machines, operating systems, network architectures, and transport protocols. This portability is achieved through the use of Remote Procedure Call (RPC) primitives built on top of an eXternal Data Representation (XDR). Implementations already exist for a variety of machines, from personal computers to supercomputers. The supporting mount protocol allows the server to hand out remote access privileges to a restricted set of clients. It performs the operating system-specific functions that allow, for example, to attach remote directory trees to some local file system.

Network Working Group B. Callaghan Request for Comments: 1813 B. Pawlowski Category: Informational P. Staubach Sun Microsystems, Inc. June 1995 NFS Version 3 Protocol Specification Status of this Memo This memo provides information for the Internet community. This memo does not specify an Internet standard of any kind. Distribution of this memo is unlimited. IESG Note Internet Engineering Steering Group comment: please note that the IETF is not involved in creating or maintaining this specification. This is the significance of the specification not being on the standards track. Abstract This paper describes the NFS version 3 protocol. This paper is provided so that people can write compatible implementations. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . 3 1.1 Scope of the NFS version 3 protocol . . . . . . . . . . 4 1.2 Useful terms . . . . . . . . . . . . . . . . . . . . . . 5 1.3 Remote Procedure Call . . . . . . . . . . . . . . . . . 5 1.4 External Data Representation . . . . . . . . . . . . . . 5 1.5 Authentication and Permission Checking . . . . . . . . . 7

NFS version 4 Working Group S. Shepler INTERNET-DRAFT Sun Microsystems, Inc. Obsoletes: 3010 C. Beame Document: draft-ietf-nfsv4-rfc3010bis-05.txt Hummingbird Ltd. B. Callaghan Sun Microsystems, Inc. M. Eisler Network Appliance, Inc. ... November 2002 NFS version 4 Protocol Status of this Memo This document is an Internet-Draft and is in full conformance with all provisions of Section 10 of RFC2026. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet- Drafts as reference material or to cite them other than as "work in progress." Abstract This document replaces [RFC3010] as the definition of the NFS version 4 protocol. Expires: May 2003 [Page 1]