Re: Reshaping the length of devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/03/2010 15:18, Jon Hardcastle wrote:


--- On Fri, 12/3/10, Asdo <asdo@xxxxxxxxxxxxx> wrote:

From: Asdo <asdo@xxxxxxxxxxxxx>
Subject: Reshaping the length of devices
To: "linux-raid" <linux-raid@xxxxxxxxxxxxxxx>
Date: Friday, 12 March, 2010, 15:15
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

As long as the size of ALL underlying devices have increased you can --grow=MAX to the a multiple of the now smallest drive.

Hmm, that reminds me I was meaning to ask - before I have to go to a customer's premises and try it - if I have a CentOS 5 system with 0.90 metadata and type fd partitions with RAID-5 over 3 discs, and I want to grow it by replacing the drives, if I dd small partitions onto larger ones and 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?

Cheers,

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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux