Distributed File Systems

Total Page:16

File Type:pdf, Size:1020Kb

Distributed File Systems File Systems Distributed File Systems Distributed File Systems Tran Giang Son, [email protected] ICT Department, USTH Distributed File Systems Tran Giang Son, [email protected] 1 / 40 File Systems Distributed File Systems File Systems Distributed File Systems Tran Giang Son, [email protected] 2 / 40 • System that permanently stores data • Layered on top of a lower-level physical storage medium • Divided into logical units called “files” • Files ∈ directories • Directories ∈ volume • Directories ∈ directories • Addressable with “Path” File Systems Distributed File Systems File Systems Distributed File Systems Tran Giang Son, [email protected] 3 / 40 File Systems Distributed File Systems File Systems • System that permanently stores data • Layered on top of a lower-level physical storage medium • Divided into logical units called “files” • Files ∈ directories • Directories ∈ volume • Directories ∈ directories • Addressable with “Path” Distributed File Systems Tran Giang Son, [email protected] 3 / 40 • File • Name • Owner / group • Date • Last access date • ... File Systems Distributed File Systems Metadata • Volume • Available space • Formatting info • Character set • ... Distributed File Systems Tran Giang Son, [email protected] 4 / 40 File Systems Distributed File Systems Metadata • Volume • Available space • Formatting info • Character set • ... • File • Name • Owner / group • Date • Last access date • ... Distributed File Systems Tran Giang Son, [email protected] 4 / 40 File Systems Distributed File Systems Virtual File System • / • Nested directories • Symlinks • Mount points Distributed File Systems Tran Giang Son, [email protected] 5 / 40 File Systems Distributed File Systems Low Level Organization • File data and metadata stored separately • File descriptors + meta-data stored in inodes • Large tree or tables • File content lookups • Replicable Distributed File Systems Tran Giang Son, [email protected] 6 / 40 File Systems Distributed File Systems Low Level Organization • Disks: /dev/sdX (Linux) or /dev/diskX (macOS) • Sequential array of blocks • 1KB chunks • Tree structure is flattened into blocks • Fragmentation Distributed File Systems Tran Giang Son, [email protected] 7 / 40 File Systems Distributed File Systems Fragmentation A B C (free space) A B C A (free space) A (free space) C A (free space) A D C A D (free) Distributed File Systems Tran Giang Son, [email protected] 8 / 40 ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: Distributed File Systems Tran Giang Son, [email protected] 9 / 40 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 Distributed File Systems Tran Giang Son, [email protected] 9 / 40 zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs Distributed File Systems Tran Giang Son, [email protected] 9 / 40 ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs Distributed File Systems Tran Giang Son, [email protected] 9 / 40 JFS MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 Distributed File Systems Tran Giang Son, [email protected] 9 / 40 MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS Distributed File Systems Tran Giang Son, [email protected] 9 / 40 UFS UFS2 XFS ZFS SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS Distributed File Systems Tran Giang Son, [email protected] 9 / 40 XFS ZFS SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 Distributed File Systems Tran Giang Son, [email protected] 9 / 40 ZFS SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS Distributed File Systems Tran Giang Son, [email protected] 9 / 40 SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS Distributed File Systems Tran Giang Son, [email protected] 9 / 40 • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS SquashFS Distributed File Systems Tran Giang Son, [email protected] 9 / 40 HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: Distributed File Systems Tran Giang Son, [email protected] 9 / 40 HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: HFS Distributed File Systems Tran Giang Son, [email protected] 9 / 40 APFS • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: HFS HFS+ Distributed File Systems Tran Giang Son, [email protected] 9 / 40 • DOS/Windows: FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: HFS HFS+ APFS Distributed File Systems Tran Giang Son, [email protected] 9 / 40 FAT FAT16 FAT32 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: Distributed File Systems Tran Giang Son, [email protected] 9 / 40 NTFS • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive • Some has encryption supports: APFS HFS+ btrfs ZFS ext4 File Systems Distributed File Systems Local File System • Very numerous • Unix-like systems: ext2/3/4 btrfs zfs ReiserFS Reiser4 JFS MinixFS UFS UFS2 XFS ZFS SquashFS • macOS: HFS HFS+ APFS • DOS/Windows: FAT FAT16 FAT32 Distributed File Systems Tran Giang Son, [email protected] 9 / 40 • Flash devices: JFFS JFFS2 exFAT • Case (in)sensitive
Recommended publications
  • DASH: Database Shadowing for Mobile DBMS
    DASH: Database Shadowing for Mobile DBMS Youjip Won1 Sundoo Kim2 Juseong Yun2 Dam Quang Tuan2 Jiwon Seo2 1KAIST, Daejeon, Korea 2Hanyang University, Seoul, Korea [email protected] [email protected] ABSTRACT 1. INTRODUCTION In this work, we propose Database Shadowing, or DASH, Crash recovery is a vital part of DBMS design. Algorithms which is a new crash recovery technique for SQLite DBMS. for crash recovery range from naive full-file shadowing [15] DASH is a hybrid mixture of classical shadow paging and to the sophisticated ARIES protocol [38]. Most enterprise logging. DASH addresses four major issues in the current DBMS's, e.g., IBM DB2, Informix, Micrsoft SQL and Oracle SQLite journal modes: the performance and write amplifi- 8, use ARIES or its variants for efficient concurrency control. cation issues of the rollback mode and the storage space re- SQLite is one of the most widely used DBMS's. It is quirement and tail latency issues of the WAL mode. DASH deployed on nearly all computing platform such as smart- exploits two unique characteristics of SQLite: the database phones (e.g, Android, Tizen, Firefox, and iPhone [52]), dis- files are small and the transactions are entirely serialized. tributed filesystems (e.g., Ceph [58] and Gluster filesys- DASH consists of three key ingredients Aggregate Update, tem [1]), wearable devices (e.g., smart watch [4, 21]), and Atomic Exchange and Version Reset. Aggregate Update elim- automobiles [19, 55]. As a library-based embedded DBMS, inates the redundant write overhead and the requirement to SQLite deliberately adopts a basic transaction management maintain multiple snapshots both of which are inherent in and crash recovery scheme.
    [Show full text]
  • Redbooks Paper Linux on IBM Zseries and S/390
    Redbooks Paper Simon Williams Linux on IBM zSeries and S/390: TCP/IP Broadcast on z/VM Guest LAN Preface This Redpaper provides information to help readers plan for and exploit Internet Protocol (IP) broadcast support that was made available to z/VM Guest LAN environments with the introduction of the z/VM 4.3 Operating System. Using IP broadcast support, Linux guests can for the first time use DHCP to lease an IP address dynamically from a DHCP server in a z/VM Guest LAN environment. This frees the administrator from the previous method of having to hardcode an IP address for every Linux guest in the system. This new feature enables easier deployment and administration of large-scale Linux environments. Objectives The objectives of this paper are to: Review the z/VM Guest LAN environment Explain IP broadcast Introduce the Dynamic Host Configuration Protocol (DHCP) Explain how DHCP works in a z/VM Guest LAN Describe how to implement DHCP in a z/VM Guest LAN environment © Copyright IBM Corp. 2003. All rights reserved. ibm.com/redbooks 1 z/VM Guest LAN Attention: While broadcast support for z/VM Guest LANs was announced with the base z/VM 4.3 operating system, the user must apply the PTF for APAR VM63172. This APAR resolves several issues which have been found to inhibit the use of DHCP by Linux-based applications running over the z/VM Guest LAN (in simulated QDIO mode). Introduction Prior to z/VM 4.2, virtual connectivity options for connecting one or more virtual machines (VM guests) was limited to virtual channel-to-channel adapters (CTCA) and the Inter-User Communications Vehicle (IUCV) facility.
    [Show full text]
  • Open Source Licensing Information for Cisco IP Phone 8800 Series
    Open Source Used In Cisco IP Phone 8800 Series 12.1(1) Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices. Text Part Number: 78EE117C99-163803748 Open Source Used In Cisco IP Phone 8800 Series 12.1(1) 1 This document contains licenses and notices for open source software used in this product. With respect to the free/open source software listed in this document, if you have any questions or wish to receive a copy of any source code to which you may be entitled under the applicable free/open source license(s) (such as the GNU Lesser/General Public License), please contact us at [email protected]. In your requests please include the following reference number 78EE117C99-163803748 Contents 1.1 bluez 4.101 :MxC-1.1C R4.0 1.1.1 Available under license 1.2 BOOST C++ Library 1.63.0 1.2.1 Available under license 1.3 busybox 1.21.0 1.3.1 Available under license 1.4 Busybox 1.23.1 1.4.1 Available under license 1.5 cjose 0.4.1 1.5.1 Available under license 1.6 cppformat 2.0.0 1.6.1 Available under license 1.7 curl 7.26.0 1.7.1 Available under license 1.8 dbus 1.4.1 :MxC-1.1C R4.0 1.8.1 Available under license 1.9 DirectFB library and utilities 1.4.5 1.9.1 Available under license 1.10 dnsmasq 2.46 1.10.1 Available under license 1.11 flite 2.0.0 1.11.1 Available under license 1.12 glibc 2.13 1.12.1 Available under license 1.13 hostapd 2.0 :MxC-1.1C R4.0 1.13.1 Available under license Open Source Used
    [Show full text]
  • De-Anonymizing Live Cds Through Physical Memory Analysis
    De-Anonymizing Live CDs through Physical Memory Analysis Andrew Case [email protected] Digital Forensics Solutions Abstract Traditional digital forensics encompasses the examination of data from an offline or “dead” source such as a disk image. Since the filesystem is intact on these images, a number of forensics techniques are available for analysis such as file and metadata examination, timelining, deleted file recovery, indexing, and searching. Live CDs present a serious problem for this investigative model, however, since the OS and applications execute in a RAM-only environment and do not save data on non-volatile storage devices such as the local disk. In order to solve this problem, we present a number of techniques that support complete recovery of a live CD’s in-memory filesystem and partial recovery of its deleted contents. We also present memory analysis of the popular Tor application, since it is used by a number of live CDs in an attempt to keep network communications encrypted and anonymous. 1 Introduction Traditional digital forensics encompasses the examination of data from an offline or “dead” source such as a disk image. Under normal circumstances, evidence is obtained by first creating an exact, bit-for-bit copy of the target disk, followed by hashing of both the target disk and the new copy. If these hashes match then it is known that an exact copy has been made, and the hash is recorded to later prove that evidence was not modified during the investigation. Besides satisfying legal requirements, obtaining a bit-for-bit copy of data provides investigators with a wealth of information to examine and makes available a number of forensics techniques.
    [Show full text]
  • Andrew File System (AFS) Google File System February 5, 2004
    Advanced Topics in Computer Systems, CS262B Prof Eric A. Brewer Andrew File System (AFS) Google File System February 5, 2004 I. AFS Goal: large-scale campus wide file system (5000 nodes) o must be scalable, limit work of core servers o good performance o meet FS consistency requirements (?) o managable system admin (despite scale) 400 users in the “prototype” -- a great reality check (makes the conclusions meaningful) o most applications work w/o relinking or recompiling Clients: o user-level process, Venus, that handles local caching, + FS interposition to catch all requests o interaction with servers only on file open/close (implies whole-file caching) o always check cache copy on open() (in prototype) Vice (servers): o Server core is trusted; called “Vice” o servers have one process per active client o shared data among processes only via file system (!) o lock process serializes and manages all lock/unlock requests o read-only replication of namespace (centralized updates with slow propagation) o prototype supported about 20 active clients per server, goal was >50 Revised client cache: o keep data cache on disk, metadata cache in memory o still whole file caching, changes written back only on close o directory updates are write through, but cached locally for reads o instead of check on open(), assume valid unless you get an invalidation callback (server must invalidate all copies before committing an update) o allows name translation to be local (since you can now avoid round-trip for each step of the path) Revised servers: 1 o move
    [Show full text]
  • CS 152: Computer Systems Architecture Storage Technologies
    CS 152: Computer Systems Architecture Storage Technologies Sang-Woo Jun Winter 2019 Storage Used To be a Secondary Concern Typically, storage was not a first order citizen of a computer system o As alluded to by its name “secondary storage” o Its job was to load programs and data to memory, and disappear o Most applications only worked with CPU and system memory (DRAM) o Extreme applications like DBMSs were the exception Because conventional secondary storage was very slow o Things are changing! Some (Pre)History Magnetic core memory Rope memory (ROM) 1960’s Drum memory 1950~1970s 72 KiB per cubic foot! 100s of KiB (1024 bits in photo) Hand-woven to program the 1950’s Apollo guidance computer Photos from Wikipedia Some (More Recent) History Floppy disk drives 1970’s~2000’s 100 KiBs to 1.44 MiB Hard disk drives 1950’s to present MBs to TBs Photos from Wikipedia Some (Current) History Solid State Drives Non-Volatile Memory 2000’s to present 2010’s to present GB to TBs GBs Hard Disk Drives Dominant storage medium for the longest time o Still the largest capacity share Data organized into multiple magnetic platters o Mechanical head needs to move to where data is, to read it o Good sequential access, terrible random access • 100s of MB/s sequential, maybe 1 MB/s 4 KB random o Time for the head to move to the right location (“seek time”) may be ms long • 1000,000s of cycles! Typically “ATA” (Including IDE and EIDE), and later “SATA” interfaces o Connected via “South bridge” chipset Ding Yuan, “Operating Systems ECE344 Lecture 11: File
    [Show full text]
  • Hardware-Driven Evolution in Storage Software by Zev Weiss A
    Hardware-Driven Evolution in Storage Software by Zev Weiss A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy (Computer Sciences) at the UNIVERSITY OF WISCONSIN–MADISON 2018 Date of final oral examination: June 8, 2018 ii The dissertation is approved by the following members of the Final Oral Committee: Andrea C. Arpaci-Dusseau, Professor, Computer Sciences Remzi H. Arpaci-Dusseau, Professor, Computer Sciences Michael M. Swift, Professor, Computer Sciences Karthikeyan Sankaralingam, Professor, Computer Sciences Johannes Wallmann, Associate Professor, Mead Witter School of Music i © Copyright by Zev Weiss 2018 All Rights Reserved ii To my parents, for their endless support, and my cousin Charlie, one of the kindest people I’ve ever known. iii Acknowledgments I have taken what might be politely called a “scenic route” of sorts through grad school. While Ph.D. students more focused on a rapid graduation turnaround time might find this regrettable, I am glad to have done so, in part because it has afforded me the opportunities to meet and work with so many excellent people along the way. I owe debts of gratitude to a large cast of characters: To my advisors, Andrea and Remzi Arpaci-Dusseau. It is one of the most common pieces of wisdom imparted on incoming grad students that one’s relationship with one’s advisor (or advisors) is perhaps the single most important factor in whether these years of your life will be pleasant or unpleasant, and I feel exceptionally fortunate to have ended up iv with the advisors that I’ve had.
    [Show full text]
  • Elinos Product Overview
    SYSGO Product Overview ELinOS 7 Industrial Grade Linux ELinOS is a SYSGO Linux distribution to help developers save time and effort by focusing on their application. Our Industrial Grade Linux with user-friendly IDE goes along with the best selection of software packages to meet our cog linux Qt LOCK customers needs, and with the comfort of world-class technical support. ELinOS now includes Docker support Feature LTS Qt Open SSH Configurator Kernel embedded Open VPN in order to isolate applications running on the same system. laptop Q Bug Shield-Virus Docker Eclipse-based QEMU-based Application Integrated Docker IDE HW Emulators Debugging Firewall Support ELINOS FEATURES MANAGING EMBEDDED LINUX VERSATILITY • Industrial Grade Creating an Embedded Linux based system is like solving a puzzle and putting • Eclipse-based IDE for embedded the right pieces together. This requires a deep knowledge of Linux’s versatility Systems (CODEO) and takes time for the selection of components, development of Board Support • Multiple Linux kernel versions Packages and drivers, and testing of the whole system – not only for newcomers. incl. Kernel 4.19 LTS with real-time enhancements With ELinOS, SYSGO offers an ‘out-of-the-box’ experience which allows to focus • Quick and easy target on the development of competitive applications itself. ELinOS incorporates the system configuration appropriate tools, such as a feature configurator to help you build the system and • Hardware Emulation (QEMU) boost your project success, including a graphical configuration front-end with a • Extensive file system support built-in integrity validation. • Application debugging • Target analysis APPLICATION & CONFIGURATION ENVIRONMENT • Runs out-of-the-box on PikeOS • Validated and tested for In addition to standard tools, remote debugging, target system monitoring and PowerPC, x86, ARM timing behaviour analyses are essential for application development.
    [Show full text]
  • A Survey of Distributed File Systems
    A Survey of Distributed File Systems M. Satyanarayanan Department of Computer Science Carnegie Mellon University February 1989 Abstract Abstract This paper is a survey of the current state of the art in the design and implementation of distributed file systems. It consists of four major parts: an overview of background material, case studies of a number of contemporary file systems, identification of key design techniques, and an examination of current research issues. The systems surveyed are Sun NFS, Apollo Domain, Andrew, IBM AIX DS, AT&T RFS, and Sprite. The coverage of background material includes a taxonomy of file system issues, a brief history of distributed file systems, and a summary of empirical research on file properties. A comprehensive bibliography forms an important of the paper. Copyright (C) 1988,1989 M. Satyanarayanan The author was supported in the writing of this paper by the National Science Foundation (Contract No. CCR-8657907), Defense Advanced Research Projects Agency (Order No. 4976, Contract F33615-84-K-1520) and the IBM Corporation (Faculty Development Award). The views and conclusions in this document are those of the author and do not represent the official policies of the funding agencies or Carnegie Mellon University. 1 1. Introduction The sharing of data in distributed systems is already common and will become pervasive as these systems grow in scale and importance. Each user in a distributed system is potentially a creator as well as a consumer of data. A user may wish to make his actions contingent upon information from a remote site, or may wish to update remote information.
    [Show full text]
  • AMD Alchemy™ Processors Building a Root File System for Linux® Incorporating Memory Technology Devices
    AMD Alchemy™ Processors Building a Root File System for Linux® Incorporating Memory Technology Devices 1.0 Scope This document outlines a step-by-step process for building and deploying a Flash-based root file system for Linux® on an AMD Alchemy™ processor-based development board, using an approach that incorporates Memory Technology Devices (MTDs) with the JFFS2 file system. Note: This document describes creating a root file system on NOR Flash memory devices, and does not apply to NAND Flash devices. 1.1 Journaling Flash File System JFFS2 is the second generation of the Journaling Flash File System (JFFS). This file system provides a crash-safe and powerdown-safe Linux file system for use with Flash memory devices. The home page for the JFFS project is located at http://developer.axis.com/software/jffs. 1.2 Memory Technology Device The MTD subsystem provides a generic Linux driver for a wide range of memory devices, including Flash memory devices. This driver creates an abstracted device used by JFFS2 to interface to the actual Flash memory hardware. The home page for the MTD project is located at http://www.linux-mtd.infradead.org. 2.0 Building the Root File System Before being deployed to an AMD Alchemy platform, the file system must first be built on an x86 Linux host PC. The pri- mary concern when building a Flash-based root file system is often the size of the image. The file system must be designed so that it fits within the available space of the Flash memory, with enough extra space to accommodate any runtime-created files, such as temporary or log files.
    [Show full text]
  • Filesystem Considerations for Embedded Devices ELC2015 03/25/15
    Filesystem considerations for embedded devices ELC2015 03/25/15 Tristan Lelong Senior embedded software engineer Filesystem considerations ABSTRACT The goal of this presentation is to answer a question asked by several customers: which filesystem should you use within your embedded design’s eMMC/SDCard? These storage devices use a standard block interface, compatible with traditional filesystems, but constraints are not those of desktop PC environments. EXT2/3/4, BTRFS, F2FS are the first of many solutions which come to mind, but how do they all compare? Typical queries include performance, longevity, tools availability, support, and power loss robustness. This presentation will not dive into implementation details but will instead summarize provided answers with the help of various figures and meaningful test results. 2 TABLE OF CONTENTS 1. Introduction 2. Block devices 3. Available filesystems 4. Performances 5. Tools 6. Reliability 7. Conclusion Filesystem considerations ABOUT THE AUTHOR • Tristan Lelong • Embedded software engineer @ Adeneo Embedded • French, living in the Pacific northwest • Embedded software, free software, and Linux kernel enthusiast. 4 Introduction Filesystem considerations Introduction INTRODUCTION More and more embedded designs rely on smart memory chips rather than bare NAND or NOR. This presentation will start by describing: • Some context to help understand the differences between NAND and MMC • Some typical requirements found in embedded devices designs • Potential filesystems to use on MMC devices 6 Filesystem considerations Introduction INTRODUCTION Focus will then move to block filesystems. How they are supported, what feature do they advertise. To help understand how they compare, we will present some benchmarks and comparisons regarding: • Tools • Reliability • Performances 7 Block devices Filesystem considerations Block devices MMC, EMMC, SD CARD Vocabulary: • MMC: MultiMediaCard is a memory card unveiled in 1997 by SanDisk and Siemens based on NAND flash memory.
    [Show full text]
  • Netinfo 2009-06-11 Netinfo 2009-06-11
    Netinfo 2009-06-11 Netinfo 2009-06-11 Microsoft släppte 2009-06-09 tio uppdateringar som täpper till 31 stycken säkerhetshål i bland annat Windows, Internet Explorer, Word, Excel, Windows Search. 18 av buggfixarna är märkta som kritiska och elva av dem är märkta som viktiga, uppdateringarna finns för både servrar och arbetsstationer. Säkerhetsuppdateringarna finns tillgängliga på Windows Update. Den viktigaste säkerhetsuppdateringen av de som släpptes är den för Internet Explorer 8. Netinfo 2009-06-11 Security Updates available for Adobe Reader and Acrobat Release date: June 9, 2009 Affected software versions Adobe Reader 9.1.1 and earlier versions Adobe Acrobat Standard, Pro, and Pro Extended 9.1.1 and earlier versions Severity rating Adobe categorizes this as a critical update and recommends that users apply the update for their product installations. These vulnerabilities would cause the application to crash and could potentially allow an attacker to take control of the affected system. Netinfo 2009-06-11 SystemRescueCd Description: SystemRescueCd is a Linux system on a bootable CD-ROM for repairing your system and recovering your data after a crash. It aims to provide an easy way to carry out admin tasks on your computer, such as creating and editing the partitions of the hard disk. It contains a lot of system tools (parted, partimage, fstools, ...) and basic tools (editors, midnight commander, network tools). It is very easy to use: just boot the CDROM. The kernel supports most of the important file systems (ext2/ext3/ext4, reiserfs, reiser4, btrfs, xfs, jfs, vfat, ntfs, iso9660), as well as network filesystems (samba and nfs).
    [Show full text]