Solutions for Fourth Quiz

Slides:



Advertisements
Similar presentations
CS-550: Distributed File Systems [SiS]1 Resource Management in Distributed Systems: Distributed File Systems.
Advertisements

Naming Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014.
Farsite: Ferderated, Available, and Reliable Storage for an Incompletely Trusted Environment Microsoft Reseach, Appear in OSDI’02.
Security Management.
Northwestern University 2007 Winter – EECS 443 Advanced Operating Systems The Google File System S. Ghemawat, H. Gobioff and S-T. Leung, The Google File.
DESIGN AND IMPLEMENTATION OF THE SUN NETWORK FILESYSTEM R. Sandberg, D. Goldberg S. Kleinman, D. Walsh, R. Lyon Sun Microsystems.
Sun NFS Distributed File System Presentation by Jeff Graham and David Larsen.
Presented by: Alvaro Llanos E.  Motivation and Overview  Frangipani Architecture overview  Similar DFS  PETAL: Distributed virtual disks ◦ Overview.
Review Session for Fourth Quiz Jehan-François Pâris Summer 2011.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
Distributed File Systems
CS 5204 (FALL 2005)1 Leases: An Efficient Fault Tolerant Mechanism for Distributed File Cache Consistency Gray and Cheriton By Farid Merchant Date: 9/21/05.
Kerberos Named after a mythological three-headed dog that guards the underworld of Hades, Kerberos is a network authentication protocol that was designed.
CEPH: A SCALABLE, HIGH-PERFORMANCE DISTRIBUTED FILE SYSTEM S. A. Weil, S. A. Brandt, E. L. Miller D. D. E. Long, C. Maltzahn U. C. Santa Cruz OSDI 2006.
Solution to the Third COSC 6360 Quiz for Fall 2013 Jehan-François Pâris
LCG Distributed Databases Deployment – Kickoff Workshop Dec Database Lookup Service Kuba Zajączkowski Chi-Wei Wang.
Solutions for the Fourth Problem Set COSC 6360 Fall 2014.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
11.6 Distributed File Systems Consistency and Replication Xiaolong Wu Instructor: Dr Yanqing Zhang Advanced Operating System.
Dsitributed File Systems
Distributed File System. Outline Basic Concepts Current project Hadoop Distributed File System Future work Reference.
Chapter Five Distributed file systems. 2 Contents Distributed file system design Distributed file system implementation Trends in distributed file systems.
Solutions for Fourth Quiz COSC 6360 Fall First question What do we mean when we say that NFS client requests are: (2×10 pts)  self-contained? 
Importance of IT security ->protects data ->ensures authentication and confidentiality ->preevents data theft.
Key management issues in PGP
What are they? The Package Repository Client is a set of Tcl scripts that are capable of locating, downloading, and installing packages for both Tcl and.
Netscape Application Server
Cloud Computing CS Distributed File Systems and Cloud Storage – Part II Lecture 13, Feb 27, 2012 Majd F. Sakr, Mohammad Hammoud and Suhail Rehman.
Unit OS7: Security 7.4. Quiz Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze.
CSE-291 (Cloud Computing) Fall 2016
Network Security Unit-VI
pVault Sharing Architecture
CPS 512 midterm exam #1, 10/5/17 Your name please: NetID:_______ Sign for your honor:____________________________.
Google File System CSE 454 From paper by Ghemawat, Gobioff & Leung.
Solution to the Fourth COSC 6360 Quiz for Fall 2013
A Survey on Distributed File Systems
CSC-8320 Advanced Operating System
Synchronization in Distributed File System
Distributed Systems CS
Network Security – Kerberos
Assignment #4 – Solutions
Today: Coda, xFS Case Study: Coda File System
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
A Redundant Global Storage Architecture
CSE 451: Operating Systems Winter Module 22 Distributed File Systems
Consistency and Replication
Distributed File Systems
Distributed File Systems
Cary G. Gray David R. Cheriton Stanford University
CSE 451: Operating Systems Spring Module 21 Distributed File Systems
DESIGN AND IMPLEMENTATION OF THE SUN NETWORK FILESYSTEM
Distributed File Systems
CSE 451: Operating Systems Winter Module 22 Distributed File Systems
Solutions for the Third Problem Set
KERBEROS.
Chapter 15: File System Internals
Replica Placement Model: We consider objects (and don’t worry whether they contain just data or code, or both) Distinguish different processes: A process.
Solutions for Third Quiz
Today: Distributed File Systems
Questions on Fifth Quiz
Key Distribution Reference: Pfleeger, Charles P., Security in Computing, 2nd Edition, Prentice Hall, /18/2019 Ref: Pfleeger96, Ch.4.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
THE GOOGLE FILE SYSTEM.
Solutions for Third Quiz
Distributed File Systems
CSE 542: Operating Systems
Distributed File Systems
Network File System (NFS)
Placement Group Map Placement Group OSD Status.
Presentation transcript:

