Redundant Array of Inexpensive/Independent Disks. RAID 0 Disk striping (best I/O performance, no redundancy!)



Similar documents
Data storage, backup and restore

Unix System Administration

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 5 Manage Backup and Recovery

Linux Software Raid. Aug Mark A. Davis

Acronis True Image 9.1 Pro/Light for Linux

Acronis True Image 9.1 Pro/Light for Windows

Acronis Backup & Recovery 10 Server for Linux. Command Line Reference

User s Guide. Acronis True Image 9.1 Server for Linux

Cisco Small Business NAS Storage

TELE 301 Lecture 7: Linux/Unix file

Computer Backup Strategies

Shared Storage Setup with System Automation

Linux Filesystem Comparisons

Adaptable System Recovery (ASR) for Linux. How to Restore Backups onto Hardware that May not be Identical to the Original System

LVM and Raid. Scott Gilliland

How To Manage Your Volume On Linux (Evms) On A Windows Box (Amd64) On A Raspberry Powerbook (Amd32) On An Ubuntu Box (Aes) On Linux

Linux System Administration

Installing Debian with SATA based RAID

File Systems Management and Examples

Chapter 6 External Memory. Dr. Mohamed H. Al-Meer

Filing Systems. Filing Systems

4-Drive-Bay Advanced Gigabit Network RAID Storage System Chassis

This is when a server versus a workstation is desirable because it has the capability to have:

Supported File Systems

WHITE PAPER PPAPER. Symantec Backup Exec Quick Recovery & Off-Host Backup Solutions. for Microsoft Exchange Server 2003 & Microsoft SQL Server

System Compatibility. Enhancements. Security. SonicWALL Security Appliance Release Notes

ENTERPRISE LINUX SYSTEM ADMINISTRATION

GL-250: Red Hat Linux Systems Administration. Course Outline. Course Length: 5 days

Deploying a File Server Lesson 2

ZFS Administration 1

CS615 - Aspects of System Administration

WHITE PAPER: ENTERPRISE SECURITY. Symantec Backup Exec Quick Recovery and Off-Host Backup Solutions

ZFS Backup Platform. ZFS Backup Platform. Senior Systems Analyst TalkTalk Group. Robert Milkowski.

Red Hat System Administration 1(RH124) is Designed for IT Professionals who are new to Linux.

Typing some stupidities in text files, databases or whatever, where does it fit? why does it fit there, and how do you access there?

Cisco Small Business NSS2000 Series Network Storage System

Data Storage Solutions

Exam: QUESTION 1 QUESTION 2 QUESTION 3 QUESTION 4

Advanced Linux System Administration on Red Hat

Encrypting Your Files. Because nobody else will And would you trust them if they did?

BackupAssist Common Usage Scenarios

CommVault Simpana Archive 8.0 Integration Guide

Cisco Small Business NSS3000 Series Network Storage System

Distributed File Systems

Striped Set, Advantages and Disadvantages of Using RAID

HP-UX System and Network Administration for Experienced UNIX System Administrators Course Summary

Oracle Linux 7: System Administration Ed 1 NEW

Symantec System Recovery 2013 User's Guide. Linux Edition

LVM2 data recovery. Milan Brož LinuxAlt 2009, Brno

How To Back Up A Computer To A Backup On A Hard Drive On A Microsoft Macbook (Or Ipad) With A Backup From A Flash Drive To A Flash Memory (Or A Flash) On A Flash (Or Macbook) On

Oracle VM Server Recovery Guide. Version 8.2

Tivoli Storage Manager Lunch and Learn Bare Metal Restore Dave Daun, IBM Advanced Technical Support

Yiwo Tech Development Co., Ltd. EaseUS Todo Backup. Reliable Backup & Recovery Solution. EaseUS Todo Backup Solution Guide. All Rights Reserved Page 1

Ultimate Guide to Oracle Storage

Acronis True Image Server 8.0 for Linux

4 Backing Up and Restoring System Software

Data Storage and Backup. Sanjay Goel School of Business University at Albany, SUNY

Cisco Small Business NSS3000 Series Network Storage System

Symantec NetBackup for Hyper-V Administrator's Guide. Release 7.6

Total Backup Recovery Server for Linux. User s Guide

How To Use A Raid

How to Choose your Red Hat Enterprise Linux Filesystem

HARFORD COMMUNITY COLLEGE 401 Thomas Run Road Bel Air, MD Course Outline CIS INTRODUCTION TO UNIX

Veritas Volume Manager Administration on HP-UX Course Summary

Backup policies. Or - how not to get annoyed when you accidentally delete stuff. Warning - this does get a little technical

VERITAS Backup Exec 9.0 for Windows Servers

Overview of I/O Performance and RAID in an RDBMS Environment. By: Edward Whalen Performance Tuning Corporation

Administering a Microsoft SQL Server 2000 Database

Creating a Cray System Management Workstation (SMW) Bootable Backup Drive

Red Hat Certifications: Red Hat Certified System Administrator (RHCSA)

Linux System Administration on Red Hat

Abstract. Microsoft Corporation Published: August 2009

Introduction to AIX 6L System Administration Course Summary

Red Hat Linux Administration II Installation, Configuration, Software and Troubleshooting

Symantec NetBackup for Hyper-V Administrator's Guide. Release 7.5

CROSS PLATFORM AUTOMATIC FILE REPLICATION AND SERVER TO SERVER FILE SYNCHRONIZATION

