Re: Growing after replacing with larger discs
From: Majed B. <hidden>
Date: 2010-03-13 21:00:04
Beolach, That involves double the work! On Sat, Mar 13, 2010 at 11:45 PM, Beolach [off-list ref] wrote:
Forgot to send to the list... On Sat, Mar 13, 2010 at 13:42, Beolach [off-list ref] wrote:quoted
On Fri, Mar 12, 2010 at 10:39, John Robinson [off-list ref] wrote:quoted
Before I have to go to a customer's premises and try it, I wanted to ask if anyone had already done anything like this: I have a CentOS 5 system with 0.90 metadata and type fd partitions with RAID-5 over 3 discs. I want to grow it by replacing the drives. If I dd the small partitions onto larger ones on the new discs, then reboot, will the system recognise the RAID-5 - which now has its metadata somewhere in the middle of the paritions not at the end - so that I can then --grow?I have no idea if this would actually work, but maybe try partitioning the new, larger drives so the partitions are identical in size to the old discs, copying the old discs to the new partitions, starting the array with the new partitions, resizing the new partitions, and then running --grow. If mdadm can re-check the size of the member devices of a running array at --grow time, this might work, but if it only checks member device sizes at creation or assemble time, then it probably won't. Good luck, Conway S. Smith-- 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