On Tue, Sep 13, 2011 at 12:41 PM, Anton Aylward <opensuse@antonaylward.com> wrote:
Otto Rodusek said the following on 09/13/2011 11:14 AM:
I have a very unusual problem where fdisk reports one size BUT df reports a TOTALLY different and unexpected size. Besides doing a full backup, repartition, reformat and restore, is there anything else I can try first??
Apples and Cucumbers. No even the shape, not even both a kind of fruit. Two totally different things.
Not all file systems are on disk.
When a file system is in a disk partition it doesn't have to fill the whole partition
When a file system does fill a whole partition the amount of data will not be the same size as the partition because of the structural metadata that is part the file system.
Sorry, what is your problem? Based on the data I don't see a problem.
Anton, Did you "look" at his email? His /dev/sda2 partition is reported as almost 1TB by various partitioning tools (972GB per one of them) df (not du) reports that partition as 22GB: /dev/sda2 22G 17G 4.2G 81% / That is not just a missing 5 or 10%. He is missing more than 95% of his potential space. I know how to force a filesystem to fill less than 5% of a partition, but it certainly isn't normal. Then sda1 is supposedly 25GB per the partition table, but df shows it much less: /dev/sda1 15G 7.8G 6.6G 54% /windows/C If that were my computer, I'd be very confused as well. == Back to OPs question. I'd make a backup immediately if you don't already have one. Then use fsck on /dev/sda2 to verify the consistency of your file systems. (Boot windows to check out /dev/sda1). If all looks good you can grow your ext filesystem to fill the partition. Use "resize2fs /dev/sda2". You can do the same for your Windows C: drive. If you're running Vista or Win7 you can do that inside the native OS. There I'd reboot and do it there. I let you google for the details on that. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org