Filesystem Management and Backups

Slides:



Advertisements
Similar presentations
Chapter 12: File System Implementation
Advertisements

Linux+ Guide to Linux Certification, Second Edition
Chapter 9 Part III Linux File System Administration
Basic Unix system administration
Linux Installation LINUX INSTALLATION. Download LINUX Linux Installation To install Red Hat, you will need to download the ISO images (CD Images) of the.
A Guide to Unix Using Linux Fourth Edition
Introduction to Unix (CA263) File System
Exploring the UNIX File System and File Security
Lecture 10: The FAT, VFAT, and NTFS Filesystems 6/17/2003 CSCE 590 Summer 2003.
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
Guide To UNIX Using Linux Third Edition
Linux Install. Resources Guide to Linux Installation and Administration, Nicholas Wells, Course Technology, 2000.
Linux+ Guide to Linux Certification Chapter 12 Compression, System Backup, and Software Installation.
Laksh mi.  fdisk is an interactive utility to manipulate disk partitions.  Use fdisk –l to review the disks and partitions on the system.  Use fdisk.
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
Guide to Linux Installation and Administration, 2e1 Chapter 13 Backing Up System Data.
Backup & Restore The purpose of backup is to protect data from loss. The purpose of restore is to recover data that is temporarily unavailable due to some.
Chapter 4: Operating Systems and File Management 1 Operating Systems and File Management Chapter 4.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
1 Objectives Discuss the Windows Printer Model and how it is implemented in Windows Server 2008 Install the Print Services components of Windows Server.
Chapter 11 Compression, System Backup, and Software Installation.
Operating Systems and File Management Chapter 4. 4 Chapter 4: Operating Systems and File Management2 Chapter Contents  Section A: Operating System Basics.
Guide To UNIX Using Linux Fourth Edition
Chapter Sixteen Data Recovery and Fault Tolerance.
Unix File System Internal Structures By C. Shing ITEC Dept Radford University.
Linux Installation and Administration – Lesson 5 Tutor: George Papamarkos Topic: Devices in Linux.
Manage Directories and Files in Linux
Device and Filesystem Management CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University.
1 Network File Sharing. 2 Module - Network File Sharing ♦ Overview This module focuses on configuring Network File System (NFS) for servers and clients.
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
Module 12: Managing Disaster Recovery. Overview Preparing for Disaster Recovery Backing Up Data Scheduling Backup Jobs Restoring Data Configuring Shadow.
Day 8 Exporting Displays Cronjobs Mount. Chapter 5 Chapter 5 talks about X windows. –You should read the chapter. –However, you do not need to pay particular.
Chapter 6: Linux Filesystem Administration
Chapter Two Exploring the UNIX File System and File Security.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
1 Objectives Manage and install new file systems.
Device and Filesystem Management CSCI N321 – System and Network Administration Copyright © 2000, 2010 by Scott Orr and the Trustees of Indiana University.
Backups CSCI N321 – System and Network Administration Copyright © 2000, 2011 by Scott Orr and the Trustees of Indiana University.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 11: File System Implementation.
Chapter 11: File System Implementation Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 Implementation.
Cosc 4750 Backups Why Backup? In case of failure In case of loss of files –User and system files Because you will regret it, if you don’t. –DUMB = Disasters.
Linux+ Guide to Linux Certification Chapter Six Linux Filesystem Administration.
System Administration – Part 2. Devices in UNIX are files: A device can be accessed with different file names All device files are stored in /dev or its.
Chapter 11 – File-System Implementation (Pgs )
Managing Files CSCI N321 – System and Network Administration Copyright © 2000, 2007 by the Trustees of Indiana University except as noted.
Microsoft Windows XP Professional MCSE Exam
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
Linux Filesystem WeeSan Lee. Roadmap Disk Partitions The Filesystem Filesystem Mouting & Umounting File Tree File Type File Permission.
Chapter 10: File-System Interface Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 File-System Interface.
THE FILE SYSTEM Files long-term storage RAM short-term storage Programs, data, and text are all stored in files, which is stored on.
File system In computing, a file system is a method of storing and organizing computer files and the data they contain to make it easy to find and access.
2007/5/ Digital Forensic Research Workshop (DFRWS) New Orleans, LA 1 Data Hiding in Journaling File Systems Knut Eckstein, Marko Jahnke 報告人:陳晉煒.
Filesystem Management and Backups. 2 Section Overview Devices and Files Filesystem Management Network Filesystems Backups.
Copyright © Genetic Computer School 2008 Computer Systems Architecture SA 8- 0 Lesson 8 Secondary Management.
Digital Forensics Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #8 File Systems September 22, 2008.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
Memory management. Linux Memory Management Total memory available for processes = real memory + paging space - 1MB. First megabyte of real memory is used.
Linux Filesystem Administration
File-System Management
Chapter 8 Adding a Disk.
UBUNTU INSTALLATION
Chapter 12: File System Implementation
Chapter 6 File Systems CSNB113 SYSTEM ADMINISTRATION
Exploring the UNIX File System and File Security
Operating System Module 1: Linux Installation
IS3440 Linux Security Unit 4 Securing the Linux Filesystem
Lecture 43 Syed Mansoor Sarwar
Overview Continuation from Monday (File system implementation)
Presentation transcript:

