On 9/8/06, Ruth Ivimey-Cook <Ruth.Ivimey-Cook@xxxxxxxxxx> wrote:
I messed up slightly when creating a new 6-disk raid6 array, and am wondering if there is a simple answer. The problem is that I didn't partition the drives, but simply used the whole drive. All drives are of the same type and using the Supermicro SAT2-MV8 controller.
This should work: 1. Unmount filesystem. 2. Shrink file system to something a bit smaller. Since it's a big array, 1GB should give you plenty of room. 3. Shrink raid array to something in between the new fs size and old fs size. Make sure you don't shrink it smaller than the filesystem! 4. Remove a disk from the array (fail/remove) 5. Partition disk 6. Add partition back to array 7. Repeat steps 4-6 for all disks in the array. 8. Now the whole array should be on partitions. Grow the raid array back to "max". 9. Grow filesystem to the partition size. -Dave - 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