ext3 partition size

George Butler shadowbu at gmail.com
Wed Jan 13 15:27:41 UTC 2010


Andreas.... thanks for the suggestion, I did a *resize2fs -d -p 
/dev/sdb8*  on the partition  and is now showing the size and disk usage 
correctly.

Thanks for your advise.

george

On 12/31/2009 03:39 PM, Andreas Dilger wrote:
> On 2009-12-28, at 23:06, George Butler wrote:
>>     I am running fedora 11 with kernel 2.6.30.9-102.fc11.x86_64 #1 
>> SMP Fri Dec 4 00:18:53 EST 2009 x86_64 x86_64 x86_64 GNU/Linux. I am 
>> noticing a partition on  my drive is reporting incorrect size with 
>> "df", the partition is ext3 size 204GB with about 79GB actual usage, 
>> the "df" result show the partition size to be 111GB, 93GB is missing. 
>> Please advice on what can be done to see why the system is reporting 
>> incorrect partition size.
>>
>> mount: /dev/sdb8 on /srv/multimedia type ext3 (rw,relatime)
>>
>> $ df -hT
>> Filesystem    Type    Size  Used Avail Use% Mounted on
>> /dev/sdb2     ext3     30G  1.1G   28G   4% /
>> /dev/sdb7     ext3     20G  1.3G   18G   7% /var
>> /dev/sdb6     ext3     30G   12G   17G  43% /usr
>> /dev/sdb5     ext3     40G   25G   13G  67% /home
>> /dev/sdb1     ext3    107M   52M   50M  52% /boot
>> /dev/sdb8     ext3    111G   79G   27G  76% /srv/multimedia
>> tmpfs        tmpfs    2.9G   35M  2.9G   2% /dev/shm
>>
>> Parted info:
>>
>> (parted) select /dev/sdb
>> Using /dev/sdb
>> (parted) print
>> Model: ATA ST3500630AS (scsi)
>> Disk /dev/sdb: 500GB
>> Sector size (logical/physical): 512B/512B
>> Partition Table: msdos
>>
>> Number  Start   End     Size    Type      File system  Flags
>>  1      32.3kB  115MB   115MB   primary   ext3         boot
>>  2      115MB   32.3GB  32.2GB  primary   ext3
>>  3      32.3GB  35.5GB  3224MB  primary   linux-swap
>>  4      35.5GB  500GB   465GB   extended
>>  5      35.5GB  78.5GB  43.0GB  logical   ext3
>>  6      78.5GB  111GB   32.2GB  logical   ext3
>>  7      111GB   132GB   21.5GB  logical   ext3
>>  8      132GB   352GB   220GB   logical   ext3
>>  9      352GB   492GB   140GB   logical   ext3
>
> It definitely looks strange.  Did you resize this partition after it 
> was created?  In any case, running "resize2fs /dev/sdb8" should 
> enlarge the
> filesystem to fill the partition.
>
> Cheers, Andreas
> -- 
> Andreas Dilger
> Sr. Staff Engineer, Lustre Group
> Sun Microsystems of Canada, Inc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20100113/b28bc88a/attachment.htm>


More information about the Ext3-users mailing list