<br><div class="gmail_quote">On Sun, Jul 12, 2009 at 1:47 AM, JK <span dir="ltr">&lt;<a href="mailto:jknapka@kneuro.net">jknapka@kneuro.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
It looks as if GParted resized the partition, but didn&#39;t do anything to<br>
the filesystem.  They&#39;re two different things: a &quot;partition&quot; is a physical<br>
chunk of disk, whereas a &quot;filesystem&quot; is the meta-data that gets written<br>
into a partition&#39;s iron oxide in order to keep track of which parts of the<br>
disk platter are actually in use, and for what.  So the filesystem records<br>
things like, &quot;disk sectors 1 thru 5,000,000 are part of this filesystem&quot;,<br>
and &quot;blocks 1,7, and 8400 belong to file foo.txt&quot;.  Changing the size<br>
of a partition doesn&#39;t do anything to the data ON the partition (the<br>
filesystem); you have to resize the filesystem in order to add the<br>
extra disk space to it.<br>
<br>
-- JK<br>
<div class="im"><br>
Marc Ferguson wrote:<br>
&gt;<br>
&gt; On Sat, Jul 11, 2009 at 9:28 PM, Michael B. Trausch &lt;<a href="mailto:mbt@zest.trausch.us">mbt@zest.trausch.us</a><br>
</div><div><div></div><div class="h5">&gt; &lt;mailto:<a href="mailto:mbt@zest.trausch.us">mbt@zest.trausch.us</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     On Sat, 11 Jul 2009, Brian Pitts wrote:<br>
&gt;<br>
&gt;      &gt; Marc Ferguson wrote:<br>
&gt;      &gt; &gt; [root@fergatron ~]# fdisk -l /dev/sdb<br>
&gt;      &gt;&gt;<br>
&gt;      &gt;&gt; Disk /dev/sdb: 320.0 GB, 320072933376 bytes<br>
&gt;      &gt;&gt; 255 heads, 63 sectors/track, 38913 cylinders<br>
&gt;      &gt;&gt; Units = cylinders of 16065 * 512 = 8225280 bytes<br>
&gt;      &gt;&gt; Disk identifier: 0x0b99f72f<br>
&gt;      &gt;&gt;<br>
&gt;      &gt;&gt;    Device Boot      Start         End      Blocks   Id  System<br>
&gt;      &gt;&gt; /dev/sdb1               1       38913   312568641   83  Linux<br>
&gt;      &gt;&gt; [root@fergatron ~]#<br>
&gt;      &gt;&gt;<br>
&gt;      &gt;&gt; I&#39;m not fully comprehending these outputs. Do they indicate<br>
&gt;     anything of<br>
&gt;      &gt;&gt; significance?<br>
&gt;      &gt;&gt;<br>
&gt;      &gt;<br>
&gt;      &gt; That looks like one (roughly) 320 GB partition to me. You could<br>
&gt;     try to<br>
&gt;      &gt; grow the filesystem by running the following as root<br>
&gt;      &gt;<br>
&gt;      &gt; umount /dev/sdb1<br>
&gt;      &gt; e2fcsk -f /dev/sdb1<br>
&gt;      &gt; resize2fs -p /dev/sdb1<br>
&gt;      &gt; mount /dev/sdb1 /media/backup<br>
&gt;<br>
&gt;     If the kernel is recent enough, and the filesystem is extXfs, it<br>
&gt;     should be<br>
&gt;     growable online.<br>
&gt;<br>
&gt;            --- Mike<br>
&gt;     _______________________________________________<br>
&gt;     Ale mailing list<br>
</div></div>&gt;     <a href="mailto:Ale@ale.org">Ale@ale.org</a> &lt;mailto:<a href="mailto:Ale@ale.org">Ale@ale.org</a>&gt;<br>
<div><div></div><div class="h5">&gt;     <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt;<br>
&gt;<br>
&gt; Well Brian and Folks, 66GB used and 227.4 GB free. Well done.  I don&#39;t<br>
&gt; understand how simply running a resize program fixed my issue. Should I<br>
&gt; have not formatted the drive via GParted? Or was there something I<br>
&gt; should have done in GParted?  Thanks for a little clarification and<br>
&gt; thanks for helping me expand this drive.<br>
&gt;<br>
&gt; The commands worked and I now have<br>
&gt;<br>
&gt; [root@fergatron ~]# e2fsck -f /dev/sdb1<br>
&gt; e2fsck 1.41.4 (27-Jan-2009)<br>
&gt; Pass 1: Checking inodes, blocks, and sizes<br>
&gt; Pass 2: Checking directory structure<br>
&gt; Pass 3: Checking directory connectivity<br>
&gt; Pass 4: Checking reference counts<br>
&gt; Pass 5: Checking group summary information<br>
&gt; DataBackup: 89242/3842048 files (0.5% non-contiguous), 13643580/15360140<br>
&gt; blocks<br>
&gt; [root@fergatron ~]# man resize2fs<br>
&gt; Formatting page, please wait...<br>
&gt; [root@fergatron ~]# resize2fs -p /dev/sdb1<br>
&gt; resize2fs 1.41.4 (27-Jan-2009)<br>
&gt; Resizing the filesystem on /dev/sdb1 to 78142160 (4k) blocks.<br>
&gt; Begin pass 1 (max = 1916)<br>
&gt; Extending the inode table     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>
&gt; The filesystem on /dev/sdb1 is now 78142160 blocks long.<br>
&gt;<br>
&gt; [root@fergatron ~]# mount /dev/sdb1 /media/backup<br>
&gt; [root@fergatron ~]#<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Marc F.<br>
&gt;<br>
&gt; &quot;When life gives me lemons... I make Linuxaide, hmm good stuff!&quot;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
<div><div></div><div class="h5">&gt;<br>
&gt; _______________________________________________<br>
&gt; Ale mailing list<br>
&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
</div></div></blockquote></div><br>Awesome, you folks are  a wealth of knowledge!<br clear="all"><br>-- <br>Marc F.<br><br>&quot;When life gives me lemons... I make Linuxaide, hmm good stuff!&quot;<br><br>