The Hunter
Limp Gawd
- Joined
- May 29, 2002
- Messages
- 414
Okay, so I'm a bonehead and just did something very stupid.
I have a 3x500GB raid array and I put in another 500GB disk and went to grow the array.
First I added the new disk the the array
no problem.
Next, I went to grow the array, but foolishly I entered 5 instead of 4 for the number of devices:
I wouldn't expect it to work, but it went ahead and started to reshape the array from 3 disks to a 5 disk degraded array, even with only 4 disks present. I didn't realize what I had done until about 5 minutes later.
The good news is that presumably all my data will be intact, but I'm uncomfortable running the array in a degraded status.
So my question, is there anyway to safely cancel a raid5 expand? From my preliminary googling, it doesn't seem possible (and I know it's not possible to shrink an array). Is there any way of salvaging this aside from letting the expand continue, moving my data off the array and rebuilding from scratch?
I have a 3x500GB raid array and I put in another 500GB disk and went to grow the array.
First I added the new disk the the array
Code:
mdadm --add /dev/md0 /dev/sde
Next, I went to grow the array, but foolishly I entered 5 instead of 4 for the number of devices:
Code:
mdadm --grow /dev/md0 -n [B]5[/B]
I wouldn't expect it to work, but it went ahead and started to reshape the array from 3 disks to a 5 disk degraded array, even with only 4 disks present. I didn't realize what I had done until about 5 minutes later.
The good news is that presumably all my data will be intact, but I'm uncomfortable running the array in a degraded status.
So my question, is there anyway to safely cancel a raid5 expand? From my preliminary googling, it doesn't seem possible (and I know it's not possible to shrink an array). Is there any way of salvaging this aside from letting the expand continue, moving my data off the array and rebuilding from scratch?