File Access and Transfer. Issues 4 Access and transfer are different operations –with different requirements 4 Transfer –move the file from one place.

Slides:



Advertisements
Similar presentations
Interactive lesson about operating system
Advertisements

Threads, SMP, and Microkernels
1 Online communication: remote login and file transfer.
Raid dr. Patrick De Causmaecker What is RAID Redundant Array of Independent (Inexpensive) Disks A set of disk stations treated as one.
Chapter 4 : File Systems What is a file system?
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Chapter 13 (Web): Distributed Databases
Computer Systems/Operating Systems - Class 8
Definition of a Distributed System (1) A distributed system is: A collection of independent computers that appears to its users as a single coherent system.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 10: File-System Interface.
Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition File-System Interface.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
Chapter 10: File-System Interface
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Chapter 12 File Management Systems
Chapter 12 Distributed Database Management Systems
1 Course Outline Processes & Threads CPU Scheduling Synchronization & Deadlock Memory Management File Systems & I/O Networks, Protection and Security.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
The OSI Model A layered framework for the design of network systems that allows communication across all types of computer systems regardless of their.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
File Transfer Protocol (FTP)
Chapter 26 remote logging & Ftp
Database Systems: Design, Implementation, and Management Ninth Edition
1 The Google File System Reporter: You-Wei Zhang.
Page 19/4/2015 CSE 30341: Operating Systems Principles Raid storage  Raid – 0: Striping  Good I/O performance if spread across disks (equivalent to n.
Client/Server Databases and the Oracle 10g Relational Database
Networked File System CS Introduction to Operating Systems.
1 Chapter 12 File Management Systems. 2 Systems Architecture Chapter 12.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
B.Ramamurthy9/19/20151 Operating Systems u Bina Ramamurthy CS421.
Composition and Evolution of Operating Systems Introduction to Operating Systems: Module 2.
 An ISO is a multi national body dedicated to worldwide agreement on international standards.  An ISO standard that covers all aspects of network communications.
The OSI Model.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 12 Distributed Database Management Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
Distributed Databases Midterm review. Lectures covered Everything until (including) March 2 nd Everything until (including) March 2 nd Focus on distributed.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Introduction to DFS. Distributed File Systems A file system whose clients, servers and storage devices are dispersed among the machines of a distributed.
Chapter 1 Introduction to Databases. 1-2 Chapter Outline   Common uses of database systems   Meaning of basic terms   Database Applications  
Introduction to Database Systems1. 2 Basic Definitions Mini-world Some part of the real world about which data is stored in a database. Data Known facts.
Oracle's Distributed Database Bora Yasa. Definition A Distributed Database is a set of databases stored on multiple computers at different locations and.
Kjell Orsborn UU - DIS - UDBL DATABASE SYSTEMS - 10p Course No. 2AD235 Spring 2002 A second course on development of database systems Kjell.
Databases Illuminated
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
1 Chapter 34 Internet Applications (Telnet, FTP).
BZUPAGES.COM Presentation on TCP/IP Presented to: Sir Taimoor Presented by: Jamila BB Roll no Nudrat Rehman Roll no
CS 346 – Chapter 11 File system –Files –Access –Directories –Mounting –Sharing –Protection.
An Introduction to Device Drivers Ted Baker  Andy Wang COP 5641 / CIS 4930.
Prepared by Engr.Jawad Ali BSc(Hons)Computer Systems Engineering University of Engineering and Technology Peshawar.
Chapter 12 Distributed Data Bases. Learning Objectives What a distributed database management system (DDBMS) is and what its components are How database.
Distributed Database Management Systems. Reading Textbook: Ch. 1, Ch. 3 Textbook: Ch. 1, Ch. 3 For next class: Ch. 4 For next class: Ch. 4 FarkasCSCE.
 PROCESS MANAGEMENT  A process is a program in execution: (A program is passive, a process active.)  A process has resources (CPU time, files) and.
Find – used to find files corresponding to a certain criteria find starting_dir matching_criteria [options] Examples: find /usr –name startx find /usr.
Databases and DBMSs Todd S. Bacastow January 2005.
File Transfer and access
Data, Databases, and DBMSs
CPSC 457 Operating Systems
UNIT IV RAID.
Introduction of Week 13 Return assignment 11-1 and 3-1-5
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Chapter 2: Operating-System Structures
Lecture 4: File-System Interface
Design.
Distributed Systems and Concurrency: Distributed Systems
Internet Applications (Telnet, FTP)
Presentation transcript:

File Access and Transfer

Issues 4 Access and transfer are different operations –with different requirements 4 Transfer –move the file from one place to another binary or text recovery from interruption move whole file 4 Access –remove awareness of file location treat remote files as if they were local hide differences of file organization, characteristics –manage issues of simultaneous access –handle file integrity issues

File System Characteristics 4 Structure –refers to the logical and physical organization of data in the file 4 Attributes –are descriptive terms, provide information such as creation time, size, owner, etc. 4 Operations –are functions that may be applied to a file and/or its attributes create, delete, read, write, change access rights, etc.

A taxonomy of file system issues One user, one site, one process Naming, Physical storage, Programming interface, Integrity One user, one site, multiple processes Concurrency control, Serializability, Deadlocks Multiple users, one site, multiple processes Security Multiple users, multiple sites, multiple processes Location Adapted from “Distributed File Systems” M. Satyanarayanan 1989

Taxonomy -1 4 Naming –Is the name space flat or hierarchical? Tree structured? Cycles allowed? How long can the file names be? Are there file extensions or naming conventions that have semantic significance? 4 Programming interface –How do applications access the file system? Is there support for atomic actions? Naming, Physical storage, Programming interface, Integrity One user, one site, one process

Taxonomy Physical storage –How is the file system abstraction mapped onto physical storage media? Is the programming interface independent of the storage media? How are the conflicting pulls between large blocks for performance benefits balanced with small blocks to reduce fragmentation? 4 Integrity –How are power, hardware, media, and software failures dealt with? Naming, Physical storage, Programming interface, Integrity One user, one site, one process

Taxonomy Concurrency control –synchronization policies: what granularity (entire file, bytes, blocks?) What locking modes? What combinations of locks can co-exist? 4 Serializability –An execution instance of interleaved transactions is serializable if there is some sequential execution order that yields the same results. How is serializability realized in this file system? 4 Deadlocks –How are deadlocks detected or avoided in this system? Concurrency control, Serializability, Deadlocks One user, one site, multiple processes

Taxonomy -4 4 Security –How are users identified and authenticated? Can groups share access to files? What privileges can be granted? How do those privileges map to file operations? Can the privileges be revoked? Multiple users, one site, multiple processes Security

Taxonomy -5 4 Location –embedded in file names (as in full path)? Then moving a file also changes its name. Users may have problems finding their files. Location transparency hides the actual location of the file. –Also involves availability and replication issues Multiple users, multiple sites, multiple processes Location

File Transfer 4 Character or image –ASCII is 7-bit code; bit 8 used for parity check –if bit 8 is part of the data, transfer will not work 4 block size: sender and receiver need to agree 4 error detection: sender and receiver must agree 4 error correction: most common is retransmission 4 dialog control: two-way or one-way by turns 4 flow control: match sender rate to receiver capability; communication needed

FTP 4 File Transfer Protocol –workhorse of file movement –whole file transfer, not general file access –two versions: 2-system, 3-system –uses telnet to do login to the remote system –anonymous ftp widely used for public distribution of files

Two-system FTP interaction PI = Protocol Interpreter DTP = Data Transfer Protocol

Three-system version of FTP

A modern interface to FTP

Model for generalized file access

General Hierarchical Structure

Flat file in the general hierarchical file structure

Unstructured file in the general hierarchical file structure

File Access, not just transfer 4 FTAM (File Transfer, Access, and Management) 4 Other versions created for specific applications 4 FTAM defines regimes to capture various kinds of interaction –association, file selection, file open, data transfer regimes –enter and exit regimes according to operations needed

Summarizing 4 Network-based application development requires access to files at remote locations –file transfer brings the remote file to where it is needed. Operations are done on the local copy. –General file access is more involved. Taxonomy of issues includes security, deadlock, integrity, interface differences, etc. 4 General model of file interaction removes the details of individual file systems 4 FTP is most common for moving files 4 More is needed for general file access