Did you resize your partition before trying to resize the filesystem with resize2fs?<br><br>-Andy<br><br><div class="gmail_quote">On Tue, Aug 31, 2010 at 10:07 AM, Yaron <span dir="ltr"><<a href="mailto:tclug@freakzilla.com">tclug@freakzilla.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Anyone here use software RAID and use mdadm to expand an array?<br>
<br>
I used to have a RAID0 array with two disks, and tried to grow it... only<br>
to find you can't add devices to a RAID0 (no idea why, it seems like it'd<br>
be the easiest!) Anyway, I had to use the two additional disks to make a<br>
RAID5 array (by splitting them into two partitions each), copy all the<br>
data to THAT one and then grow it using the original RAID devices.<br>
<br>
Yeah, bit of a mess, and I eventually got the RAID5 built, let that run<br>
for a bit to make sure it actually works, then nuked the old RAID0, split<br>
one of the drives into partitions the same size I'm using for the RAID5<br>
volumes, and added them to the current array.<br>
<br>
That all went well, except when I tried to resize the filesystem,<br>
resize2fs says it's already at maximum.<br>
<br>
I do notice from /proc/mdstat that the array is "reshaping" (and it's<br>
going to take forEVER) and I'm wondering if resize2fs isn't supposed to<br>
work until that's done.<br>
<br>
If that's NOT the case and it's supposed to be able to resize the<br>
filesystem as soon as I've grown the array, then either somethng's wrong<br>
or I've missed something. I've followed the Linux RAID Wiki's instructions<br>
and have no indication of either of those though.<br>
<br>
Anyone?<br>
<br>
<br>
<br>
-Yaron<br>
<font color="#888888"><br>
--<br>
<br>
_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
</font></blockquote></div><br>