Thread (6 messages) 6 messages, 4 authors, 2010-03-12

Re: Reshaping the length of devices

From: Majed B. <hidden>
Date: 2010-03-12 15:20:39

I think it depends on how you migrate to the new disks. The best
option would be to have one partition use all the space on the new
(larger) disks, and replace a disk in the array with the new disk &
wait for it to sync. Do the same for all disks.

You'll end up with a working array, where each disk has 1 partition
but the total size of the array is only consuming half the capacity.

After that just use --growth and it'll expand the array to the max
available capacity from the disks.

On Fri, Mar 12, 2010 at 6:15 PM, Asdo [off-list ref] wrote:
I am wondering... is it possible to reshape the length of the underlying
devices with MD raid?

I mean like in the case one buys larger disks: after moving the raid
partitions to the new disks half of them is still free. So one might want to
extend the raid partitions to the end of the disks instead of creating
another array in the free space.

I have searched the linux-raid mailing list history but I couldn't find this
topic.

Thanks in advance
--
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


-- 
       Majed B.
--
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