Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-20-2011, 03:10 PM   #1
LQ Newbie
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
growing raid-6 with mdadm

I currently have a soft raid 6 setup using mdadm and lvm. I'm trying to grow the raid 6, but am having issues. I upgraded to Ubuntu 11.10b, as in hopes of a kernel upgrade, it would fix my issue. However, I'm still unable to expand my raid.

If I cannot expand my raid, I'm open to other suggestions, possibly creating a mirrored raid and then adding it to the raid 6 to appear as 1 drive..? Here are the steps I took

copied the partions from the current to the new
sfdisk -d /dev/sdc | sfdisk /dev/sda
sfdisk -d /dev/sdc | sfdisk /dev/sdb
added the two drives to the raid
mdadm --add /dev/md0 /dev/sda1
mdadm --add /dev/md0 /dev/sdb1
set the max size
mdadm --grow /dev/md0 --size=max
then tried to grow the raid by doing
mdadm --grow /dev/md0 /dev/sda1
mdadm --grow /dev/md0 /dev/sdb1
on both of those lines, i got this error
mdadm: can only add devices to linear arrays
I've tried searching around for possible solutions, but have been unlucky in my search.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mdadm --grow --size=max does nothing (growing RAID-5) SteveMack Linux - Software 6 02-28-2011 03:01 PM
mdadm growing, possible mistake? scribble Linux - Server 1 11-08-2010 08:08 AM
Dell/Intel ICH7 soft-RAID and mdadm raid-level mistake PhilipTheMouse Linux - General 0 03-14-2009 05:59 PM
Growing RAID5 with mdadm not working in 2.6.17? Fredde87 Linux - Software 1 08-24-2006 03:45 AM
mdadm problems with growing an existing array mjcramer Fedora 2 07-11-2005 08:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:33 AM.

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