Ubuntu - How to Create Software RAID 1 in Ubuntu Linux - Tutorial

Similar documents
Ubuntu installation alongside windows 8/8.1 and 10

Installation of Lubuntu Linux, Koha, DSpace and other software using LibLiveCD

Ubuntu installation alongside windows 8/8.1 and 10

Ubuntu (Intrepid-Ibex) Installation Manual

SAP HANA Backup Guide (for Ivy-Bridge Model)

Format Hard Drive After Install Ubuntu From Usb To Blank

Installing Linux (Chapter 8) Note packet # 4. CSN 115 Operating Systems Ken Mead Genesee Community College. Objectives

environment) and note down the last "End" sector ( as shown in the below example):

Windows 7 Manual Partition Hard Drive During Install Xp

Format Hard Drive After Install Ubuntu From Usb

DUAL OS INSTALLATION

Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras

CST8207 GNU/Linux O/S I Disks and Partitions

Windows Method Using Linux Live CD and Gparted

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

SANS Institute - Operations Essentials. Operating System Installation Guidelines. Windows XP Professional Installation. Creating Boot Disks

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

Production Installation and Configuration. Openfiler NSA

CST8207: GNU/Linux Operating Systems I Lab Nine Disks, Partitions, and File Systems Part 2. Disks, Partitions, and File Systems - Part 2 of 2

Manually Mount External Hard Drive Windows 7 Install

CIS 191A Final Exam. Fall CIS 191 Final Exam

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Installing Linux on JMU Computer-Science Department Removable Hard Drives for CS-450 and CS-550

OPS235. Linux File Systems Partitioning Mounting File Systems

Installing FreePBX Official Distro

Get VirtualBox. VirtualBox/Ubuntu Setup. Go to and select Downloads.

Partitioning and Formatting Guide

How To Reinstall Grub In Windows 7 Without Losing Data And Programs

Installation of Fedora 12 with CD

How To Resize ext3 Partitions Without Losing Data

Ubuntu Installation Manually Partition Windows 7 Create System Reserved

Operating Systems Lab 1. Class topic: Installation of the operating system. Install Ubuntu on Oracle VirtualBox

The Lecture's aim A preparation for the installation party: Prepare your computer for the installation Know what's going to happen Understand what's g

MODULE 02. Installation

Introduction to Backup Wolf :

Build your own NAS with OpenMediaVault

Apple 9L OS X Server Essentials

Migrating from XP to Linux: A Phased Approach Starting with a Duel Boot System.

KOHA UBUNTU In Compatible With. 1 P a g e

How To Reinstall Grub In Windows 7 Without Cd Dell

Install Windows Update Windows 7 From Usb

Flash Drive Won't Mount Windows 7

How To Make A Pen-Drive Bootable?

Acronis Backup Manual

How To Reinstall Grub In Windows 7 With Cd Rom

Ubuntu Manual Disk Partitioning Guide

Oracle 1Z Enterprise Linux System Administration. Download Full Version :

Installing New External Hard Drive Windows 7 Upgrade Blank >>>CLICK HERE<<<

Hard facts. Hard disk drives

(Ubuntu 10.04), the installation command is slightly different.

Modifying image file contents with Ghost Explorer. This section includes the following topics:

Installation Guide-x86, x86-64

Format Hard Drive After Install Ubuntu From Usb External

RAID Levels Table RAID LEVEL DESCRIPTION EXAMPLE

Grub Manual Install Ubuntu Without >>>CLICK HERE<<<

Idea6410 Ubuntu User Manual V 0.19

How To Install Windows Updates 8 From Usb

Arabic Ubuntu Support

As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM by running the below command.

Building the Perfect Backtrack 4 USB Thumb Drive

Getting Started. System Requirements. Installation

Linux Systems Security. Backup and Change Management NETS Fall 2016

Manually Installation Windows Updates Xp From Usb Drive Bootable

Project 3: An Introduction to File Systems. COP4610 Florida State University

Red Hat Enterprise Linux 6 Server Instruction Guide for Creating Volume in Free Disk Space

This is sometimes necessary to free up disk space on a volume that cannot have extra disk space easily added.

Tutorial How to upgrade firmware on Phison S8 controller MyDigitalSSD

Acronis Backup Manual

Lab E2: bypassing authentication and resetting passwords

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems

How To Startup Windows Service Windows 7. Repair Dual Boot >>>CLICK HERE<<<

Manual Update Ubuntu To Using Iso

Ubuntu Server Partition Setup Samba Disk

