growing an array with mdadm
Yes, but that is not what I need. First of all, the drive I'm replacing has failed, and therefore cannot be accessed. Second, I know how to replace and recover a drive in a RAID, what I actually want to do is to grow the array once all the replacement drives have become bigger. This can be done using the 'mdadm' command - I actually don't know the complete syntax and I'm not near a linux box at this time, but the man page for mdadm documents it well. The man page also says that growing the array does NOT necessarily grow the filesystem built on top of the array.
SOOOOOOOO...
What I want to know is how to grow the filesystem without majorly mucking everything up. It's too late for me now, because I already majorly mucked up the RAID and lost most of my data, but for the future I want to know how to do this properly. The only thing I can really think of is to insert the new drive into the array and let it recover fully. Then, copy the whole filesystem onto another drive or onto some backup somewhere. Then, rebuild the filesystem on the RAID to the bigger size. However depending on the size of the RAID, this might not be feasible given one's backup resources.
Any information on this topic, is of course, very welcome...
|