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

Slides:



Advertisements
Similar presentations
Hard Disks Low-level format- organizes both sides of each platter into tracks and sectors to define where items will be stored on the disk. Partitioning:
Advertisements

Storage Management Lecture 7.
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.
“Redundant Array of Inexpensive Disks”. CONTENTS Storage devices. Optical drives. Floppy disk. Hard disk. Components of Hard disks. RAID technology. Levels.
File Management Lecture 3.
Allocation Methods - Contiguous
Introduction to Unix (CA263) File System
Guide To UNIX Using Linux Third Edition
Hard Drive.
Session 3 Windows Platform Dina Alkhoudari. Learning Objectives Understanding Server Storage Technologies Direct Attached Storage DAS Network-Attached.
12.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts with Java – 8 th Edition Chapter 12: Mass-Storage Systems.
Configuring Disk Quotas Linux System Administration To implement disk quotas, use the following steps: Enable quotas per file system by modifying /etc/fstab.
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.
Chapter Sixteen Data Recovery and Fault Tolerance.
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.
Chapter 2 Chapter 2: Planning for Server Hardware.
CS 6560 Operating System Design Lecture 13 Finish File Systems Block I/O Layer.
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.
Chapter 12: Mass-Storage Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 12: Mass-Storage Systems Overview of Mass.
Module 9: Configuring Storage
Linux+ Guide to Linux Certification, Third Edition Chapter 6 Advanced Installation.
Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze Unit OS6: Device Management 6.1. Principles of I/O.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
11 INSTALLING AND MANAGING STORAGE DEVICES IN WINDOWS XP Chapter 8.
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.
File Systems— NTFS versus Ext2FS Yingfei Wang Course: Operating Systems Instructor: Prof. Anvari.
Sys Admin Course Physical Storage and File Systems Fourie Joubert.
Chapter 2 Chapter 2: Planning for Server Hardware.
Windows Server 2003 硬碟管理與磁碟機陣列 林寶森
Device and Filesystem Management CSCI N321 – System and Network Administration Copyright © 2000, 2010 by Scott Orr and the Trustees of Indiana University.
Chapter 5 File Management File System Implementation.
Page 1 File Systems and Disk Management Lecture 5 Hassan Shuja 10/19/2004.
CSC414 “Introduction to UNIX/ Linux” Lecture 3. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
Linux+ Guide to Linux Certification Chapter Six Linux Filesystem Administration.
Lecture 18 Windows – NT File System (NTFS)
Microsoft Windows XP Professional MCSE Exam
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.
1 CEG 2400 Fall 2012 Network Servers. 2 Network Servers Critical Network servers – Contain redundant components Power supplies Fans Memory CPU Hard Drives.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Linux Filesystem Administration
Chapter 8 Adding a Disk.
Filesystem Management and Backups
Chapter 11: File System Implementation
Multiple Platters.
Chapter 12: File System Implementation
Chapter 12: Mass-Storage Structure
Operating System I/O System Monday, August 11, 2008.
Operating System Module 1: Linux Installation
Selecting a Disk-Scheduling Algorithm
Hard disk basics Prof:R.CHARLES SILVESTER JOE Departmet of Electronics St.Joseph’s College,Trichy.
Storage Management Lecture 7.
Presentation transcript:

Device and Filesystem Management CSCI N321 – System and Network Administration Copyright © 2000, 2012 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

Common Disk Types SCSI Many cable types SATA (IDE Family) SAS Fibre Channel High Bandwidth Solid State Devices (SSD) Universal Serial Bus (USB) Removable Media

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

SuperBlockGroupDescriptors Ext2/3/4 File Systems BootBlock Block Group DataBitmapInodeBitmapInodeTablesDataBlocks

NTFS File System BootBlock Master File Table (MFT) SystemFiles File Area StandardInformationFile/DirNameSecurityDescriptor Data or Index Source:

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 Level 6 – Same as level 5 but with 2 parity disks

RAID 0 Usable Storage? All Performance? Read and Write Improvement No Fault Tolerance Source:

RAID 1 Usable Storage? ½ available Performance Improvement Read Fault Tolerant Source:

Raid 10 Storage Usage? ½ Available Performance Read and Write Fault Tolerant RAID 0+1 Source:

RAID 5 Need at least 3 Disks Usable Storage N – 1 (Disks) Performance Improvement Read Hot Spare(s) Source:

RAID 6 Need 4+ Disks Usable Storage: N -2 (Disks) Performance Improvement: Read Fault Tolerant Hot spare(s) Source:

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 CIFS – Microsoft filesystem sharing Samba – CIFS support for Linux/MAC

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