Chapter 1 Managing Storage. Contents Understanding Partitioning Understanding LVM Understanding RAID Understanding Clustering and GFS Using Access Control.

Slides:



Advertisements
Similar presentations
Storage Management Lecture 7.
Advertisements

By Rashid Khan Lesson 6-A Place for Everything: Storage Management.
11 MANAGING DISK STORAGE Chapter 12. Chapter 12: MANAGING DISK STORAGE2 CHAPTER OVERVIEW Understand disk-storage concepts and terminology Distinguish.
Hard Disk Drives Chapter 7.
Chapter 9 Part III Linux File System Administration
System Administration Storage Systems. Agenda Storage Devices Partitioning LVM File Systems.
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.
L V M A Logical Volume Manager for Linux by Heinz Mauelshagen Sistina, Inc.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 8: Troubleshooting Storage Devices and Display Devices.
1 Web Server Administration Chapter 3 Installing the Server.
Chapter 7: Configuring Disks. 2/24 Objectives Learn about disk and file system configuration in Vista Learn how to manage storage Learn about the additional.
Hands-On Microsoft Windows Server 2003 Administration Chapter 6 Managing Printers, Publishing, Auditing, and Desk Resources.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Five Managing Disks and Data.
Session 3 Windows Platform Dina Alkhoudari. Learning Objectives Understanding Server Storage Technologies Direct Attached Storage DAS Network-Attached.
Configuring Disk Quotas Linux System Administration To implement disk quotas, use the following steps: Enable quotas per file system by modifying /etc/fstab.
Managing Storage Lesson 3.
LAN / WAN Business Proposal. What is a LAN or WAN? A LAN is a Local Area Network it usually connects all computers in one building or several building.
Storage and NT File System INFO333 – Lecture Mariusz Nowostawski Noria Foukia.
RAID RAID stands for Redundant Array of Inexpensive (Independent) Disks.
IT Essentials: PC Hardware and Software 1 Chapter 7 Windows NT/2000/XP Operating Systems.
This courseware is copyrighted © 2011 gtslearning. No part of this courseware or any training material supplied by gtslearning International Limited to.
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.
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
Module 9: Configuring Storage
1 Review For Exam 2 (Slides) (Summary Questions) © Abdou Illia, Fall 2006.
Chapter 3 Managing Disk and File Systems. File Storage Basics Windows XP supports two types of storage Basic Dynamic Basic storage system Centers on partitioning.
C HAPTER 7 Managing Disk and File System. I NTRODUCING DISK MANAGEMENT 2 types of hard disk storage supported by Windows XP are: basic hard disk & dynamic.
4.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 4: Organizing a Disk for Data.
11 INSTALLING AND MANAGING STORAGE DEVICES IN WINDOWS XP Chapter 8.
MCTS Guide to Microsoft Windows Vista Chapter 4 Managing Disks.
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.
Managing Disks and Drives Chapter 13 powered by dj.
1 Objectives Manage and install new file systems.
Sys Admin Course Physical Storage and File Systems Fourie Joubert.
Windows Server 2003 硬碟管理與磁碟機陣列 林寶森
Configuring Disk Devices. Module 4 – Configuring Disk Devices ♦ Overview This module deals with making partitions using fdisk, implementing RAID and Logical.
Chapter 5 File Management File System Implementation.
Windows Vista Inside Out Chapter 28 - Chapter 28 - Managing Disks and Drives Last modified
Creating and Managing File Systems. Module 5 – Creating and Managing File Systems ♦ Overview This module deals with the structure of the file system,
Davie 5/18/2010.  Thursday, May 20 5:30pm  Ursa Minor  Co-sponsored with CSS  Guest Speakers  Dr. Craig Rich – TBA  James Schneider – Cal Poly.
Page 1 File Systems and Disk Management Lecture 5 Hassan Shuja 10/19/2004.
Chap 3 Installation. Kickstart Kickstart is Red Hat’s program that completely or partially automates the same installation and post-installation on one.
Microsoft Windows XP Professional MCSE Exam
WINDOWS SERVER 2003 Genetic Computer School Lesson 12 Fault Tolerance.
CSC414 “Introduction to UNIX/ Linux” Lecture 6. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
Adding a Hard Drive. BIOS / UEFI The Unified Extensible Firmware Interface (UEFI) defines a software interface between an operating system and platform.
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.
Lecture 4 & 5: System Architecture  File systems  Devices  File system permissions  Review of Linux runlevels  In-class exercise.
Materi managing user & groups, file system Managing Software Packages and File Systems The Complete Guide to Linux System Administration Chapter 10.
ITMT Windows 7 Configuration Chapter 4 – Working with Disks and Devices ITMT 1371 – Windows 7 Configuration 1.
DIT314 ~ Client Operating System & Administration CHAPTER 7 MANAGING DISKS AND FILE SYSTEM Prepared By : Suraya Alias.
Linux Filesystem Administration
Storage HDD, SSD and RAID.
Answer to Summary Questions
CompTIA Server+ Certification (Exam SK0-004)
Configuring Disk Quotas
Guide to Linux Installation and Administration, 2e
Linux Software RAID & LVM Patrick Ladd 5/2/2007.
Introduction to Operating Systems
Installing OS.
Introduction to Computers
Operating System Module 1: Linux Installation
OPS235: Week 5 Lab4: Investigations 1 – 3
COP 4343 Unix System Administration
Storage Management Lecture 7.
Configuring Disk Quotas
Presentation transcript:

