Richer File System Metadata Using Links and Attributes

Total Page:16

File Type:pdf, Size:1020Kb

Richer File System Metadata Using Links and Attributes Richer File System Metadata Using Links and Attributes Alexander Ames Nikhil Bobb Scott A. Brandt Adam Hiatt [email protected] [email protected] [email protected] [email protected] Carlos Maltzahn Ethan L. Miller Alisa Neeman Deepa Tuteja [email protected] [email protected] [email protected] [email protected] Storage Systems Research Center Jack Baskin School of Engineering University of California, Santa Cruz Abstract clude not only arbitrary, user-specifiable key-value pairs on files but relationships between files in form of links with at- Traditional file systems provide a weak and inadequate tributes. structure for meaningful representations of file interrela- It is now often easier to find a document on the Web tionships and other context-providing metadata. Existing amongst billions of documents than on a local file system. designs, which store additional file-oriented metadata ei- Documents on the Web are embedded in a rich hyperlink ther in a database, on disk, or both are limited by the structure while files typically are not. Companies such as technologies upon which they depend. Moreover, they do Google are able to take advantage of links between Web not provide for user-defined relationships among files. To documents in order to deliver meaningful ranking of search address these issues, we created the Linking File System results using algorithms like PageRank [32]. In contrast, (LiFS), a file system design in which files may have both search tools for traditional file systems do not have infor- arbitrary user- or application-specified attributes, and at- mation about inter-file relationships other than the hierar- tributed links between files. In order to assure performance chical directory structure and ownership of files. when accessing links and attributes, the system is designed The reason for this dearth of relationships between files to store metadata in non-volatile memory. This paper dis- is that the management of file system metadata is expen- cusses several use cases that take advantage of this ap- sive in traditional system architectures where volatile main proach and describes the user-space prototype we devel- memory must be backed by much slower disk-based sec- oped to test the concepts presented. ondary storage. The advent of new non-volatile main mem- ory technologies such as MRAM [8] promises to reduce the cost of accessing file systems in an arbitrary or fine- 1. Introduction grain fashion with the development of novel file system de- signs [16, 27, 49]. Traditional file systems provide a weak and inadequate The promise of non-volatile main memory has prompted structure for meaningful representations of file interrela- designers to use such memory for the persistent storage of tionships and other context-providing metadata. Solving file system metadata. Although memory-resident metadata this problem has become increasingly urgent as users are trivially speeds up certain common file system operations faced with a growing amount of personal data such as (such as stat), a more remarkable benefit is the ability to email, chat communications, digital photography, and on- employ far richer metadata structures. File systems design- line music. Moreover, computational scientists continue ers will no longer be constrained by disk access speed, but to bemoan the lack of mechanisms for cross-archival ac- instead can focus on the needs of the user. Frequent ac- cess, retrofitting of metadata, and identifying groupings of cess, context-aware searches, and other operations that are related results needed for data mining [38, 39]. A content- prohibitively expensive under traditional, disk-oriented file neutral, file system-based mechanism for storage of arbi- system architectures will become feasible. trary metadata provides one solution to this weakness. As The Linking File System’s ability to assign attributes to an application of this principle, we introduce the Linking and establish attributed links between files in a standard- File System (LiFS). It extends file system metadata to in- ized fashion forms a powerful infrastructure capable of sup- 101 porting a variety of different and extremely useful user, ap- linkingfs. plication, and system operations. Attributed files directly pdf dependency: support enhanced file system searches. Attributed links source will support a number of recent efforts to extend hierar- chical directory structures with more user-friendly and per- hierarchy:main linkingfs. sonalized file organizations [18, 28, 31, 35, 43]. Weighted tex mmst05- hierarchy:main links between files can also be used to record access pat- linkingfs terns that are useful for pre-fetching, hoarding, indexing, dependency:included and search result ranking. Indeed, these links provide an abstract model for file interrelationships previously un- hierarchy:main available at a file system level. ieee.cls 2. The Design of LiFS cvs hierarchy:main hierarchy:main The key features of LiFS are links between files and at- hierarchy:main tributes on both files and links. To ensure the performance templates and reliability of LiFS, the design relies on both the non- volatility and low latency of MRAM. At the most basic fast02- level, a search within the file system traverses a series of miller links across a graph of metadata. An in-memory structure is crucial for this operation; random seeks on disk to in- odes, even with some caching, would be prohibitively slow. Figure 1. Example use of links with attributes: The low latency of MRAM will allow metadata operations organizing files into a directory-like hierarchy and searches to be performed almost instantaneously. called “main” and keeping track of depen- dencies between files. 2.1. Links of each key and its corresponding value is also currently Each link in LiFS has a source file, a target file, and a unconstrained. We anticipate putting an efficiency ceiling non-empty set of attributes consisting of key-value pairs. on this size into the final implementation; excessively long LiFS links differ from POSIX links in that LiFS links rep- key and value strings might affect the ability to deliver high resent a relationship between files instead of simply a refer- performance. ence to a file. The attributes of the links express the nature Both the key and value members of an attribute can con- of the relationship. tain arbitrary data, including binary data. This allows appli- Any file can potentially contain a link to any other file. cations to have rich metadata such as thumbnails, preview As a consequence, every file is also a directory and the dis- video clips, and cached printer spool files without the over- tinction between files and directories is eliminated. The tra- head of special encoding. Sharing of metadata via file and ditional notion of containment of a file within a directory is link attributes provides a powerful infrastructure for appli- simply one relationship among many that can be expressed cation integration. with links. The main benefit of attributes is that they enable users, The key benefit of links is that they provide native sup- applications, and the system itself to annotate files and port for a variety of relationships between files that are cur- links. This allows for fast and effective file searching, cat- rently supported in an ad hoc manner by individual appli- egorizing, partitioning, and manipulation, and provides in- cations and the operating system. In addition to contain- frastructure for other features that may not have been con- ment, links can express a variety of other useful relation- sider by the file system designer. It also provides a far ships such as included-in, referenced-by, dependent-upon, richer context in which files can include information about created-by, opened-by, and others. Links also allow for dy- provenance, intended use, type, contents, creator, modifi- namically customizable views of the file system based on cation history, version, and other information that a user, the type of link followed. application, or system may want to keep. We also allow attributes to be executable. A special case 2.2. Attributes of executable file attributes are file triggers. A file trigger on a file specifies a pattern/action pair. A pattern specifies In our initial design both files and links can carry a num- the file system operation (such as a read or write) on the ber of attributes limited only by available memory. The size file with which the executable attribute is associated. An 102 action specifies code that is executed whenever the asso- cites the target. This allows finding documents by specify- ciated operation is invoked on the file. File triggers are a ing “citation paths.” powerful mechanism that simplifies the implementation of Nonetheless, in order for users to properly identify files a wide variety of file system services such as versioning, that they may wish to open, there must be a traversal of mirroring, and others (as discussed in Section 3.5). File identifiable links beginning with a file system entry point to triggers raise a rich set of interesting security and language the target file, akin to root, or a path relative to the current design issues that we are actively investigating. working directory. Unlike conventional file systems, there need not be the same root directory for all users; in fact, a 2.3. Interface user may be able to choose between one of many roots. LiFS supports an enhanced version of the POSIX inter- 2.3.3. Link Accesses, Updates and Deletions In LiFS, face. Here, we present the key examples of the linking API. we introduce API calls to retrieve a single link, perform up- dates to the link, and delete a link. Just as users must open 2.3.1. Link Creation We introduce a new system call, a single file in conventional systems, there are cases where rellink, to create new (relational) links.
Recommended publications
  • NTFS • Windows Reinstallation – Bypass ACL • Administrators Privilege – Bypass Ownership
    Windows Encrypting File System Motivation • Laptops are very integrated in enterprises… • Stolen/lost computers loaded with confidential/business data • Data Privacy Issues • Offline Access – Bypass NTFS • Windows reinstallation – Bypass ACL • Administrators privilege – Bypass Ownership www.winitor.com 01 March 2010 Windows Encrypting File System Mechanism • Principle • A random - unique - symmetric key encrypts the data • An asymmetric key encrypts the symmetric key used to encrypt the data • Combination of two algorithms • Use their strengths • Minimize their weaknesses • Results • Increased performance • Increased security Asymetric Symetric Data www.winitor.com 01 March 2010 Windows Encrypting File System Characteristics • Confortable • Applying encryption is just a matter of assigning a file attribute www.winitor.com 01 March 2010 Windows Encrypting File System Characteristics • Transparent • Integrated into the operating system • Transparent to (valid) users/applications Application Win32 Crypto Engine NTFS EFS &.[ßl}d.,*.c§4 $5%2=h#<.. www.winitor.com 01 March 2010 Windows Encrypting File System Characteristics • Flexible • Supported at different scopes • File, Directory, Drive (Vista?) • Files can be shared between any number of users • Files can be stored anywhere • local, remote, WebDav • Files can be offline • Secure • Encryption and Decryption occur in kernel mode • Keys are never paged • Usage of standardized cryptography services www.winitor.com 01 March 2010 Windows Encrypting File System Availibility • At the GUI, the availibility
    [Show full text]
  • Active @ UNDELETE Users Guide | TOC | 2
    Active @ UNDELETE Users Guide | TOC | 2 Contents Legal Statement..................................................................................................4 Active@ UNDELETE Overview............................................................................. 5 Getting Started with Active@ UNDELETE........................................................... 6 Active@ UNDELETE Views And Windows......................................................................................6 Recovery Explorer View.................................................................................................... 7 Logical Drive Scan Result View.......................................................................................... 7 Physical Device Scan View................................................................................................ 8 Search Results View........................................................................................................10 Application Log...............................................................................................................11 Welcome View................................................................................................................11 Using Active@ UNDELETE Overview................................................................. 13 Recover deleted Files and Folders.............................................................................................. 14 Scan a Volume (Logical Drive) for deleted files..................................................................15
    [Show full text]
  • File Manager Manual
    FileManager Operations Guide for Unisys MCP Systems Release 9.069W November 2017 Copyright This document is protected by Federal Copyright Law. It may not be reproduced, transcribed, copied, or duplicated by any means to or from any media, magnetic or otherwise without the express written permission of DYNAMIC SOLUTIONS INTERNATIONAL, INC. It is believed that the information contained in this manual is accurate and reliable, and much care has been taken in its preparation. However, no responsibility, financial or otherwise, can be accepted for any consequence arising out of the use of this material. THERE ARE NO WARRANTIES WHICH EXTEND BEYOND THE PROGRAM SPECIFICATION. Correspondence regarding this document should be addressed to: Dynamic Solutions International, Inc. Product Development Group 373 Inverness Parkway Suite 110, Englewood, Colorado 80112 (800)641-5215 or (303)754-2000 Technical Support Hot-Line (800)332-9020 E-Mail: [email protected] ii November 2017 Contents ................................................................................................................................ OVERVIEW .......................................................................................................... 1 FILEMANAGER CONSIDERATIONS................................................................... 3 FileManager File Tracking ................................................................................................ 3 File Recovery ....................................................................................................................
    [Show full text]
  • Your Performance Task Summary Explanation
    Lab Report: 11.2.5 Manage Files Your Performance Your Score: 0 of 3 (0%) Pass Status: Not Passed Elapsed Time: 6 seconds Required Score: 100% Task Summary Actions you were required to perform: In Compress the D:\Graphics folderHide Details Set the Compressed attribute Apply the changes to all folders and files In Hide the D:\Finances folder In Set Read-only on filesHide Details Set read-only on 2017report.xlsx Set read-only on 2018report.xlsx Do not set read-only for the 2019report.xlsx file Explanation In this lab, your task is to complete the following: Compress the D:\Graphics folder and all of its contents. Hide the D:\Finances folder. Make the following files Read-only: D:\Finances\2017report.xlsx D:\Finances\2018report.xlsx Complete this lab as follows: 1. Compress a folder as follows: a. From the taskbar, open File Explorer. b. Maximize the window for easier viewing. c. In the left pane, expand This PC. d. Select Data (D:). e. Right-click Graphics and select Properties. f. On the General tab, select Advanced. g. Select Compress contents to save disk space. h. Click OK. i. Click OK. j. Make sure Apply changes to this folder, subfolders and files is selected. k. Click OK. 2. Hide a folder as follows: a. Right-click Finances and select Properties. b. Select Hidden. c. Click OK. 3. Set files to Read-only as follows: a. Double-click Finances to view its contents. b. Right-click 2017report.xlsx and select Properties. c. Select Read-only. d. Click OK. e.
    [Show full text]
  • Z/OS Distributed File Service Zseries File System Implementation Z/OS V1R13
    Front cover z/OS Distributed File Service zSeries File System Implementation z/OS V1R13 Defining and installing a zSeries file system Performing backup and recovery, sysplex sharing Migrating from HFS to zFS Paul Rogers Robert Hering ibm.com/redbooks International Technical Support Organization z/OS Distributed File Service zSeries File System Implementation z/OS V1R13 October 2012 SG24-6580-05 Note: Before using this information and the product it supports, read the information in “Notices” on page xiii. Sixth Edition (October 2012) This edition applies to version 1 release 13 modification 0 of IBM z/OS (product number 5694-A01) and to all subsequent releases and modifications until otherwise indicated in new editions. © Copyright International Business Machines Corporation 2010, 2012. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . xiii Trademarks . xiv Preface . .xv The team who wrote this book . .xv Now you can become a published author, too! . xvi Comments welcome. xvi Stay connected to IBM Redbooks . xvi Chapter 1. zFS file systems . 1 1.1 zSeries File System introduction. 2 1.2 Application programming interfaces . 2 1.3 zFS physical file system . 3 1.4 zFS colony address space . 4 1.5 zFS supports z/OS UNIX ACLs. 4 1.6 zFS file system aggregates. 5 1.6.1 Compatibility mode aggregates. 5 1.6.2 Multifile system aggregates. 6 1.7 Metadata cache. 7 1.8 zFS file system clones . 7 1.8.1 Backup file system . 8 1.9 zFS log files.
    [Show full text]
  • Introduction to PC Operating Systems
    Introduction to PC Operating Systems Operating System Concepts 8th Edition Written by: Abraham Silberschatz, Peter Baer Galvin and Greg Gagne John Wiley & Sons, Inc. ISBN: 978-0-470-12872-5 Chapter 2 Operating-System Structure The design of a new operating system is a major task. It is important that the goals of the system be well defined before the design begins. These goals for the basis for choices among various algorithms and strategies. What can be focused on in designing an operating system • Services that the system provides • The interface that it makes available to users and programmers • Its components and their interconnections Operating-System Services The operating system provides: • An environment for the execution of programs • Certain services to programs and to the users of those programs. Note: (services can differ from one operating system to another) A view of operating system services user and other system programs GUI batch command line user interfaces system calls program I/O file Resource communication accounting execution operations systems allocation error protection detection services and security operating system hardware Operating-System Services Almost all operating systems have a user interface. Types of user interfaces: 1. Command Line Interface (CLI) – method where user enter text commands 2. Batch Interface – commands and directives that controls those commands are within a file and the files are executed 3. Graphical User Interface – works in a windows system using a pointing device to direct I/O, using menus and icons and a keyboard to enter text. Operating-System Services Services Program Execution – the system must be able to load a program into memory and run that program.
    [Show full text]
  • Chapter 15: File System Internals
    Chapter 15: File System Internals Operating System Concepts – 10th dition Silberschatz, Galvin and Gagne ©2018 Chapter 15: File System Internals File Systems File-System Mounting Partitions and Mounting File Sharing Virtual File Systems Remote File Systems Consistency Semantics NFS Operating System Concepts – 10th dition 1!"2 Silberschatz, Galvin and Gagne ©2018 Objectives Delve into the details of file systems and their implementation Explore "ooting and file sharing Describe remote file systems, using NFS as an example Operating System Concepts – 10th dition 1!"# Silberschatz, Galvin and Gagne ©2018 File System $eneral-purpose computers can have multiple storage devices Devices can "e sliced into partitions, %hich hold volumes Volumes can span multiple partitions Each volume usually formatted into a file system # of file systems varies, typically dozens available to choose from Typical storage device organization) Operating System Concepts – 10th dition 1!"$ Silberschatz, Galvin and Gagne ©2018 Example Mount Points and File Systems - Solaris Operating System Concepts – 10th dition 1!"! Silberschatz, Galvin and Gagne ©2018 Partitions and Mounting Partition can be a volume containing a file system +* cooked-) or ra& – just a sequence of "loc,s %ith no file system Boot bloc, can point to boot volume or "oot loader set of "loc,s that contain enough code to ,now how to load the ,ernel from the file system 3r a boot management program for multi-os booting 'oot partition contains the 3S, other partitions can hold other
    [Show full text]
  • Using Virtual Directories Prashanth Mohan, Raghuraman, Venkateswaran S and Dr
    1 Semantic File Retrieval in File Systems using Virtual Directories Prashanth Mohan, Raghuraman, Venkateswaran S and Dr. Arul Siromoney {prashmohan, raaghum2222, wenkat.s}@gmail.com and [email protected] Abstract— Hard Disk capacity is no longer a problem. How- ‘/home/user/docs/univ/project’ directory lists the ever, increasing disk capacity has brought with it a new problem, file. The ‘Database File System’ [2], encounters this prob- the problem of locating files. Retrieving a document from a lem by listing recursively all the files within each directory. myriad of files and directories is no easy task. Industry solutions are being created to address this short coming. Thereby a funneling of the files is done by moving through We propose to create an extendable UNIX based File System sub-directories. which will integrate searching as a basic function of the file The objective of our project (henceforth reffered to as system. The File System will provide Virtual Directories which SemFS) is to give the user the choice between a traditional list the results of a query. The contents of the Virtual Directory heirarchial mode of access and a query based mechanism is formed at runtime. Although, the Virtual Directory is used mainly to facilitate the searching of file, It can also be used by which will be presented using virtual directories [1], [5]. These plugins to interpret other queries. virtual directories do not exist on the disk as separate files but will be created in memory at runtime, as per the directory Index Terms— Semantic File System, Virtual Directory, Meta Data name.
    [Show full text]
  • Understanding How Filr Works
    Filr 4.3 Understanding How Filr Works July 2021 Legal Notice Copyright © 2021 Micro Focus. All Rights Reserved. The only warranties for products and services of Micro Focus and its affiliates and licensors (“Micro Focus”) are as may be set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. Micro Focus shall not be liable for technical or editorial errors or omissions contained herein. The information contained herein is subject to change without notice. 2 Contents About This Guide 7 1 Filr Overview 9 What Is Micro Focus Filr? . 9 Filr Storage Overview . .11 Filr Features and Functionality. .12 Why Appliances?. .14 2 Setting Up Filr 15 Getting and Preparing Filr Software . .15 Hyper-V. .15 VMware . .16 Xen and Citrix Xen . .17 Appliance Storage Illustrated . .18 Deploying Filr Appliances . .19 Small Filr Deployment Overview . .20 Expandable Filr Deployment Overview . .21 Initial Configuration of Filr Appliances . .23 Small Filr Deployment Configuration . .23 Large Filr Deployment Configuration . .24 Filr Clustering (Expanding a Deployment). .25 Integrating Filr Inside Your Network Infrastructure . .27 A Small Filr Deployment . .27 A Large Filr Deployment . .29 Ports Used in Filr Deployments . .30 There Are No Changes to Existing File Servers or Directory Services . .31 3 Filr Administration 33 Filr Administrative Users. .33 vaadmin . .33 admin (the Built-in Port 8443 Administrator) . .34 “Direct” Port 8443 Administrators . .35 root . .35 Ganglia Appliance Monitoring . .35 Updating Appliances. .36 Certificate Management in Filr . .37 Filr Site Branding . .38 4 Access Roles and Rights in Filr 39 Filr Authentication .
    [Show full text]
  • Review NTFS Basics
    Australian Journal of Basic and Applied Sciences, 6(7): 325-338, 2012 ISSN 1991-8178 Review NTFS Basics Behzad Mahjour Shafiei, Farshid Iranmanesh, Fariborz Iranmanesh Bardsir Branch, Islamic Azad University, Bardsir, Iran Abstract: The Windows NT file system (NTFS) provides a combination of performance, reliability, and compatibility not found in the FAT file system. It is designed to quickly perform standard file operations such as read, write, and search - and even advanced operations such as file-system recovery - on very large hard disks. Key words: Format, NTFS, Volume, Fat, Partition INTRODUCTION Formatting a volume with the NTFS file system results in the creation of several system files and the Master File Table (MFT), which contains information about all the files and folders on the NTFS volume. The first information on an NTFS volume is the Partition Boot Sector, which starts at sector 0 and can be up to 16 sectors long. The first file on an NTFS volume is the Master File Table (MFT). The following figure illustrates the layout of an NTFS volume when formatting has finished. Fig. 5-1: Formatted NTFS Volume. This chapter covers information about NTFS. Topics covered are listed below: NTFS Partition Boot Sector NTFS Master File Table (MFT) NTFS File Types NTFS File Attributes NTFS System Files NTFS Multiple Data Streams NTFS Compressed Files NTFS & EFS Encrypted Files . Using EFS . EFS Internals . $EFS Attribute . Issues with EFS NTFS Sparse Files NTFS Data Integrity and Recoverability The NTFS file system includes security features required for file servers and high-end personal computers in a corporate environment.
    [Show full text]
  • [MS-SMB]: Server Message Block (SMB) Protocol
    [MS-SMB]: Server Message Block (SMB) Protocol Intellectual Property Rights Notice for Open Specifications Documentation . Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages, standards as well as overviews of the interaction among each of these technologies. Copyrights. This documentation is covered by Microsoft copyrights. Regardless of any other terms that are contained in the terms of use for the Microsoft website that hosts this documentation, you may make copies of it in order to develop implementations of the technologies described in the Open Specifications and may distribute portions of it in your implementations using these technologies or your documentation as necessary to properly document the implementation. You may also distribute in your implementation, with or without modification, any schema, IDL’s, or code samples that are included in the documentation. This permission also applies to any documents that are referenced in the Open Specifications. No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation. Patents. Microsoft has patents that may cover your implementations of the technologies described in the Open Specifications. Neither this notice nor Microsoft's delivery of the documentation grants any licenses under those or any other Microsoft patents. However, a given Open Specification may be covered by Microsoft Open Specification Promise or the Community Promise. If you would prefer a written license, or if the technologies described in the Open Specifications are not covered by the Open Specifications Promise or Community Promise, as applicable, patent licenses are available by contacting [email protected]. Trademarks. The names of companies and products contained in this documentation may be covered by trademarks or similar intellectual property rights.
    [Show full text]
  • Azure RTOS Filex User Guide
    Azure RTOS FileX User Guide Published: February 2020 For the latest information, please see azure.com/rtos This document is provided “as-is.” Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2020 Microsoft. All rights reserved. Microsoft Azure RTOS, Azure RTOS FileX, Azure RTOS GUIX, Azure RTOS GUIX Studio, Azure RTOS NetX, Azure RTOS NetX Duo, Azure RTOS ThreadX, Azure RTOS TraceX, Azure RTOS Trace, event-chaining, picokernel, and preemption-threshold are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners. Safety Certifications IEC 61508 up to SIL 4 IEC 62304 up to SW safety Class C ISO 26262 ASIL D EN 50128 SW-SIL 4 UL/IEC 60730, UL/IEC 60335, UL 1998 MISRA-C:2004 Compliant MISRA C:2012 Compliant Part Number: 000-1001 Revision 6.0 Contents About This Guide 7 • Organization 7 • Guide Conventions 8 • FileX Data Types 9 • Customer Support Center 10 Chapter 1: Introduction to FileX 13 • FileX Unique Features 14 • Safety Certifications 15 • Powerful Services of FileX 17 • Easy-to-use API 18 • exFAT Support 18 • Fault Tolerant Support 19 • Callback Functions 21 • Easy Integration 21 Chapter 2: Installation and Use of FileX 23 • Host Considerations 24 • Target Considerations 25 • Product Distribution 25 • FileX Installation
    [Show full text]