Solution to the Fourth COSC 6360 Quiz for Fall 2013

Slides:



Advertisements
Similar presentations
The Zebra Striped Network Filesystem. Approach Increase throughput, reliability by striping file data across multiple servers Data from each client is.
Advertisements

Solutions for the Second Problem Set COSC 6360 Fall 2014.
Ext3 Journaling File System “absolute consistency of the filesystem in every respect after a reboot, with no loss of existing functionality” chadd williams.
NFS. The Sun Network File System (NFS) An implementation and a specification of a software system for accessing remote files across LANs. The implementation.
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
DESIGN AND IMPLEMENTATION OF THE SUN NETWORK FILESYSTEM R. Sandberg, D. Goldberg S. Kleinman, D. Walsh, R. Lyon Sun Microsystems.
Presented by: Alvaro Llanos E.  Motivation and Overview  Frangipani Architecture overview  Similar DFS  PETAL: Distributed virtual disks ◦ Overview.
Distributed File Systems Concepts & Overview. Goals and Criteria Goal: present to a user a coherent, efficient, and manageable system for long-term data.
Transactions and Reliability. File system components Disk management Naming Reliability  What are the reliability issues in file systems? Security.
Problems discussed in the review session for the final COSC 4330/6310 Summer 2012.
Solutions to the first midterm COSC 4330/6310 Summer 2012.
JOURNALING VERSUS SOFT UPDATES: ASYNCHRONOUS META-DATA PROTECTION IN FILE SYSTEMS Margo I. Seltzer, Harvard Gregory R. Ganger, CMU M. Kirk McKusick Keith.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Distributed File Systems Overview  A file system is an abstract data type – an abstraction of a storage device.  A distributed file system is available.
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.
UNIX File and Directory Caching How UNIX Optimizes File System Performance and Presents Data to User Processes Using a Virtual File System.
Chapter VIIII File Systems Review Questions and Problems Jehan-François Pâris
1 File Systems: Consistency Issues. 2 File Systems: Consistency Issues File systems maintains many data structures  Free list/bit vector  Directories.
SPECULATIVE EXECUTION IN A DISTRIBUTED FILE SYSTEM E. B. Nightingale P. M. Chen J. Flint University of Michigan.
COSC 3330/6308 Solutions to the Third Problem Set Jehan-François Pâris November 2012.
ENERGY-EFFICIENCY AND STORAGE FLEXIBILITY IN THE BLUE FILE SYSTEM E. B. Nightingale and J. Flinn University of Michigan.
Solution to the Third COSC 6360 Quiz for Fall 2013 Jehan-François Pâris
HADOOP DISTRIBUTED FILE SYSTEM HDFS Reliability Based on “The Hadoop Distributed File System” K. Shvachko et al., MSST 2010 Michael Tsitrin 26/05/13.
Outline for Today Journaling vs. Soft Updates Administrative.
What if? or Combining different ideas J. F. Pâris.
JOURNALING VERSUS SOFT UPDATES: ASYNCHRONOUS META-DATA PROTECTION IN FILE SYSTEMS Margo I. Seltzer, Harvard Gregory R. Ganger, CMU M. Kirk McKusick Keith.
Solutions for the Fourth Problem Set COSC 6360 Fall 2014.
Solution to the Second COSC 6360 Quiz for Fall 2013 Jehan-François Pâris
THE EVOLUTION OF CODA M. Satyanarayanan Carnegie-Mellon University.
DISTRIBUTED FILE SYSTEM- ENHANCEMENT AND FURTHER DEVELOPMENT BY:- PALLAWI(10BIT0033)
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? 
Sanjay Ghemawat, Howard Gobioff, Shun-Tak Leung
SMTP SMTP stands for Simple Mail Transfer Protocol. SMTP is used when is delivered from an client, such as Outlook Express, to an server.
Transactions and Reliability
Distributed File Systems
SMTP SMTP stands for Simple Mail Transfer Protocol. SMTP is used when is delivered from an client, such as Outlook Express, to an server.
Solutions for Fourth Quiz
CSE-291 (Cloud Computing) Fall 2016
AN IMPLEMENTATION OF A LOG-STRUCTURED FILE SYSTEM FOR UNIX
File System Implementation
Journaling File Systems
Solutions for Second Quiz
First Pop Quiz Answers COSC 6360 Fall 2017.
CSC-8320 Advanced Operating System
Dave Hitz and Andy Watson Network Appliance, Inc
Student #7 starts with Locker 7 and changes every seventh door
CSE 451: Operating Systems Winter Module 22 Distributed File Systems
Printed on Monday, December 31, 2018 at 2:03 PM.
Distributed File Systems
Distributed File Systems
Cary G. Gray David R. Cheriton Stanford University
CSE 451: Operating Systems Spring Module 21 Distributed File Systems
Dave Hitz and Andy Watson Network Appliance, Inc
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
Chapter 15: File System Internals
Solutions for Third Quiz
Questions on Fifth Quiz
Chapter VIIII File Systems Review Questions and Problems
File system implementation
File System Implementation
CS703 - Advanced Operating Systems
Solutions for Third Quiz
Distributed File Systems
Solutions to the Second Quiz
Distributed File Systems
Presentation transcript:

