Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-13-2008, 09:19 PM   #1
LQ Newbie
Registered: Jun 2001
Posts: 11

Rep: Reputation: 0
Linux/df does not show full space


I have installed FC8 in my machine. One of my ext3 partitions have 40 GB of space. But neither Linux nor df recognizes the actual partition capacity. df says that the partition has only 9.2 GB of space. What could be the reason for this?. I've included the output of fdisk & df in this. The partition I'm talking about is sda8.


[root@localhost ~]# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x03660366

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1306 10490413+ 7 HPFS/NTFS
/dev/sda2 1307 9729 67657747+ f W95 Ext'd (LBA)
/dev/sda5 1307 2080 6217123+ b W95 FAT32
/dev/sda6 2081 3296 9767488+ 83 Linux
/dev/sda7 3297 3297 8001 82 Linux swap / Solaris
/dev/sda8 3298 8404 41021946 83 Linux
/dev/sda9 8405 9729 10643031 83 Linux

[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda9 10G 2.5G 7.1G 27% /
tmpfs 502M 12K 502M 1% /dev/shm
/dev/sda5 6.0G 83M 5.9G 2% /mnt/d
/dev/sda6 9.2G 3.0G 5.8G 35% /mnt/debian
/dev/sda8 9.2G 8.9G 0 100% /mnt/data
Old 02-13-2008, 09:57 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,705

Rep: Reputation: 245Reputation: 245Reputation: 245
Did you transfer data on to sda8 from another partition using the dd command, eg:

# dd if=/dev/sdb5 of=/dev/sda8

In the above example if sdb5 was 10GB and sda8 40Gb, everything on sdb5 would be transfered to sda8 but when you mounted sda8, df would report the size of sda8 as 10GB and, in fact, only 10GB would be available on sda8 for writing data.
Old 02-13-2008, 11:12 PM   #3
LQ Newbie
Registered: Jun 2001
Posts: 11

Original Poster
Rep: Reputation: 0
No. I haven't used the dd command for copying something to the device.
Old 02-13-2008, 11:44 PM   #4
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
Well I wonder if maybe it's something to do with the FAT system (I'm no expert in winblows), but how is it that your second partition (/dev/sda2) comprises the remainder of the drive, i.e. from 1307 to 9729, and there are other partitions that occupy the same space? did you somehow make logical linux ext3 partitions inside of your windows FAT partition?
Old 02-14-2008, 01:51 AM   #5
LQ Newbie
Registered: Jun 2001
Posts: 11

Original Poster
Rep: Reputation: 0
Well the second partition is actually an extended partition and partitions sda5- sda9 are within this extended partition. Perhaps the mkfs.. would have some bugs right?? OR is there any limitation??
Old 02-14-2008, 02:43 AM   #6
LQ Newbie
Registered: Jun 2001
Posts: 11

Original Poster
Rep: Reputation: 0
Well, as expected the problem was with mkfs... I have rerun mkfs.ext3 and the problem got fixed....
Old 02-14-2008, 03:18 AM   #7
Registered: Aug 2006
Location: Vancouver, BC, Canada
Distribution: Slackware, Mint, Debian
Posts: 237

Rep: Reputation: 29
I think you are hitting some sort of 32GB boundary/limit!!

Some drives used to have a jumper for limiting them to 32GB(??) for use on older systems!
I have heard of some weird problems with such drives.
Can you tell us your hardware?

Or the problem could be your Win32 Extended partition being 60GB in size!
MS had limited Fat32 patitions to 32GB, but that was a political/financial decision, not a technical one (or so I thought)!

Disregard this post above since mkfs fixes the problem.

Last edited by roy_lt_69; 02-14-2008 at 03:22 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ps doesn't show the full command line OlRoy *BSD 2 01-29-2007 09:34 PM
How can I show the full names on my desktop? mehmetunlu Linux - Newbie 3 02-14-2006 06:55 AM
Nvidia G4 with TV-Out (TV won't show full screen) MasterC Linux - Hardware 7 08-02-2003 10:50 AM
Anyway to make smbclient show full name of share? chemzar Linux - Networking 0 05-13-2003 12:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration