[sf-lug] Partition resizing problem

Hayden Muhl haydenmuhl at yahoo.com
Fri Mar 19 14:40:46 PDT 2010


I've got Ubuntu 9.04 installed on /dev/sda1.  When I originally partitioned the drive I didn't make the partition large enough (~4 GB).  On the advice of someone else, I used gparted to expand the partition (now ~8 GB).  The problem I'm having is that the file system seems to think it's still on a 4 GB partition and still won't let me store more files.

Here's some relevant output.  Pay attention to sda1.

> df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             3.8G  3.6G     0 100% /
tmpfs                 249M     0  249M   0% /lib/init/rw
varrun                249M  104K  249M   1% /var/run
varlock               249M     0  249M   0% /var/lock
udev                  249M  164K  249M   1% /dev
tmpfs                 249M   84K  249M   1% /dev/shm
lrm                   249M  2.2M  247M   1% /lib/modules/2.6.28-17-generic/volatile
/dev/sdb2             193G  5.6G  177G   4% /home
overflow              1.0M   12K 1012K   2% /tmp
/dev/sdc1             488M  224M  265M  46% /media/disk


(parted) print                                                            
Model: ATA SAMSUNG SP4002H (scsi)
Disk /dev/sda: 40.1GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  8225MB  8225MB  primary  ext2         boot 
 4      8225MB  39.5GB  31.3GB  primary  ext2              
 3      39.5GB  40.1GB  576MB   primary  linux-swap


Any hints on what I need to do to get the filesystem on sda1 to use the full 8 GB?

- Hayden



      




More information about the sf-lug mailing list