Solutions for Fourth Quiz COSC 6360 Fall 2015

First question Consider a diskless client trying to access a file named “/usr/joe/6360/paper.doc” that is stored on its NFS server. Assuming that the client already has a handle for its root directory, how many lookup() requests will it issue? Answer: _________ requests What does NFS do to speed up these requests?

First question Consider a diskless client trying to access a file named “/usr/joe/6360/paper.doc” that is stored on its NFS server. Assuming that the client already has a handle for its root directory, how many lookup() requests will it issue? Answer: four requests What does NFS do to speed up these requests?

First question Consider a diskless client trying to access a file named “/usr/joe/6360/paper.doc” that is stored on its NFS server. Assuming that the client already has a handle for its root directory, how many lookup() requests will it issue? Answer: four requests What does NFS do to speed up these requests? NFS lets client cache file handles

Second question What is a stale file handle? What does NFS do to detect them?

Second question What is a stale file handle? A stale file handle is a file handle that points to the i-node of a file that was deleted. What does NFS do to detect them?

Second question What is a stale file handle? A stale file handle is a file handle that points to the i-node of a file that was deleted. What does NFS do to detect them? The NFS server compares the generation number of the file handle with the generation number of the i-node. If the numbers do not match, the file handle is stale.

Third question Consider a distributed file system implementing close-to-open consistency. Assuming that Alice opens a file at 9:30 AM, modifies it and closes it at 10:15 AM, Bob opens the same file at 10:00 AM, modifies it and closes it at 10:30 AM, Carol opens the same file at 10:20 AM, modifies it and closes it at 11:30 AM,

Third question Which of these three users would see his or her changes actually incorporated in the final version of the file?  Alice  Bob  Carol

Third question Which of these three users would see his or her changes actually incorporated in the final version of the file?  Alice  Bob  Carol

Third question Bob Alice Carol 9:30 9:45 10:00 10:15 10:30 10:45 11:00 11:15 11:30

Fourth question Consider a hypothetical version of NFS that would use leases to control access to its files. Would the server of this file system still be stateless?

Fourth question Consider a hypothetical version of NFS that would use leases to control access to its files. Would the server of this file system still be stateless? NO, because the server will have to maintain information on leases

Fourth question Consider a hypothetical version of NFS that would use leases to control access to its files. Would that make the service less robust? Why?

Fourth question Consider a hypothetical version of NFS that would use leases to control access to its files. Would that make the service less robust? Why? No, all lease information will be obsolete by the time a failed NFS server will restart

Fifth question How does FARSITE store users’ secret keys? Why?

Fifth question How does FARSITE store users’ secret keys? Why? Farsite encrypts user private keys with a symmetric key derived from user password and stores them in a globally-readable Farsite directory This frees the user from the burden of managing a fairly long non-mnemonic key.

Sixth question Why is the CRUSH function in the Ceph distributed file system publicly available ? How does it simplify the design of the Ceph metadata server cluster?

Sixth question Why is the CRUSH function in the Ceph distributed file system publicly available? CRUSH is publically available because Ceph clients must use it to locate object replicas How does it simplify the design of the Ceph metadata server cluster?

Sixth question Why is the CRUSH function in the Ceph distributed file system publicly available ? CRUSH is publically available because Ceph clients must use it to locate object replicas How does it simplify the design of the Ceph metadata server cluster? Thanks to CRUSH, the Ceph metadata server does not have to maintain object lists.

Old School Metadata server cluster File xyz? Where to find the container objects Client

Ceph with CRUSH Metadata server cluster File xyz? How to find the container objects Client Client uses CRUSH and data provided by MDS cluster to find the file