* Raid1 to Raid 10
[not found] <S1758867Ab3BGRFg/20130207170536Z+12@vger.kernel.org>
@ 2013-02-08 14:17 ` Cocolocko
2013-02-08 14:58 ` Adam Goryachev
0 siblings, 1 reply; 2+ messages in thread
From: Cocolocko @ 2013-02-08 14:17 UTC (permalink / raw)
To: linux-raid
Hi @ all,
is it possible to expand/upgrade a existing Software Raid1 with two
harddisks under CentOS 6.3 to a Raid 10?
I want to put 2 more disks inside to have more speed for Databases and
KVM virtualisation with the Raid0.
Thanks for you response
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Raid1 to Raid 10
2013-02-08 14:17 ` Raid1 to Raid 10 Cocolocko
@ 2013-02-08 14:58 ` Adam Goryachev
0 siblings, 0 replies; 2+ messages in thread
From: Adam Goryachev @ 2013-02-08 14:58 UTC (permalink / raw)
To: Cocolocko; +Cc: linux-raid
On 09/02/13 01:17, Cocolocko wrote:
> is it possible to expand/upgrade a existing Software Raid1 with two
> harddisks under CentOS 6.3 to a Raid 10?
> I want to put 2 more disks inside to have more speed for Databases and
> KVM virtualisation with the Raid0.
Personally, I'd do something like this:
1) Physically add the 2 new drives
2) Create a RAID10 array with two missing drives, something like:
mdadm --create /dev/md10 --level=raid10 --raid-devices=4 /dev/sdc1
missing /dev/sdd1 missing
3) Unmount, stop using the existing RAID1
4) Copy old RAID1 (md1) to new RAID10 (md10)
dd if=/dev/md1 of=/dev/md10
5) Destroy old RAID1
mdadm -S /dev/md1
mdadm --zero-superblock /dev/sda1
mdadm --zero-superblock /dev/sdb1
6) Add the old RAID1 devices to the RAID10
mdadm --manage /dev/md10 --add /dev/sda1
mdadm --manage /dev/md10 --add /dev/sdb1
You should check that all the above command lines are valid/correct, and
especially the device names.
You might also like to carefully specify the chunk size, as this can
impact performance.
Finally, you might consider with 4 disks will be enough, you can't grow
a RAID10 array (except replace all disks with larger ones) to improve
performance, so perhaps you should use 8 smaller disks instead of 4
large disks and try and get faster disks (rpm) to maximise performance.
Hope this helps.
Regards,
Adam
--
Adam Goryachev
Website Managers
Ph: +61 2 8304 0000 adam@websitemanagers.com.au
Fax: +61 2 8304 0001 www.websitemanagers.com.au
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-08 14:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <S1758867Ab3BGRFg/20130207170536Z+12@vger.kernel.org>
2013-02-08 14:17 ` Raid1 to Raid 10 Cocolocko
2013-02-08 14:58 ` Adam Goryachev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.