[wplug] partition question
coldfire
rolick571 at duq.edu
Fri Oct 4 10:46:13 EDT 2002
> I have a 40 GB hard drive that I split down the middle (20GB
> windows/20GB Linux). I set aside 11GB for /usr/local (/dev/hda3) and 2GB
> for /usr (/dev/hda6). I have downloaded some large files (~1GB total)
> onto /usr/local/ that should not have filled up its space but it did.
> Here is the output of fdisk (clipped for length) and modified to include
> the mount point.
> Mount Point Device Boot Start End Blocks Id System
> c: /dev/hda1 * 1 2433 19543041 7 HPFS/NTFS
> / /dev/hda2 2434 2554 971932+ 83 Linux
> /usr/local/ /dev/hda3 2555 3950 11213370 83 Linux
> /dev/hda4 3951 4864 7341705 5 Extended
> /home /dev/hda5 3951 4450 4016218+ 83 Linux
> /usr /dev/hda6 4451 4700 2008093+ 83 Linux
> /var /dev/hda7 4701 4825 1004031 83 Linux
>
> Now, here is the output of 'df' run as root.
>
> >>
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/hda1 19543040 9466155 10076886 49% /dosc
> /dev/hda2 941428 642316 250516 72% /
> /dev/hda3 1945132 1910504 0 100% /usr/local
> /dev/hda5 3890292 407028 3282456 12% /home
> /dev/hda6 1945132 1910504 0 100% /usr
> /dev/hda7 972532 39068 883264 5% /var
>
> Here's the output of fstab
>
> /dev/hda1 /dosc ntfs defaults 1 0
> /dev/hda2 / ext2 defaults 1 1
> /dev/hda3 /usr/local ext2 defaults 1 1
> /dev/hda5 /home ext2 defaults 1 1
> /dev/hda6 /usr ext2 defaults 1 1
> /dev/hda7 /var ext2 defaults 1 1
>
> So, can somebody explain to this Linux newbie why I don't have the space
> on /usr/local like I think I do?
from a glance, i can't really tell you exactly what is wrong ... but i do
know that the slight discrepency in the block sizes between fdisk and df
can be explained by the fact that a certain percentage of a partition is
"reserved" for root. 'man mkfs.ext2' might tell you a bit more about it
.. i'm not certain of a way to check how much of the partition is reserved
though. might be worth looking into. good luck
coldie
More information about the wplug
mailing list