Filesystem Management and Backups CSCI N321 – System and Network Administration Copyright © 2000, 2003 by Scott Orr and the Trustees of Indiana University

Section Overview Devices and Files Filesystem Management Network Filesystems Backups

References Textbook Lectures Linux System Administration Chapters 8, 16 & 17 CQU 85321 System Administration Course Textbook Chapter 11 Chapter 12 Lectures 2002 #10 2002 #11

Kinds of Devices Physical Devices Logical Devices Actual hardware Examples Hard Drives, CDROMs, Floppy Network cards and modems Logical Devices Pseudo devices Virtual Terminals Network Ports

Device Drivers and Files Software to control hardware Compiled into the kernel Dynamically loaded module Device files Located in /dev Provide application access to device Driver must also be present to use

Making Device Files mknod filename type major minor filename: Name of the device file Type “c” – Character Device “b” – Block Device Major Number: Type of device driver Minor Number: Instance (which one) /dev/MAKEDEV: Creation program

Disk Geometry Tracks Sectors Read/write Heads Platters Cylinders Partitions

UNIX Filesystems Defines how data is stored on drives Multiple types of filesystems supported Boot Block (1st block) Stores the bootstrap loader program Superblock (2nd block) Copies scattered throughout the partition Stores information about the partition Partition Size Type of File system Block Size Size & Location of inode tables Free Block list

Filesystems and Partitions / (root) bin home etc usr var scott alice bob bin sbin local lib bin man lib share src

Why Partition? Not enough space on one disk Separation of data Backups Read-only areas Spool areas and free space OS upgrades Backups Performance

Managing Filesystems Creating a new filesystem Similar to DOS format mkfs – creates a filesystem (many aliases) mount – mount a partition Mount point must exist (directory) /etc/fstab umount – Unmount a partition fsck Check/fix filesystem errors Journaling filesystems Quotas?

Network Filesystems Filesystems shared via NFS Client-side: similar to local mount Server – exports shared filesystems mountd and nfsd /etc/exports and exportfs Access permissions should be selective showmount -e Samba – Microsoft filesystem sharing

Why Backups? Hardware failures Accidental deletions or modification Security incidents Upgrades and Migrations

Backup Plan Characteristics Ease of use Automation of backups Selective file/directory restores Time scheduling Backup verification Offsite copies Portability

Backup Media Floppy Disks CD-R and CD-RW Drives Removal Hard drives and Zipdrives Tape 4mm DAT 8mm DLT

Backup tools dump and restore tar dd – Duplicate “raw” devices filesystem backups Support for incremental backups tar File by file backups (archives) Easy to recover selected files dd – Duplicate “raw” devices mt – Control tape devices Compression tools compress gzip

Backup Strategies Full Backups – Backup entire system Partial Backups – Selective backup Incremental – Backup modified files Basic plan Full backup on Sundays Incremental daily