Ubuntu Truncating Disk Partitions

Ben2K ben2k_xsxl at trashmail.net
Mon May 26 23:58:35 UTC 2008


 I recently swapped out my laptop harddrive for a larger 160GB model. I
first created the partitions I wanted, significantly expanding /home and
/usr/local. Then I copied everything with Clonezilla. After some boot
difficulties, I got everything running.

The problem is that the /home and /usr/local partitions (/dev/sda8 and
/dev/sda9) are sized at 40GB and 45GB. respectively. Both are ext3. This
info is correctly reported by fdisk, gparted, and even Nautilus. But when I
do a df, or try to use the space, df reports that both partitions have been
truncated to 9.9GB!

sudo fdisk -l shows:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00134d85

   Device Boot      Start            End          Blocks      Id    System
/dev/sda1   *              1          4079     32764536      7    HPFS/NTFS
/dev/sda2             4080       19457   123523785      5    Extended
/dev/sda5           18805       19457       5245222+   82   Linux swap /
Solaris
/dev/sda6             4080         4210       1052194+   83   Linux
/dev/sda7             4211         4993       6289416     83   Linux
/dev/sda8             4994       10215     41945683+   83   Linux
/dev/sda9           10216       16089     47182873+   83   Linux
/dev/sda10         16090       18804     21808206       b   W95 FAT32

 df -h shows:

Filesystem            Size    Used    Avail    Use%      Mounted    on
/dev/sda7            6.0G     3.1G    2.6G    55%       /
varrun                502M    108K    501M      1%       /var/run
varlock               502M          0    502M      0%       /var/lock
udev                   502M     72K    502M      1%       /dev
devshm              502M      12K    502M       1%     /dev/shm
lrm                     502M      38M    464M       8%
/lib/modules/2.6.24-16-generic/volatile
/dev/sda10          21G     4.3G    17G       21%     /NTFS
/dev/sda1            32G     24G    8.3G       74%     /Windoze
/dev/sda6        1012M     69M   892M         8%     /boot
/dev/sda8           9.9G    8.7G   742M       93%     /home
/dev/sda9           9.9G    8.7G   739M       93%     /usr/local

BTW, I'm running kernel 2.6.24-16-generic and Ubuntu 8.04, Hardy.

How do I fix this, and get access to the missing space?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080526/c6e5ca66/attachment.html>


More information about the ubuntu-users mailing list