LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-30-2014, 04:41 PM   #1
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
which drives mirror raid 10 software raid centos 6.x


I'm working on setting up a new server and I've decided to run a software raid with a scheme like
Code:
/boot  md0  raid 1  300mb
/tmp   md1  raid 10 4gb
           md2 raid 10 swap
/          md3 raid 10 452gb
that is my layout. Now my question is, the raid 10 arrays is how do I figure out which drivers are mirrors?

Code:
]# cat /proc/mdstat
Personalities : [raid10] [raid1]
md0 : active raid1 sda1[0] sdc1[2] sdb1[1] sdd1[3]
      307136 blocks super 1.0 [4/4] [UUUU]

md1 : active raid10 sdb2[1] sdc2[2] sda2[0] sdd2[3]
      4191232 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md3 : active raid10 sdc4[2] sdb4[1] sdd4[3] sda4[0]
      480965632 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
      bitmap: 0/4 pages [0KB], 65536KB chunk

md2 : active raid10 sdd3[3] sdb3[1] sdc3[2] sda3[0]
      4191232 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
Detail of md3
Code:
 mdadm --detail /dev/md3
/dev/md3:
        Version : 1.1
  Creation Time : Sun Mar 30 12:48:16 2014
     Raid Level : raid10
     Array Size : 480965632 (458.68 GiB 492.51 GB)
  Used Dev Size : 240482816 (229.34 GiB 246.25 GB)
   Raid Devices : 4
  Total Devices : 4
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Sun Mar 30 16:39:28 2014
          State : active
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

         Layout : near=2
     Chunk Size : 512K

           Name : host.domain.cxm:3  (local to host host.domain.cxm)
           UUID : f3a49ee1:d9a397c6:efe40451:f051fa1b
         Events : 1266

    Number   Major   Minor   RaidDevice State
       0       8        4        0      active sync   /dev/sda4
       1       8       20        1      active sync   /dev/sdb4
       2       8       36        2      active sync   /dev/sdc4
       3       8       52        3      active sync   /dev/sdd4

Last edited by jmc1987; 03-30-2014 at 04:42 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Rebuilding Mirror for Software Raid 0 on CentOS box? tgaler1 Linux - Software 1 09-06-2012 07:25 PM
Setting up RAID or mirror drives on the Hardware level Pricy Linux - Newbie 1 09-16-2010 07:06 PM
Setting up 4 drives. 2 as 1 partition and other 2 as RAID mirror driv-crazy Linux - Hardware 6 11-13-2008 04:21 PM
Installing with raid mirror drives Coomkeen Zenwalk 1 09-03-2006 01:25 PM
Is there a way to both mirror and combine drives in RAID? Spitfire24 Linux - General 6 01-02-2006 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration