Distributed Systems Principles and Paradigms. Chapter 11: Distributed File Systems. Distributed File Systems. Example: NFS Architecture



Similar documents
Oracle PL/SQL Programming Advanced

Reading. Minimum Spanning Trees. Outline. A File Sharing Problem. A Kevin Bacon Problem. Spanning Trees. Section 9.6

Hospitals. Internal Revenue Service Information about Schedule H (Form 990) and its instructions is at

One Ring to Rule them All: Service Discovery and Binding in Structured Peer-to-Peer Overlay Networks

Menu Structure. Section 5. Introduction. General Functions Menu

CompactPCI Connectors acc. to PIGMG 2.0 Rev. 3.0

Revised Conditions (January 2009) LLOYDS BANKING GROUP SHARE ISA CONDITIONS

Usability Test Checklist

Network Decoupling for Secure Communications in Wireless Sensor Networks

Uses for Binary Trees -- Binary Search Trees

How To Get A Usb Power Button On Your Computer (For A Free) For A Year (For Free) (For An Ipad) (Free) (Apple) (Mac) (Windows) (Power) (Net) (Winows

Link-Disjoint Paths for Reliable QoS Routing

Operational Procedure: ACNC Data Breach Response Plan

SEE PAGE 2 FOR BRUSH MOTOR WIRING SEE PAGE 3 FOR MANUFACTURER SPECIFIC BLDC MOTOR WIRING EXAMPLES A

Last time Interprocedural analysis Dimensions of precision (flow- and context-sensitivity) Flow-Sensitive Pointer Analysis

Predicting Current User Intent with Contextual Markov Models

MANAGEMENT OF INFORMATION SECURITY AND FORENSICS

Schedule C. Notice in terms of Rule 5(10) of the Capital Gains Rules, 1993

Chapter 3 Chemical Equations and Stoichiometry

A MESSAGE FROM CLAIMTEK

Hermes: Dynamic Partitioning for Distributed Social Network Graph Databases

AC Circuits Three-Phase Circuits

SecurView Antivirus Software Installation

Algorithmic Aspects of Access Networks Design in B3G/4G Cellular Networks

P U B L I C A T I O N I N T E R N E 1800 PARTIAL ORDER TECHNIQUES FOR DISTRIBUTED DISCRETE EVENT SYSTEMS: WHY YOU CAN T AVOID USING THEM

Industry regulations Jurisdictional regulations Legal defensibility Legal frameworks Legal research

A122 MARION COUNTY HEALTH BUILDING HVAC, GLAZING AND LIGHTING RENOVATION 75% DOCUMENTS 08/31/2015

Back left Back right Front left Front right. Blue Shield of California. Subscriber JOHN DOE. a b c d

Magic Message Maker Amaze your customers with this Gift of Caring communication piece

Discovering Petri Nets From Event Logs

Active Directory Service

The Swedish Radiation Protection Institute s Regulations on X- ray Diagnostics;

11 + Non-verbal Reasoning

Standard Conditions for Street Traders The Royal Borough of Kensington and Chelsea. Revised standard conditions for street trading

Fundamentals of Tensor Analysis

MATH PLACEMENT REVIEW GUIDE

Student Access to Virtual Desktops from personally owned Windows computers

1. Definition, Basic concepts, Types 2. Addition and Subtraction of Matrices 3. Scalar Multiplication 4. Assignment and answer key 5.

Words Symbols Diagram. abcde. a + b + c + d + e

Process Mining Making Sense of Processes Hidden in Big Event Data

AdvancedTCA Connectors acc. to PICMG 3.0

Architecture and Data Flows Reference Guide

Change Your History How Can Soccer Knowledge Improve Your Business Processes?

Distributed Process Discovery and Conformance Checking

200/225 OPTIMAX DTS INSTALLATION MANUAL

SEE PAGE 2 FOR BRUSH MOTOR WIRING SEE PAGE 3 FOR MANUFACTURER SPECIFIC BLDC MOTOR WIRING EXAMPLES

The Splunk Guide to Operational Intelligence

Continuity Cloud Virtual Firewall Guide

Quick Guide to Lisp Implementation

200/225/250/275 VERADO 4-STROKE INSTALLATION MANUAL

Inter-domain Routing

SKILL TEST IR(H) HELICOPTER SE ME Application and report form A. Udfyldes af ansøgeren/to be filled out by the applicant:

Modeling Secure Connectivity of Self-Organized Wireless Ad Hoc Networks

Summary of changes to Regulations recommended to the Senate by Graduate School Management Committee. Changed wording is shown in bold italics.

JG, LG 2/6 3/6 NG, PG

Where preparation meets opportunity. My Academic Planner. Early Academic Outreach Program (EAOP)

KEY SKILLS INFORMATION TECHNOLOGY Level 3. Question Paper. 29 January 9 February 2001

RECEIVED 2812 HAY 10 PMI2:00 FEC MAIL CEHTER

FEE-HELP INFORMATION SHEET FOR DOMESTIC FULL FEE STUDENTS

A PPI Retro Roll is a roll that will fit into a non-ppi frame or bracket. PPI makes many rolls with many different shaft ends to fit your needs.

the machine and check the components Black Yellow Cyan Magenta

MANUFACTURING EXPERIENCE EXPERTISE

INSTALLATION, OPERATION & MAINTENANCE

Quality and Pricing for Outsourcing Service: Optimal Contract Design

How fast can we sort? Sorting. Decision-tree model. Decision-tree for insertion sort Sort a 1, a 2, a 3. CS Spring 2009

NerveCenter Protocol and Perl Metrics. November 2014 NCSD-PPM-01

Boğaziçi University Department of Economics Spring 2016 EC 102 PRINCIPLES of MACROECONOMICS Problem Set 5 Answer Key

Important result on the first passage time and its integral functional for a certain diffusion process

The art of Paperarchitecture (PA). MANUAL

WHAT HAPPENS WHEN YOU MIX COMPLEX NUMBERS WITH PRIME NUMBERS?

Revised products from the Medicare Learning Network (MLN) ICD-10-CM/PCS Myths and Facts, Fact Sheet, ICN , downloadable.

Data Security 1. 1 What is the function of the Jump instruction? 2 What are the main parts of the virus code? 3 What is the last act of the virus?

Dinh Hong Giang 1,2, Ed Sarobol 2, * and Sutkhet Nakasathien 2 ABSTRACT

Reasoning to Solve Equations and Inequalities

The Splunk Guide to Operational Intelligence

LISTA DOCUMENTI DOCUMENT LIST REVISIONI REVISIONS DESCRIZIONE FOGLI DESCRIPTION SHEET FOGLIO SHEET FOGLIO SHEET SCHEMA FLUIDICO FLUIDIC DIAGRAM

Econ 371: Answer Key for Problem Set 1 (Chapter 12-13)

Scalable Transactions for Web Applications in the Cloud using Customized CloudTPS

Rural and Remote Broadband Access: Issues and Solutions in Australia

Data Compression. Lossless And Lossy Compression

- ASSEMBLY AND INSTALLATION -

FAULT TREES AND RELIABILITY BLOCK DIAGRAMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University

Maintain Your F5 Solution with Fast, Reliable Support

1.- L a m e j o r o p c ió n e s c l o na r e l d i s co ( s e e x p li c a r á d es p u é s ).

HIGH CREDIT OR LIMIT BALANCE $ MTG $ $975 $ $533 $31206 AUTO $4000 REV $228 MIN $10

1 GSW IPv4 Addressing

OUTLINE SYSTEM-ON-CHIP DESIGN. GETTING STARTED WITH VHDL August 31, 2015 GAJSKI S Y-CHART (1983) TOP-DOWN DESIGN (1)

Outside Cut 1 of fabric Cut 1 of interfacing

Learning Schemas for Unordered XML

Transcription:

Distriut Systms Prinipls n Prigms Mrtn vn Stn VU mstrm, Dpt. Computr Sin stn@s.vu.nl Chptr 11: Vrsion: Dmr 10, 2012 1 / 14 Gnrl gol Try to mk fil systm trnsprntly vill to rmot lints. 1. Fil mov to lint Ol fil Nw fil Rqusts from lint to ss rmot fil Fil stys on srvr Rmot ss mol 2. sss r on on lint 3. Whn lint is on, fil is rturn to Uplo/ownlo mol 2 / 14 2 / 14 Exmpl: NFS rhittur NFS NFS is implmnt using th Virtul Fil Systm strtion, whih is now us for lots of iffrnt oprting systms. Systm ll lyr Systm ll lyr Virtul fil systm (VFS) lyr Virtul fil systm (VFS) lyr Lol fil systm intrf NFS lint NFS srvr Lol fil systm intrf RPC lint stu RPC srvr stu Ntwork 3 / 14 3 / 14

Exmpl: NFS rhittur Essn VFS provis stnr fil systm intrf, n llows to hi iffrn twn ssing lol or rmot fil systm. Qustion Is NFS tully fil systm? 4 / 14 4 / 14 NFS Fil Oprtions Opr. v3 v4 Dsription Crt Ys No Crt rgulr fil Crt No Ys Crt nonrgulr fil Link Ys Ys Crt hr link to fil Symlink Ys No Crt symoli link to fil Mkir Ys No Crt suirtory Mkno Ys No Crt spil fil Rnm Ys Ys Chng th nm of fil Rmov Ys Ys Rmov fil from fil systm Rmir Ys No Rmov n mpty suirtory Opn No Ys Opn fil Clos No Ys Clos fil Lookup Ys Ys Look up fil y mns of nm Rir Ys Ys R th ntris in irtory Rlink Ys Ys R th pth nm in symoli link Gtttr Ys Ys Gt th ttriut vlus for fil Stttr Ys Ys St on or mor fil-ttriut vlus R Ys Ys R th t ontin in fil Writ Ys Ys Writ t to fil 5 / 14 5 / 14 Clustr-s Fil Systms Osrvtion With vry lrg t olltions, following simpl lint-srvr pproh is not going to work for sping up fil sss, pply striping thniqus y whih fils n fth in prlll. Fil lok of fil Fil lok of fil Whol-fil istriution Fil-strip systm 6 / 14 6 / 14

Exmpl: Googl Fil Systm GFS lint fil nm, hunk inx ontt rss Mstr Instrutions Chunk-srvr stt Chunk ID, rng Chunk t Chunk srvr Linux fil systm Chunk srvr Linux fil systm Chunk srvr Linux fil systm Th Googl solution Divi fils in lrg 64 M hunks, n istriut/rplit hunks ross mny srvrs: Th mstr mintins only (fil nm, hunk srvr) tl in min mmory miniml I/O Fils r rplit using primry-kup shm; th mstr is kpt out of th loop 7 / 14 7 / 14 P2P-s Fil Systms Fil systm lyr No whr fil systm is root lok-orint storg DHsh DHsh DHsh DHT lyr Chor Chor Chor Ntwork si i Stor t loks in th unrlying P2P systm: Evry t lok with ontnt D is stor on no with hsh h(d). llows for intgrity hk. Puli-ky loks r sign with ssoit privt ky n look up with puli ky. lol log of fil oprtions to kp trk of lokid,h(d) pirs. 8 / 14 8 / 14 11.5 Synhroniztion 11.5 Synhroniztion Fil shring smntis Prolm mhin #1 Whn ling with istriut fil systms, w n to tk into ount th orring of onurrnt r/writ oprtions n xpt smntis (i.., onsistny). Singl mhin Originl fil Pross 2. Writ "" Fil srvr 1. R "" Pross 3. R gts "" mhin #2 Pross Pross 1. Writ "" 2. R gts "" () () 9 / 14 9 / 14

11.5 Synhroniztion 11.5 Synhroniztion Fil shring smntis Smntis UNIX smntis: r oprtion rturns th fft of th lst writ oprtion n only implmnt for rmot ss mols in whih thr is only singl opy of th fil Trnstion smntis: th fil systm supports trnstions on singl fil issu is how to llow onurrnt ss to physilly istriut fil Sssion smntis: th ffts of r n writ oprtions r sn only y th lint tht hs opn ( lol opy) of th fil wht hppns whn fil is los (only on lint my tully win) 10 / 14 10 / 14 Exmpl: Fil shring in Co 11.5 Synhroniztion 11.5 Synhroniztion Essn Co ssums trnstionl smntis, ut without th full-flg pilitis of rl trnstions. Not: Trnstionl issus rppr in th form of this orring oul hv tkn pl. Sssion S Opn(RD) Fil f Invlit Clos Opn(WR) Fil f Clos Sssion S Tim 11 / 14 11 / 14 Consistny n rplition 11.6 Consistny n Rplition 11.6 Consistny n Rplition Osrvtion In morn istriut fil systms, lint-si hing is th prfrr thniqu for ttining prformn; srvr-si rplition is on for fult tolrn. Osrvtion s r llow to kp (lrg prts of) fil, n will notifi whn ontrol is withrwn srvrs r now gnrlly sttful 1. sks for fil 2. lgts fil Ol fil Lol opy 3. rlls lgtion 4. sns rturns fil Upt fil 12 / 14 12 / 14

11.6 Consistny n Rplition Exmpl: -si hing in Co 11.6 Consistny n Rplition Sssion S Sssion S Opn(RD) Fil f Invlit (llk rk) Clos Opn(RD) Fil f Clos Fil f OK (no fil trnsfr) Opn(WR) Opn(WR) Clos Clos Sssion S Sssion S Tim Not y mking us of trnstionl smntis, it oms possil to furthr improv prformn. 13 / 14 13 / 14 11.6 Consistny n Rplition Exmpl: -si rplition in Co 11.6 Consistny n Rplition S 1 S 3 S 2 rokn ntwork Min issu Ensur tht onurrnt upts r tt: Eh lint hs n ssil Volum Storg Group (VSG): is sust of th tul VSG. Vrsion vtor CVV i (f )[j] = k S i knows tht S j hs sn vrsion k of f. Exmpl: upts f S 1 = S 2 = [+1,+1,+0]; upts f S 3 = [+0,+0,+1]. 14 / 14 14 / 14