Documente Academic
Documente Profesional
Documente Cultură
Linux Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
Now!
Blog
Your
Start
RAID 12 I TecMint :
or 1+0 (Nested) in
Ebook: Introducing the RHCSA and RHCE Exam Preparation Guide
http://www.tecmint.com/createraid10inlinux/ 1/25
4/18/2017 SettingUpRAID10or1+0(Nested)inLinuxPart6
Linux Part 6
Linux Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
Replay
*T&Capply.
Linux eBooks for Administrators | 4 Free Shell
Scripting eBooks
RAID 10 is a combine of
RAID 0 and RAID 1 to form a Vi/Vim Editor BEGINNER'S GUIDE
RAID 10. To setup Raid 10, Learn vi/vim as a Full Text Editor
we need at least 4 number
Advertise Here
of disks. In our earlier
articles, weve seen how to
setup a RAID 0 and RAID 1
with minimum 2 number of
disks.
Linux Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
process.
Install Cacti (Network Monitoring) on
RHEL/CentOS 7.x/6.x/5.x and Fedora 24-12
same time.
Computer Hacker Professional
It can be used for
Certi6cation Course (96% Off)
Database solutions,
which needs a high I/O
Add to Cart - $59
disk writes.
Ending In: 4 days
Requirements
Ebook: Introducing the RHCSA and RHCE Exam Preparation Guide
http://www.tecmint.com/createraid10inlinux/ 4/25
4/18/2017 SettingUpRAID10or1+0(Nested)inLinuxPart6
In RAID
Linux 10, we need
Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
minimum of 4 disks, the rst DOWNLOAD FREE LINUX EBOOKS
2 disks for RAID 0 and other Complete Linux Command Line Cheat Sheet
2 Disks for RAID 1. Like I The GNU/Linux Advanced Administration Guide
said before, RAID 10 is just Securing & Optimizing Linux Servers
a Combine of RAID 0 & 1. If Linux Patch Management: Keeping Linux Up To
Method 1:
Setting Up Raid
10
1. First, verify that all the 4
added disks are detected or
Ebook: Introducing the RHCSA and RHCE Exam Preparation Guide
http://www.tecmint.com/createraid10inlinux/ 5/25
4/18/2017 SettingUpRAID10or1+0(Nested)inLinuxPart6
notFoundations
Linux using the following
LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
command.
#lsl/dev|grepsd
#mdadmE/dev/sd[be]
#mdadmexamine/dev/sdb/dev/sdc/dev/sdd/dev/sde
Step 1: Drive
Partitioning for
RAID
3. Now
Linux create a new
Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
partition on all 4 disks
(/dev/sdb, /dev/sdc,
/dev/sdd and /dev/sde)
using the fdisk tool.
#fdisk/dev/sdb
#fdisk/dev/sdc
#fdisk/dev/sdd
#fdisk/dev/sde
SHARE
Create /dev/sdb
+
Partition
Let me show you how to
partition one of the disk 0
(/dev/sdb) using fdisk, this
steps will be the same for all
the other disks too. 18
#fdisk/dev/sdb
10
already
Linux existing raid
Foundations LFCS using
and LFCE Certi cation Preparation Guide ($39) Get This Book
the following command.
#mdadmE/dev/sd[be]
#mdadmE/dev/sd[be]1
OR
#mdadmexamine/dev/sdb/dev/sdc/dev/sdd/dev/sde
#mdadmexamine/dev/sdb1/dev/sdc1/dev/sdd1/dev/sde1
Step 2: Creating
md RAID Device
5. Now its time to create a
md (i.e. /dev/md0) device,
using mdadm raid
management tool. Before,
creating device, your system
must have mdadm tool
installed, if not install
Ebook:itIntroducing
rst. the RHCSA and RHCE Exam Preparation Guide
http://www.tecmint.com/createraid10inlinux/ 9/25
4/18/2017 SettingUpRAID10or1+0(Nested)inLinuxPart6
#mdadmcreate/dev/md0level=10raiddevices=4/dev/sd[be]1
#cat/proc/mdstat
#mdadmexamine/dev/sd[be]1
8. Next,
Linux check the
Foundations details
LFCS andof
LFCE Certi cation Preparation Guide ($39) Get This Book
Raid Array with the help of
following command.
#mdadmdetail/dev/md0
Step 3: Creating
Filesystem
9. Create a le system using
ext4 for md0 and mount it
under /mnt/raid10. Here,
Ive used ext4, but you can
use any lesystem type if
you want.
#mkfs.ext4/dev/md0
Linux Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
Create md Filesystem
#mkdir/mnt/raid10
#mount/dev/md0/mnt/raid10/
#lsl/mnt/raid10/
#touch/mnt/raid10/raid10_files.txt
#lsl/mnt/raid10/
#echo"raid10setupwith4disks">/mnt/raid10/raid10_files.txt
#cat/mnt/raid10/raid10_files.txt
Linux Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
Mount md Device
#vim/etc/fstab
/dev/md0/mnt/raid10ext4defaults00
AutoMount md Device
#mountav
Linux Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
#mdadmdetailscanverbose>>/etc/mdadm.conf
Method 2:
Linux Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
Creating RAID 10
1. In method 2, we have to
de ne 2 sets of RAID 1 and
then we need to de ne a
RAID 0 using those created
RAID 1 sets. Here, what we
will do is to rst create 2
mirrors (RAID1) and then
striping over RAID0.
#lsl/dev|grepsd
List 4 Devices
Linux Foundations LFCS and LFCE Certi cation Preparation Guide ($39)
#fdisk/dev/sdb Get This Book
#fdisk/dev/sdc
#fdisk/dev/sdd
#fdisk/dev/sde
#mdadmexamine/dev/sd[be]
#mdadmexamine/dev/sd[be]1
Examine 4 Disks
Step 1: Creating
RAID 1
4. First let me create 2 sets
of RAID 1 using 4 disks
sdb1 and sdc1 and other
set using sdd1 & sde1.
#mdadmcreate/dev/md1metadata=1.2level=1raiddevices=2/dev/sd[bc]1
#mdadmcreate/dev/md2metadata=1.2level=1raiddevices=2/dev/sd[de]1
#cat/proc/mdstat
Linux Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
Creating Raid 1
Step 2: Creating
RAID 0
5. Next, create the RAID 0
using md1 and md2
devices.
#mdadmcreate/dev/md0level=0raiddevices=2/dev/md1/dev/md2
#cat/proc/mdstat
Creating Raid 0
Conguration
6. We need to save the
Con guration under
/etc/mdadm.conf to load
all raid devices in every
reboot times.
#mdadmdetailscanverbose>>/etc/mdadm.conf
Conclusion
Here we have created RAID
10 using two methods. RAID
10 has good performance
and redundancy too. Hope
this helps you to understand
about RAID 10 Nested Raid
level. Let us see how to
grow an existing raid array
andFoundations
Linux much more in my and LFCE Certi cation Preparation Guide ($39)
LFCS Get This Book
upcoming articles.
If You Appreciate
What We Do Here On
TecMint, You Should
Consider:
1. Stay Connected to: Twitter |
Facebook | Google Plus
5. Support us by purchasing
our premium books in PDF
format.
6. Support us by taking our
Tags:
Linux mdadm raid10
Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
STORY Setting Up
How to Create Standard
GUI Linux File
Applications Systems and
Under Linux Con guring
Desktop Using NFSv4 Server
PyGObject Part 2
Part 1
Linux Foundations
52 LFCS and
LFCE
0 Certi cation
11 Preparation Guide ($39) Get This Book
12 RESPONSES
Comments 12 Pingbacks 0
======================================
Operating System : CentOS 6.5 Final
IP Address : 192.168.0.229
Hostname : rd10.tecmintlocal.com
Disk 1 [20GB] : /dev/sdd
Disk 2 [20GB] : /dev/sdc
Disk 3 [20GB] : /dev/sdd
Disk 4 [20GB] : /dev/sde
======================================
Shouldnt it be:
Disk 1 [20GB] : /dev/sdb
Reply
Babin Lonston
June 23, 2016 at 11:37 pm
Leedor & Anonymous,
Babin Lonston
April 2, 2016 at 1:50 pm
@Jonathan,
We can shutdown/reboot no
issue.
Reply
Hi Babin,
Linux Foundations LFCS and LFCE Certi cation Preparation Guide ($39) Get This Book
Your work is awesome, its very useful
for me.
I have successfully congured Raid 10
but i dont how its work in real time.
Babin Lonston
November 18, 2015 at 12:38 pm
Will update on this request soon
once implement and tested in
our test environment.
Reply
Best regards
Reply
Babin Lonston
February 3, 2015 at 12:35 am
To scan and assemble this will
bring back
Ebook: your raid the RHCSA and RHCE Exam Preparation Guide
Introducing
http://www.tecmint.com/createraid10inlinux/ 23/25
4/18/2017 SettingUpRAID10or1+0(Nested)inLinuxPart6
Comment
Name * Email *
Website
Post Comment
Tecmint: Linux Howtos, Tutorials & Guides 2017.
All Rights Reserved.
This work is licensed under a (cc) BY-NC
The material in this site cannot be republished
either online or oine, without our permission.