LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-20-2011, 04:10 PM   #1
bdizzle
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
Code:
sfdisk -d /dev/sdc | sfdisk /dev/sda
sfdisk -d /dev/sdc | sfdisk /dev/sdb
added the two drives to the raid
Code:
mdadm --add /dev/md0 /dev/sda1
mdadm --add /dev/md0 /dev/sdb1
set the max size
Code:
mdadm --grow /dev/md0 --size=max
then tried to grow the raid by doing
Code:
mdadm --grow /dev/md0 /dev/sda1
mdadm --grow /dev/md0 /dev/sdb1
on both of those lines, i got this error
Code:
mdadm: can only add devices to linear arrays
I've tried searching around for possible solutions, but have been unlucky in my search.
 
  


Reply


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 04:01 PM
mdadm growing, possible mistake? scribble Linux - Server 1 11-08-2010 09:08 AM
Dell/Intel ICH7 soft-RAID and mdadm raid-level mistake PhilipTheMouse Linux - General 0 03-14-2009 06:59 PM
Growing RAID5 with mdadm not working in 2.6.17? Fredde87 Linux - Software 1 08-24-2006 04:45 AM
mdadm problems with growing an existing array mjcramer Fedora 2 07-11-2005 09:28 PM


All times are GMT -5. The time now is 01:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration