Setup RAID Level 6 (Striping with Double Distributed Parity) in Linux – Part 5

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Babin Lonston

I'm Working as a System Administrator for last 10 year's with 4 years experience with Linux Distributions, fall in love with text based operating systems.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Linux BASH Programming Cookbook
Getting Started with Ubuntu 16.04
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

10 Responses

  1. geogeotx says:

    Thank you for the very well documented article.

    1) My raid would disappear after each reboot. md0 would be gone. My theory is because of this command “mdadm –detail –scan –verbose >> /etc/mdadm.conf”

    When I changed location to /etc/mdadm/mdadm.conf then I think the raid survived reboot (this is an unconfirmed theory)

    2) Here are suggested commands to use “parted’ for drives greater than 2TB.

    sudo parted -a optimal /dev/sda
    (parted) mklabel gpt
    (parted) mkpart primary 1 -1 (or ==> mkpart primary 1MiB 512MiB ???)
    (parted) align-check
    alignment type(min/opt) [optimal]/minimal? optimal
    Partition number? 1
    (parted) set 1 raid on
    (parted) quit

    Thanks again for an excellent article

  2. Mike says:

    Hi ravi,

    I am using raid5(3disk – 600GB each) in LVM FS, so i get 1.8T LVM partition. Now I have to add new disk – 1TB in LVM. Do we have to add it in Raid or can we attach it directly and convert it into pv then extend vg..

    what could be the possible ways ?

    • Ravi Saive says:

      You should follow below procedure for extending your space..

      1. Add a new drive
      2. Use mdadm –grow to add it to the RAID5
      3. pvresize to increase the size of the PV
      4. lvextend to increase the size of the LV
      5. resize2fs to grow the filesystem

  3. Mrutyunjaya says:

    But how can i Up again that /dev/sdd1 partition ???

  4. Debasish says:

    What about Raid 5 that Ravi sir has promised to be published in Friday but haven’t. Is waiting for this.

  5. Omipenuin says:

    I think this Tut should be Part 4…….

    • Ravi Saive says:

      No, actually RAID 5 setup is the part 4 article, but we by mistakenly posted part 5. Part 4 will be published on Friday..

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?