I tried option 1 (using gparted), and for some reason, the resize option wasn't available. I think what I'm looking for is resize2fs. I'm guessing I can't have the drive mounted when I run this?<br><br><div>
<span class="gmail_quote">On 6/24/07, <b class="gmail_sendername">Josh More</b> <<a href="mailto:morej@alliancetechnologies.net">morej@alliancetechnologies.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You have two options.<br><br>1) Use "parted" to resize both the partition and the filesystem on it.<br>2) Use "fdisk" to resize the partition, "partprobe" to read the new<br>partition, and "resize2fs" to resize the partition.
<br><br>Best is to use option 1, unless it errors on you, at which point you can<br>fall back to option 2.<br><br>It is common for option 1 to error on you if you have certain older<br>versions of parted (circa RHEL3), or if you have in excess of 2GB of
<br>RAM, and are *not* running a BIGMEM kernel. That last one took me far<br>too long to figure out.<br><br><br><br>-Josh More, RHCE, CISSP, NCLP, GIAC<br> <a href="mailto:morej@alliancetechnologies.net">morej@alliancetechnologies.net
</a><br> 515-245-7701<br><br>>>> "Tim Wilson" <<a href="mailto:tim_linux@wilson-home.com">tim_linux@wilson-home.com</a>> 06/24/07 7:25 PM >>><br>Along these same lines, how do you expand an ext3 partition? I swear
<br>I've<br>done this before, but I can't remember what I did.<br><br>On 6/8/07, Todd Walton <<a href="mailto:tdwalton@gmail.com">tdwalton@gmail.com</a>> wrote:<br>><br>> On 6/8/07, Tim Wilson <<a href="mailto:tim_linux@wilson-home.com">
tim_linux@wilson-home.com</a>> wrote:<br>> > Would I be able to resize with gparted? It is on my KUbuntu disc.<br>><br>> I shrunk an NTFS partition with parted 1.7.1. It's supposed to<br>> expand, too, though I'm not sure why you'd want more of *that* in the
<br>> world.<br>><br>> -todd<br>> _______________________________________________<br>> Cialug mailing list<br>> <a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>> <a href="http://cialug.org/mailman/listinfo/cialug">
http://cialug.org/mailman/listinfo/cialug</a><br>><br><br><br><br>--<br>Tim<br><br>_______________________________________________<br>Cialug mailing list<br><a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br><a href="http://cialug.org/mailman/listinfo/cialug">
http://cialug.org/mailman/listinfo/cialug</a><br></blockquote></div><br><br clear="all"><br>-- <br>Tim