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