How To Reinstall Grub In Windows 7 Without Cd Dell Studio

Amahi Instruction Manual

SAP HANA Restore Guide (for A2040c SLES) 22 nd of April 2016 NEC SAP Global Competence Center

SLES Linux Installation Guide

CST8207: GNU/Linux Operating Systems I Lab Ten Boot Process and GRUB. Boot Process and GRUB

Exam : 1Z Title : Enterprise Linux System Administration. Version : DEMO

How to Dual-Boot OS X and Ubuntu

Installation Guide for Beginners

ExpressCluster for Linux Ver3.0

Nested Home Lab Setting up Shared Storage

SAP HANA Backup Guide (for Ivy-Bridge Model)

Arch Linux with an SSD Cache using LVM on BCache. Jeremy Runyan

Some reasons to repair your boot-loader might include installing Microsoft Windows after you have installed Ubuntu, adding or removing a hard drive.

This is Lab Worksheet 13 - not an Assignment. Boot Process and GRUB

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

Back Up (And Restore) LVM Partitions With LVM Snapshots

Guideline for the installation of C-MOR Video Surveillance Virtual Machine on VMware ESX Server

ExpressCluster for Linux Ver3.0

2. INSTALLATION OF SUSE

Title: Demonstrate the linux installation and administration settings.

How to Install Ubuntu on VirtualBox

Novell SUSE Linux Enterprise Server

Manually Mount Usb Flash Drive Ubuntu Not Recognizing

SAP HANA Backup Guide (for A2040d SLES) 23 rd of January 2017 NEC SAP Global Competence Center

RocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide

The LILO Configuration Handbook. Virgil J. Nisly

Manually Install Windows Updates Xp From Usb

Transcription:

Published on http://www.itswapshop.com (http://www.itswapshop.com) Home > Ubuntu - How to Create Software RAID 1 in 12.04 Ubuntu Linux - Tutorial Ubuntu - How to Create Software RAID 1 in 12.04 Ubuntu Linux - Tutorial Submitted by ingram on Thu, 06/27/2013-1:43pm Ubuntu - How to Create Software RAID 1 in 12.04 Ubuntu Linux - Tutorial There are several guides for creating software RAID's on Ubuntu on the internet. Most of them we've found to be not very comprehensive or difficult to understand and follow. This is why we've created this tutorial as easy to use as we could. Pictures on every step and detailed instructions. In fact, it may be a little to comprehensive, but that's ok. At least you'll be confident you created the RAID correctly. If you do have any questions or run into a problem, feel free to leave a comment below and we'll try to help. Linux software RAIDs work differently than normal hardware RAID's. They are partition based, instead of disk based. This means that you must create matching partitions on all disks before creating the RAID. Hardware RAIDs have you add the disks to the RAID and then create the partition. This tutorial was created while installing Ubuntu 12.04 64 bit Server Edition. It's intended to be the first in a series of Linux software RAID tutorials. Future tutorials will cover topics such as how to recover from a failed disk. This server has two 16GB disks installed. We will be creating 2 partitions: a 2GB swap partition and a 14GB root partition. After we are done, the server will stay in operation if one of the two disks fails. Most of the pictures in this tutorial are self-explanatory. The option you need to choose will be highlighted. We will provide comments on the picture if there is any special considerations. To begin, run the Ubuntu installer. When you get the 'Partition disks' menu, choose 'Manual': Ubuntu Linux - How to Configure Software RAID Tutorial 1 In this case, the disks are new and there are no partition tables on it. Select each disk to create a partition table: Ubuntu Linux - How to Configure Software RAID Tutorial 2 Ubuntu Linux - How to Configure Software RAID Tutorial 3 Select the free space on the first disk to create partitions on it: Ubuntu Linux - How to Configure Software RAID Tutorial 4 Ubuntu Linux - How to Configure Software RAID Tutorial 5 The first partition will be 2GB at the beginning of the disk (this will be used for swap space): Ubuntu Linux - How to Configure Software RAID Tutorial 6 Ubuntu Linux - How to Configure Software RAID Tutorial 7

Ubuntu Linux - How to Configure Software RAID Tutorial 8 You can leave partition settings the default. After the RAID is created, these partitions will be overwritten, so there is no need to configure them here: Ubuntu Linux - How to Configure Software RAID Tutorial 9 Select the remaining free space on the first disk to create the 2nd partition. In this case, we will be using the remaining free space for this partition: Ubuntu Linux - How to Configure Software RAID Tutorial 10

