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

Slides:



Advertisements
Similar presentations
Storage Management Lecture 7.
Advertisements

Chapter 12: File System Implementation
Chapter 9 Part III Linux File System Administration
File Systems and Disk Management
Linux Installation LINUX INSTALLATION. Download LINUX Linux Installation To install Red Hat, you will need to download the ISO images (CD Images) of the.
Allocation Methods - Contiguous
1 itec 400 Unix File Systems George Vaughan Franklin University.
Introduction to Unix (CA263) File System
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 8: Troubleshooting Storage Devices and Display Devices.
11/13/01CS-550 Presentation - Overview of Microsoft disk operating system. 1 An Overview of Microsoft Disk Operating System.
Computer Forensics Principles and Practices by Volonino, Anzaldua, and Godwin Chapter 6: Operating Systems and Data Transmission Basics for Digital Investigations.
Guide to Linux Installation and Administration, 2e1 Chapter 12 Printing in Linux.
1 I/O Management in Representative Operating Systems.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Configuring Disk Quotas Linux System Administration To implement disk quotas, use the following steps: Enable quotas per file system by modifying /etc/fstab.
Windows Server MIS 424 Professor Sandvig. Overview Role of servers Performance Requirements Server Hardware Software Windows Server IIS.
1 Input/Output. 2 Principles of I/O Hardware Some typical device, network, and data base rates.
Linux+ Guide to Linux Certification, Third Edition
CompTIA Linux+ Certification
Managing Storage Lesson 3.
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
Storage and NT File System INFO333 – Lecture Mariusz Nowostawski Noria Foukia.
Chapter 6 Advanced Installation. Objectives  Describe the types and structure of SCSI devices  Explain the different levels of RAID and types of RAID.
GeoVision Solutions Storage Management & Backup. ๏ RAID - Redundant Array of Independent (or Inexpensive) Disks ๏ Combines multiple disk drives into a.
Linux+ Guide to Linux Certification Chapter Seven Advanced Installation.
IT Essentials: PC Hardware and Software 1 Chapter 7 Windows NT/2000/XP Operating Systems.
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.
Device and Filesystem Management CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University.
CS 6560 Operating System Design Lecture 13 Finish File Systems Block I/O Layer.
N-Tier Client/Server Architectures Chapter 4 Server - RAID Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept RAID – Redundant Array.
Disk Access. DISK STRUCTURE Sector: Smallest unit of data transfer from/to disk; 512B 2/4/8 adjacent sectors transferred together: Blocks Read/write heads.
Guide to Linux Installation and Administration, 2e 1 Chapter 9 Preparing for Emergencies.
Chapter 2 Installation Overview. Planning the Installation Questions: –Size of partitions –Where to put partitions –Which software packages to install.
Operating Systems (CS 340 D) Dr. Abeer Mahmoud Princess Nora University Faculty of Computer & Information Systems Computer science Department.
Module 9: Configuring Storage
Linux+ Guide to Linux Certification, Third Edition Chapter 6 Advanced Installation.
CSC 322 Operating Systems Concepts Lecture - 25: by Ahmed Mumtaz Mustehsan Special Thanks To: Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
1 Lecture 20: I/O n I/O hardware n I/O structure n communication with controllers n device interrupts n device drivers n streams.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
Chapter 6: Linux Filesystem Administration
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
Windows Server 2003 硬碟管理與磁碟機陣列 林寶森
Chapter 5 File Management File System Implementation.
Page 1 File Systems and Disk Management Lecture 5 Hassan Shuja 10/19/2004.
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 )
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
Microsoft Windows XP Professional MCSE Exam
Managing Devices Lesson 5. Objectives Objective Domain Matrix Technology SkillObjective Domain DescriptionObjective Domain Number Connecting Plug-and-Play.
CSC414 “Introduction to UNIX/ Linux” Lecture 2. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
WINDOWS SERVER 2003 Genetic Computer School Lesson 12 Fault Tolerance.
Filesystem Management and Backups. 2 Section Overview Devices and Files Filesystem Management Network Filesystems Backups.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
File systems – Unix based Mostly…. Before We Start… What can you conclude from this (recent) lab output? run: Loop iteration number 0 Trying to lock lockA.
Linux Filesystem Administration
Chapter 8 Adding a Disk.
Configuring Disk Quotas
Filesystem Management and Backups
Chapter 11: File System Implementation
Multiple Platters.
Chapter 12: File System Implementation
I/O System Chapter 5 Designed by .VAS.
I/O Resource Management: Software
Operating System I/O System Monday, August 11, 2008.
Operating System Module 1: Linux Installation
Selecting a Disk-Scheduling Algorithm
Storage Management Lecture 7.
Configuring Disk Quotas
Presentation transcript:

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

Section Overview Devices and Files Drives and Partitions Filesystem Management Network Filesystems

References CQU System Administration Course Textbook   Chapter 11 Chapter 11 Lectures   2002 # #10

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

Interrupt Handling User Supervisor SystemCall Interrupt Vector 0 Interrupt Vector n-1 Interrupt Vector n Interrupt Handler n Interrupt vector table Memory Trap n

Device Drivers and Files Device drivers 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 Cylinders Partitions Platters

UNIX Filesystems Defines how data is stored on drives Multiple types of filesystems supported Boot Block (1 st block) Stores the bootstrap loader program Superblock (2 nd 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) binvarusretchomescottbobalicebinsbinlocallibmanlibsrcsharebin

Ext2/Ext3 File Systems LabelPartitionPartitionPartition ZoneZoneZoneZoneZone SuperBlockInodeBitmapDataBitmapInodeBlocksDataBlocks Source: Forensic Discovery By Dan Farmer and Wietse Venema

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

Virtual File System User Process Device Driver NTFSISO9660Ext3 System call Interface VFS Buffer Cache Kernel

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?

RAID Storage Redundant Array of Independent (Inexpensive) Drives Level 0 – Data Blocks spread across 2 or more drives (striping). No fault tolerance Level 1 – Each disk copied (mirrored) to another disk Level 0+1 – Each drive with striped data is mirrored Level 5 – Data and fault tolerance (parity) striped across disks

Logical Volume Management Physical Volume 20GB 36GB 34GB/boot2GBext3 Logical Volume Group 90GB Logical Volume /home50GB /25GB Free Space 15GB

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

Printer Connections Local Parallel USB Remote/Shared Network

Printing Languages PCL (Hewlett Packard) Postscript (Adobe) PDF (Adobe) XHTML

CUPS Client/Server Application cupsd – CUPS Server cupsd.conf printers.conf classes.conf Web Administration – Port 631

Printer Configuration Printer Name Connection info Local (LPT, Serial, etc.) Network (lpd, JetDirect/Socket, HTTP) Shared (SMB) Device Driver or PPDs

Print Commands Printing lpr –P mpage –P Queue Status : lpq –P Status: lpstat –t Configuratation: lpadmin cupsenable/cupsdisable accept/reject

Windows Printer Management “Devices and Printers” Add Printer Wizard Name Connection (Local or Address/Port) Device Make and Model Printer Sharing