On Friday June 23, pernegger@xxxxxxxxx wrote: > > Why would you ever want to reduce the size of a raid5 in this way? > > A feature that would have been useful to me a few times is the ability > to shrink an array by whole disks. > > Example: > > 8x 300 GB disks -> 2100 GB raw capacity > > shrink file system, remove 2 disks = > > 6x 300 GB disks --> 1500 GB raw capacity > This is shrinking an array by removing drives. We were talking about shrinking an array by reducing the size of drives - a very different think. Yes, it might be sometimes useful to reduce the number of drives in a raid5. This would be similar to adding a drive to a raid5 (now possible), but the data copy would have to go in a different direction, so there would need to be substantial changes to the code. I'm not sure it is really worth the effort I'm afraid, but it might get done, one day, especially if someone volunteers some code ... ;-) NeilBrown > Why? > > If you're not backed up by a company budget, moving data to an new > array (extra / larger disks) is extremely difficult. A lot of cases > will hold 8 disks but not 16, never mind the extra RAID controller. > Building another temporary server and moving the data via Gigabit is > slow and expensive as well. > > Shrinking the array step-by-step and unloading data onto a regular > filesystem on the freed disks would be a cheap (if time consuming) way > to migrate, because the data could be copied back to the new array a > disk at a time. > > Thanks, > > C. > - > 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 - 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