Thread (13 messages) 13 messages, 3 authors, 2013-12-02

Re: Converting from Raid 5 to 6

From: Michael Busby <hidden>
Date: 2011-10-24 16:34:00

On 24 October 2011 17:27, Mathias Burén [off-list ref] wrote:
On 24 October 2011 17:03, Michael Busby [off-list ref] wrote:
quoted
should the speed be very slow when doing this progress, its a lot
slower than a normal grow

reshape =  1.2% (25006080/1953513984) finish=12481.8min speed=2574K/sec

On 24 October 2011 15:11, Mathias Burén [off-list ref] wrote:
quoted
On 24 October 2011 14:11, Michael Busby [off-list ref] wrote:
quoted
At the moment i have a raid5 setup with 5 disks, i am looking to add a
6th disk and change from raid 5 to raid 6

having looked at Neil's site i have found the following command, and
just want to double check this is still the recommend way of
converting

mdadm --grow /dev/md0 --level=6 --raid-disks=6 --backup-file=/home/md.backup

also would i need to add the extra disk before or after the command?

cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Hi,

I grew my 6 disk RAID5 to a 7 disk RAID6. First, add the drive. Then
partition it as required. Then add the drive to the array (I think
it'll become a spare?). Then you can grow it.

Make sure you're using the latest mdadm tools available.

Regards,
Mathias
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
(please reply to the bottom of the email)

What CPU are you using? What are the min/max kbps settings on the md
device? What does top (or htop) show you?

/M
Its a AMD 1.3ghz, in a HP microserver

max = 2000000
min = 200000

top - 17:33:49 up 4 days, 18:57,  2 users,  load average: 1.19, 1.32, 1.34
Tasks: 102 total,   1 running, 101 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.3%us,  4.8%sy,  0.0%ni, 61.6%id, 32.9%wa,  0.0%hi,  0.3%si,  0.0%st
Mem:   2958840k total,  2519944k used,   438896k free,   140868k buffers
Swap:  3143676k total,   376112k used,  2767564k free,  1122084k cached
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help