Ubuntu Linux - How to Configure Software RAID Tutorial 5 Ubuntu Linux - How to Configure Software RAID Tutorial 11 Ubuntu Linux - How to Configure Software RAID Tutorial 7 Again, do not worry about configuring the partition here. Leave it at the defaults: Ubuntu Linux - How to Configure Software RAID Tutorial 12 After creating the 2 partitions on the first disk, repeat the process and create identical partitions on the second disk.

You should now see identical partition sizes on both disks. Choose 'Configure software RAID' to begin creating the software RAID: Ubuntu Linux - How to Configure Software RAID Tutorial 13 Ubuntu Linux - How to Configure Software RAID Tutorial 14 Again, the Linux software RAID is partition based, so we will need to create 2 RAIDs, 1 for each of our set of 2 partitions. Choose 'Create MD device' to begin creating the first: Ubuntu Linux - How to Configure Software RAID Tutorial 15

Ubuntu Linux - How to Configure Software RAID Tutorial 16 This step can be confusing for some people. Our first RAID will consist of 2 partitions (the 2GB partitions on each of the disks), so choose 2 active devices: Ubuntu Linux - How to Configure Software RAID Tutorial 17 We aren't using any spare devices in this example: Ubuntu Linux - How to Configure Software RAID Tutorial 18 Only select the 2GB partitions. There should be one on each disk: Ubuntu Linux - How to Configure Software RAID Tutorial 19

Ubuntu Linux - How to Configure Software RAID Tutorial 20 You'll be taken back to the RAID configuration menu. Choose 'Create MD device' to begin creating the 2nd RAID: Ubuntu Linux - How to Configure Software RAID Tutorial 15 Ubuntu Linux - How to Configure Software RAID Tutorial 16 Ubuntu Linux - How to Configure Software RAID Tutorial 17

Ubuntu Linux - How to Configure Software RAID Tutorial 18 Choose both of the 14GB partitions (again, there should be one on each disk): Ubuntu Linux - How to Configure Software RAID Tutorial 21 Ubuntu Linux - How to Configure Software RAID Tutorial 20 Choose 'Finish' to complete the RAID configuration. Now we partition the 2 RAIDs. You'll see 'RAID1 device #0' and 'RAID1 device #1'. These are the only to we need to partition. To configure the swap RAID partition, select the 2GB RAID device listed under 'RAID1 device #0':

Ubuntu Linux - How to Configure Software RAID Tutorial 23 For 'Use as', select 'swap area' and then choose 'Done setting up the partition': Ubuntu Linux - How to Configure Software RAID Tutorial 24 You will be taken back to the partitioning menu. Select the 2nd RAID device (in this case, it's the 14GB one) from the menu. You can configure the RAID device with whatever file system you need, but we are going with the default, Ext4. For the 'Mount point', make it the root by selecting "/". Now choose 'Done setting up the partition': Ubuntu Linux - How to Configure Software RAID Tutorial 26 Your RAID devices should be partitioned similar to what is listed below. Choose 'Finish

partitioning and write changes to disk': Ubuntu Linux - How to Configure Software RAID Tutorial 27 Typically, the reason why RAID is implemented is so the operating system will continue to operate in the event of a single disk failure. Choose 'Yes' here so you will not see any interruptions when booting with a failed disk: Ubuntu Linux - How to Configure Software RAID Tutorial 28 Ubuntu Linux - How to Configure Software RAID Tutorial 29 Almost done! The operating system will continue to install on the RAID you setup:

Ubuntu Linux - How to Configure Software RAID Tutorial 30 After the operating system installs, you will be prompted to install GRUB. Choose YES to install it to the Master Boot Record: Ubuntu - How to Create Software RAID 1 in 12.04 Ubuntu Linux As you can see, installing GRUB to the Master Boot Record will install it to both hard disks, (/dev/sda & /dev/sdb). Ubuntu - How to Create Software RAID 1 in 12.04 Ubuntu Linux That's it! After the install is complete, you should be able to boot into the OS. If you loose a hard disk, the OS will continue to run without interuption. Here are some links that you may find useful if you have questions about this process (or leave a comment below and we can try to help): https://help.ubuntu.com/community/installation/softwareraid [1] https://help.ubuntu.com/lts/serverguide/advanced-installation.html [2]. Privacy Policy support @ itswapshop. com Source URL: http://www.itswapshop.com/tutorial/ubuntu-how-create-software-raid-1-1204-ubuntu-linuxtutorial Links: [1] https://help.ubuntu.com/community/installation/softwareraid [2] https://help.ubuntu.com/lts/serverguide/advanced-installation.html