Re: RAID0 to RAID5 upgrade

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

 



On Thu, Mar 01, 2007 at 06:12:32PM -0500, Bill Davidsen wrote:
> I have three drives, with some various partitions, currently set up like 
> this.
> 
>  drive0    drive1    drive2
> 
>   hdb1      hdi1      hdk1
>   \_________RAID1________/
> 
>   hdb2      hdi2      hdk2
>  unused     \___RAID0____/
>   200GB       100GB x 2
> 
>             hdi3      hdk3
>             \___unused___/
>                100GB x 2
> 
> What I want to have is 3 x 200 = 400GB RAID5.
> 
> I would like to avoid copying 200GB of data to another machine and back 

Can't you do the following:

* copy the data from raid0 to hdb2 ( raid0 <= hdb2 you can even do a dd)
* degrade raid1 to only contain drive0
* since you have all your data on drive0, wipe drive1 and drive2 clean, 
create a degraded raid5
* copy stuff from drive0 to the new array (enw fs as well I presume)
* resync the raid5 with drive0


-
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