Mobile File Systems.

Slides:



Advertisements
Similar presentations
Consistency and Replication Chapter 7 Part II Replica Management & Consistency Protocols.
Advertisements

File System for Mobile Computing Quick overview of AFS identify the issues for file system design in wireless and mobile environments Design Options for.
CODA/AFS (Constant Data Availability)
Overview of Mobile Computing (3): File System. File System for Mobile Computing Issues for file system design in wireless and mobile environments Design.
G Robert Grimm New York University Disconnected Operation in the Coda File System.
Disconnected Operation in the Coda File System James J. Kistler and M. Satyanarayanan Carnegie Mellon University Presented by Deepak Mehtani.
Distributed Systems 2006 Styles of Client/Server Computing.
Coda file system: Disconnected operation By Wallis Chau May 7, 2003.
P2P: Advanced Topics Filesystems over DHTs and P2P research Vyas Sekar.
Computer Science Lecture 21, page 1 CS677: Distributed OS Today: Coda, xFS Case Study: Coda File System Brief overview of other recent file systems –xFS.
Toolkits for Building Mobile Systems 3/28/2002 Michael Ferguson
Disconnected Operation In The Coda File System James J Kistler & M Satyanarayanan Carnegie Mellon University Presented By Prashanth L Anmol N M Yulong.
Administering Active Directory
Implementing ISA Server Caching. Caching Overview ISA Server supports caching as a way to improve the speed of retrieving information from the Internet.
Hands-On Microsoft Windows Server 2003 Administration Chapter 3 Administering Active Directory.
Jeff Chheng Jun Du.  Distributed file system  Designed for scalability, security, and high availability  Descendant of version 2 of Andrew File System.
Mobility Presented by: Mohamed Elhawary. Mobility Distributed file systems increase availability Remote failures may cause serious troubles Server replication.
Client-Server Computing in Mobile Environments
Distributed File Systems Sarah Diesburg Operating Systems CS 3430.
Update Propagation with Variable Connectivity Prasun Dewan Department of Computer Science University of North Carolina
Mobility in Distributed Computing With Special Emphasis on Data Mobility.
Distributed File Systems
Replication for Mobile Computing Prasun Dewan Department of Computer Science University of North Carolina
Distributed File Systems Case Studies: Sprite Coda.
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.
1 Mobile File Systems: Disconnected and Weakly Connected File Systems 3/29/2004 Richard Yang.
Introduction to DFS. Distributed File Systems A file system whose clients, servers and storage devices are dispersed among the machines of a distributed.
DISCONNECTED OPERATION IN THE CODA FILE SYSTEM J. J. Kistler M. Sataynarayanan Carnegie-Mellon University.
CS 525M – Mobile and Ubiquitous Computing Seminar Bradley Momberger.
CODA: A HIGHLY AVAILABLE FILE SYSTEM FOR A DISTRIBUTED WORKSTATION ENVIRONMENT M. Satyanarayanan, J. J. Kistler, P. Kumar, M. E. Okasaki, E. H. Siegel,
Mobile File System Byung Chul Tak. AFS  Andrew File System Distributed computing environment developed at CMU provides transparent access to remote shared.
Mobile Data Access1 Replication, Caching, Prefetching and Hoarding for Mobile Computing.
A Low-bandwidth Network File System Athicha Muthitacharoen et al. Presented by Matt Miller September 12, 2002.
CS425 / CSE424 / ECE428 — Distributed Systems — Fall 2011 Some material derived from slides by Prashant Shenoy (Umass) & courses.washington.edu/css434/students/Coda.ppt.
Information/File Access and Sharing Coda: A Case Study J. Kistler, M. Satyanarayanan. Disconnected operation in the Coda File System. ACM Transaction on.
ENERGY-EFFICIENCY AND STORAGE FLEXIBILITY IN THE BLUE FILE SYSTEM E. B. Nightingale and J. Flinn University of Michigan.
Switching Topic 3 VTP. Agenda VTP basics Components Frames and advertisements Domains and revision numbers VTP operations VTP pruning VTP issues.
Write Conflicts in Optimistic Replication Problem: replicas may accept conflicting writes. How to detect/resolve the conflicts? client B client A replica.
Overview of Mobile File Systems Presented by Steve Todd For WSU CS 898T Mobile and Wireless Networks Class 5/3/04.
20 Copyright © 2008, Oracle. All rights reserved. Cache Management.
Consistency Guarantees Prasun Dewan Department of Computer Science University of North Carolina
Highly Available Services and Transactions with Replicated Data Jason Lenthe.
THE EVOLUTION OF CODA M. Satyanarayanan Carnegie-Mellon University.
Feb 22, 2001CSCI {4,6}900: Ubiquitous Computing1 Announcements Send today with people in your project group. People seem to be dropping off and I.
Module 11 Configuring and Managing Distributed File System.
Truly Distributed File Systems Paul Timmins CS 535.
Mobility Victoria Krafft CS /25/05. General Idea People and their machines move around Machines want to share data Networks and machines fail Network.
Mobile File Systems.
Coda / AFS Thomas Brown Albert Ng.
Nomadic File Systems Uri Moszkowicz 05/02/02.
Distributed File Systems
Chapter 25: Advanced Data Types and New Applications
Example Replicated File Systems
Disconnected Operation in the Coda File System
Presented By Abhishek Khaitan Adhip Joshi
Introduction There are many situations in which we might use replicated data Let’s look at another, different one And design a system to work well in that.
Today: Coda, xFS Case Study: Coda File System
CSE 451: Operating Systems Winter Module 22 Distributed File Systems
CSE 4340/5349 Mobile Systems Engineering
Distributed File Systems
Distributed File Systems
Overview Assignment 12: solution Distributed file systems 1/13/2019.
CSE 451: Operating Systems Spring Module 21 Distributed File Systems
Distributed File Systems
CSE 451: Operating Systems Winter Module 22 Distributed File Systems
Distributed File Systems
Distributed File Systems
System-Level Support CIS 640.
Data Dissemination and Management (3)
Presentation transcript:

Mobile File Systems

Puzzle You have a deck of 52 cards You draw out 5 cards randomly and look at the cards You can now show 4 of the cards to a friend, and the friend should identify the 5th card How do you do this?

Puzzle Let cards be numbered 1-52 Use permutation of the 4 cards to index into the 5th card (how many possible?) Choose cards to avoid having to index a number greater than 24 Eg1: 1 2 3 4 10 => show 1 2 3 4 appropriately Eg2: 1 2 3 4 30 => show 30 1 2 3 appropriately You have a deck of 52 cards You draw out 5 cards randomly and look at the cards You can now show 4 of the cards to a friend, and the friend should identify the 5th card How do you do this?

Mobility and Distributed File-systems Examples of distributed file-systems – NFS (network file system), AFS (andrew file system), etc. Key problems in a wireless/mobile environment? Disconnections Low bandwidths

File-systems … CODA – supports disconnected operation PFS – targets partially connected environments Bayou – support for data-sharing among mobile users others …

CODA Three key components Hoarding Emulating Reintegrating Hoarding

Hoarding Cache maintained locally at clients Hoarding – fills in cache when mobile client is connected Two types of hoarding Usage based User specified Cache management User driven LRU

Emulating When mobile client is disconnected, coda enters the emulation mode All requests are served from the local cache change modify log (CML) maintained based on user-writes CML used later in conflict detection and resolution CML optimized periodically to reduce the size of the CML – delete unnecessary entries

Reintegrating Transparent conflict resolution for directories Except under impossible scenarios – directory permission changes, add/deletion of same directories … File conflict resolution ASR – application specific resolvers Possess information about nature of files (say calendars) – resolve based on application semantics Manual repair User provided a view-graph of conflicts and asked to resolve

Optimizations Rapid cache validations Original mechanism in CODA for cache coherence based on callbacks Callbacks cannot be used when clients are disconnected Client validates cached copies explicitly upon reconnection Potentially time-consuming CODA uses cache coherence checks at multiple levels of granularity

Rapid cache validations - Illustration Vol 1 Vol 2 Vol 3 Vol 4 Version x Version y Version z Check volume version stamp If version stamps different, check individual object version stamps

Trickle Re-integration When network is weakly connected, propagate updates to server asynchronously Trade-offs lower bandwidth efficiency as fewer CML optimizations are possible More up to date copies at server – fewer conflicts possible CODA allows users to dynamically set the period of the asynchronous updates based on requirements

User assisted cache miss handling When a cache miss occurs, what should be done? Option 1 – fetch from server Option 2 – convey error message to user Trade-offs? Latency vs. availability Patience vs. importance CODA uses a “patience threshold” to decide whether a file can be retrieved within this threshold

MIMIC

Recap Wireline networking Wireless Ad-hoc networks Sensor networks MAC Scheduling Routing Transport Ad-hoc networks Sensor networks Miscellaneous topics Application acceleration, mobile file systems P2P (skype, bittorrent), Programmable/evolvable networks

Puzzle Doors numbered 1-100 All doors initially open Toggle switch outside every door If switch is pressed, door will close if it is currently open, and open if it is currently closed For i=1 to 100, you press switches of doors that are multiples of i Which doors are closed at the end of the process?