Chapter 1 Managing Storage

Contents Understanding Partitioning Understanding LVM Understanding RAID Understanding Clustering and GFS Using Access Control Lists Using Disk Quotas

Understanding Partitioning LVM and RAID offer benefits such as resizing, striping, and combining multiple hard drives into logical physical devices. Feature of partition: ◦ The partitions are created before the LVM or RAID layer is implemented. ◦ A partition can be created from free space on a hard drive. ◦ There are two partitioning utilities in Red Hat Enterprise Linux: parted and fdisk. ◦ Partition can contain file system and label. ◦ Partition can be mounted after file system created. ◦ Partition can be resize or remove.

Command for Manipulating Partition Command NameDescription fdisk -lTo view a list of partitions on the system parted /dev/sdaTo create partition mkpart To create a partition( must be one of primary, logical, or extended. must be one of fat16, fat32, ext2, HFS, linux-swap, NTFS, reiserfs, or ufs. The and values should be given in megabytes and must be given as integers). mke2fs -j To convert from ext2 partition to ext3 partition mkswap Create swap partition e2label To label the partition mount To mount the partition resize To resize a partition rm To remove the partition

Partition Table from parted for Standard Partitions

Understanding LVM Logical Volume Manager(LVM): is a storage management solution that allows administrators to divide hard drive space into physical volumes (PV), which can then be combined into logical volume groups (VG), which are then divided into logical volumes (LV) on which the filesystem and mount point are created. Feature of LVM: ◦ logical volume group can include more than one physical volume, a mount point can include more than one physical hard drive. ◦ LVM is used by default during installation for all mount points except the /boot partition, which cannot exist on a logical volume.

How Logical Volume Manager Works

LVM Tools

The basic steps for increasing the size of a logical volume 1. Create new physical volume from free disk space. 2. Add physical volume to the logical volume group. 3. Expand the size of the logical volume to include the newly added disk space in the volume group. 4. Expand the filesystem on the logical volume to include the new space.

Step to add a logical volume 1. Create new physical volume from free disk space. 2. Add physical volume to the logical volume group. 3. Create a logical volume with the new space in volume group. 4. Create a filesystem on the logical volume. 5. Create a mount point. 6. Mount the logical volume. 7. Test the filesystem. 8. Add the new mount point to /etc/fstab.

Understanding RAID RAID (Redundant Array of Independent Disks): allows an administrator to form an array of several hard drives into one logical drive recognized as one drive by the operating system. Type of RAID: ◦ Hardware RAID: is implemented through the disk controller for the system. ◦ Software RAID: is implemented through the operating system and does use some processor and memory resources, although some software RAID implementations can produce faster disk access times than hardware RAID. The Level of RAID: ◦ RAID level 0, or striping: means that data is written across all hard drives in the array to accomplish the fast disk performance(No redundancy). ◦ RAID level 1, or mirroring: means that all data is written to each disk in the array, accomplishing redundancy. ◦ RAID level 5: combines striping and parity. Data is written across all disks as in RAID 0, but parity data is also written to one of the disks. ◦ RAID level 6: is RAID level 5 with dual parity. Data is written across all disks as in RAID 5, but two sets of parity data is calculated.

Command for Managing RAID Command NameDescription mdadm --create /dev/mdX --level= --raid-devices= To create the RAID device mdadm /dev/mdX -a Adding disk to RAID device mdadm /dev/mdX -f Remove RAID fail partition tail -f /proc/mdstatmonitor the /proc/mdstat file cat /proc/mdstatShows the status of the RAID devices and the status of any actions being performed on them such as adding a new member or rebuilding the array. mdadm --query /dev/mdXDisplays basic data about the device such as size and number of spares. mdadm --query –detail /dev/mdXDisplays more data about the device such as size and number of spares mdadm --examine Displays detailed data about a component of a RAID array such as RAID level, total number of devices, number of working devices, and number of failed devices.

Using Access Control Lists ACLs allow for permissions to be set for any user, any user group, and the group of all users not in the group for the user. To use ACLs, they must be enabled when an ext3 filesystem is mounted. The categories of ACLs per file: ◦ for an individual user ◦ for a user group ◦ via the effective rights mask ◦ and for users not in the user group associated with the file. To view the existing ACLs for a file getfacl

Command for Setting and Modifying ACLs Command NameDescription getfacl To view the existing ACLs for a file setfacl -m To set or modify existing ACLs + u: : + g: : + o: + m: Wher is rwx setfacl -x command can be used to remove ACL permissions by ACL rule type setfacl --remove-all To remove all ACLs for a file or directory setfacl --remove-default To remove all default ACLs for a directory

Using Disk Quotas Disk quotas is used to limiting disk space for user or group of user. To use quotas, they must be enabled in /etc/fstab, which is read at boot time to mount filesystems. /dev/VolGroup00/LogVol01 /home ext3 usrquota,grpquota 1 2 Or using mount command mount -o remount,acl,usrquota,grpquota,rw

Command for Managing DiskQuota Command NameDescription quotacheck -uvg quotaon -vug To turn quotas on for an already mounted filesystem quotaoff -vug To temporarily turn off quotas edquota To set or modify the quota for a user edquota -g To set or modify the quota for a user group edquota -tTo modify the grace period for a filesystem edquota -T edquota -T -g This grace period is used for all users and groups repquota -aTo display all quotas along with user and group usage