MANAGING DISK STORAGE

Red Hat Enterprise Linux 3. System Administration Guide

Root-on-LVM-on-RAID HOWTO

Trends in Application Recovery. Andreas Schwegmann, HP

1. Introduction to the UNIX File System: logical vision

Acronis True Image 9.1 Server for Linux

LucidNAS Quick Start Guide

RedHat (RHEL) System Administration Course Summary

Storage and File Services Overview

Amanda The Open Source Backup & Archiving Software. Ian Turner ian@zmanda.com 11 April Copyright 2006 Zmanda, Inc. All rights reserved.

Navigating the Rescue Mode for Linux

OPTIMIZING VIRTUAL TAPE PERFORMANCE: IMPROVING EFFICIENCY WITH DISK STORAGE SYSTEMS

MICROSOFT EXCHANGE best practices BEST PRACTICES - DATA STORAGE SETUP

Disaster Recovery Checklist Disaster Recovery Plan for <System One>

PIONEER RESEARCH & DEVELOPMENT GROUP

Transcription:

1 Data storage A Simple Overview 1. HW: SCSI/IDE/SATA/SAS (SAN!) 2. HW/SW: RAID 3. SW: Logical volumes 4. SW: Journalling filesystems 5. SW/NET: Networked filesystem (NAS!) DAS-NAS-SAN 2 RAID Redundant Array of Inexpensive/Independent Disks RAID 0 Disk striping (best I/O performance, no redundancy!) RAID 1 Disk mirroring (complete redundancy) RAID 5 Disk striping with additional parity information. The parity information is split across multiple disks RAID 0+1 A combination of RAID 0 and 1 (mirror of stripes) RAID 10 A combination of RAID 1 and 0 (stripe of mirrors)

RAID cont. www.acnc.com/04_00.html en.wikipedia.org/wiki/nested_raid_levels 3 Volumes Logical Volume Managers Logical Volume Managers (LVMs) provide a higher-level view of disk storage, and gives much more flexibility in allocating storage Physical disks can be made into physical volumes by dividing them into physical partitions/ extents A volume group is a named collection of physical volumes Volume groups can be split into subunits called logical volumes A logical volume can hold a single file system, and is much more flexible than a disk partition! Logical volumes are composed of logical partitions/extents Logical partitions/extents usually map one-to-one to physical partitions/extents (in either striping or linear mode), but in case the logical volume is set up to store redundant copies of data it can map one-to-many LVM cont. hda1 hdc1 (PV) \ / diskvg (VG) / \ usrlv rootlv varlv (LV:s) ext3 reiserfs xfs (filesystems) 2

4 Filesystems Filesystems The problem journalling file systems solve is that if your host crashes, traditional file system have to run extensive checks (fsck) on the integrity of the file systems Journalling file systems keep a transaction log (a journal) of the most recent file system operations, thus allows them to be replayed and allows for much faster recovery ext3, jfs, reiserfs, XFS Networked Filesystems Unix: NFS (Network File System) Server: /etc/exports Client: /etc/fstab MSWindows: CIFS (Common Internet File System) (formerly known as SMB) Samba is (among other things) an open source implementation of CIFS, thus MSWindows clients can mount Samba shares Other possibilities include DFS, AFS, coda, InterMezzo Problems with authentication! understand what is implied by: NFSv{2,3,4} mount/umount File systems can be mounted with the mount command: device dir mount -t type e. g. mount -t iso9660 /dev/hdc /mount/cdrom (see also man mount of course) To unmount, simply use: umount dir e. g. umount /mount/cdrom (hint: if not able to unmount, use fuser -v dir) 3

/etc/fstab From man fstab: The file fstab contains descriptive information about the various file systems. fstab is only read by programs, and not written; it is the duty of the system administrator to properly create and maintain this file. e.g. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/hda3 / ext3 errors=remount-ro 0 1 /dev/hda2 none swap sw 0 0 proc /proc proc defaults 0 0 /dev/fd0 /floppy auto user,noauto 0 0 /dev/cdrom /cdrom iso9660 ro,user,noauto 0 0 /dev/hda1 /boot ext3 defaults 0 2 rom:/st/rom/home /st/rom/home nfs rw,bg,hard,intr 0 0 Punchline Be interested in alle levels of data storage, never trust the vendor 5 Backup/Restore Backup System = Data Restoration System Why? accidental deletion disk failure malware (virus) archival purposes Backup/Restore: The Questions (From Essential system administration by Frisch:) What files need to be backed up? Where are these files? Who will backup the files? Where, when and under what conditions should backups be performed? How often do these files change? How quickly does an important missing or damaged file need to be restored? What is the expected rate of loss or failure? How long do we need to retain the data? Where should the backup media be stored? Where will the data be restored? 4

Other Factors What media to use? magnetic tape optical disk File-based vs device-based Compression Problems with online backup file changes directory structure changes Two Basic Strategies Full Copy all files Partial Two concepts sometimes referred to as the same: Differential All new or modified files since last full backup Incremental All new or modified files since last full or partial backup Difference between differential and incremental sometimes referred to as level x where x 0, 1, 2,... Backup Schedules: Grandfather-Father-Son 5

A useful command find dir -newer /var/adm/yesterday -ls \ awk {sum+=$7}; END {print "diff =",sum} (from Frisch 2002) 6 Next Week Next Week Exam Dec. 3rd 0900-1100 6