LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 03: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:58 PM.

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