Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi!
Im having this problem, i have my 80 GB HD partitioned with 57
GB fat 32 lba partition, mandrake control center agrees , but
when i ask 'df' , it says i have 47, even the system says i
ran out of space (in fact i have 10 GB free)
So im wondering if i did something wrong or is there a way 2
solve this?
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Just to make sure you are reading it right use the command ' df -h '.
Not sure how much lose there is for a fat32 format. In ext3 unless options are changed its about 5% of the drive.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
A lot depends on cluster size used on the fat32 format. I just can't find the right page that has the answer for you. I have seen 32 gig partitions end up with less than 30 gig available space. About 3 gig lost for 30 gig. The 10gig lost on the 57 gig might seem large but may not. As far as the clusters go say you use 4k clusters. A file that is 4k -1byte will fill a 4k cluster. A file that is 5k will take up 8k with a lose of 3k of available space. Next file is 7k. first it can not use the lost space in the previous cluster so it starts a new one. So now agian a 7k uses 8k of drive space. Changing cluster size can gain space but only so mant cluster can exist per cluster size.
I know this may not be clear, wish I could find that page about this.
If I find it I will post back.
Brian1
i know what you are saying, however notice the partition size they report:
# df -B 1024
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda6 17465100 12976864 3601048 79% /
/dev/hda1 48598016 42562816 6035200 88% /mnt/win_c
# fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 7455 59882256 c W95 FAT32 (LBA)
/dev/hda2 7456 9729 18265905 5 Extended
/dev/hda5 7456 7520 522081 82 Linux swap / Solaris
/dev/hda6 7521 9729 17743761 83 Linux
df reports 48598016 k in size, not in space available and fdisk reports 59882256 K for the size
The problem is that the system thinks i only have 5.8 GB free, when it should be like 15 GB
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.