Solution to the Fourth COSC 6360 Quiz for Fall 2013 Jehan-François Pâris jfparis@uh.edu

First question According to the comparison study of journaling and soft updates by Seltzer et al., which two solutions perform the best?  What is their common limitation?

Answer (I) According to the comparison study of journaling and soft updates by Seltzer et al., which two solutions perform the best?  Journaling w/ asynchronous log updates Soft updates

Answer (II) What is their common limitation? They do not guarantee the durability of updates

Second question What is the main problem with journaling file systems using the writeback mode? Can you guess the main advantage of that mode?

Answer (I) What is the main problem with journaling file systems using the writeback mode? File system can be corrupted if the system crashes After some metadata are marked as committed Before the data they point to are written to disk Can you guess the main advantage of that mode?

Answer (II) Can you guess the main advantage of that mode? It has lower overhead and faster throughput than safer mode.

Third Question (I) Consider a diskless client trying to access a file named “/usr/joe/paper.tex” 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 (I) The client will issue three lookup requests: One for /usr One for /usr/joe One for /usr/joe/paper.tex

Third question (II) What does NFS do to speed up these requests?

Answer (II) What does NFS do to speed up these requests? It lets client cache recently accessed file handles

Fifth question (I) Consider a DFS implementing close-to-open consistency. Assuming that Alice opens the file at 9:30 AM modifies it and closes it at 10:20 AM, Bob opens the file at 10:00 AM modifies it and closes it at 10:40 AM, Carol opens the file at 10:25 AM, modifies it and closes it at 10:30 AM.

Fifth question (II) Which of these three users would see his or her changes actually incorporated in the final version of the file?

Answer Which of these three users would see his or her changes actually incorporated in the final version of the file? Only Bob

Sixth question Explain how the Blue file system saves energy by aggregating writes.

Answer Explain how the Blue file system saves energy by aggregating writes. Aggregating writes produce quick bursts of writes separated by idle periods during which disks can be powered down.

Seventh question (I) Comparing callbacks and leases, which one is better suited to environments where: The users’ workstations always remain connected to their servers? Why?

Answer (I) Leases are much better for environments where the users’ workstations are always connected to their servers because it protects better file consistency in the presence of current updates.

Seventh question (II) Comparing callbacks and leases, which one is better suited to environments where: The users’ workstations will sometimes operate in disconnected mode? Why?

Answer (II) Callbacks are better than leases in environments where users’ workstations will sometimes operate in disconnected mode because it allows disconnected clients to access their cached files while leases would not.

Eighth question How does the LBFS file server ensure the atomicity of its updates?

Answer How does the LBFS file server ensure the atomicity of its updates? The LBFS server ensures the atomicity of its updates by writing them first into a temporary file.