On 8/8/07, Reg <[EMAIL PROTECTED]> wrote: > Steve Holdoway wrote: > > On Wed, 08 Aug 2007 17:15:19 +1200 > > > >> this is what that gives me: > >> > >> athlon:~ # fdisk -l /dev/hda > >> > >> Disk /dev/hda: 40.9 GB, 40982151168 bytes > >> 255 heads, 63 sectors/track, 4982 cylinders > >> Units = cylinders of 16065 * 512 = 8225280 bytes > >> > >> Device Boot Start End Blocks Id System > >> /dev/hda1 * 1 1020 8193118+ 7 HPFS/NTFS > >> /dev/hda2 1021 4982 31824765 f W95 Ext'd (LBA) > >> /dev/hda5 1021 1111 730926 82 Linux swap / Solaris > >> /dev/hda6 1112 2670 12522636 83 Linux > >> /dev/hda7 2671 4982 18571108+ 83 Linux > >> athlon:~ # > >> > >> > >> Regards > >> Reg > >> > > > > ... so you have 2 partitions allocated to filesystems for linux, /dev/hda6 > > and /dev/hda7, at 12.8GB and 19GB respectively. > > > > df will shouw you which are mounted. I expect that /dev/hda6 is the root > > partition, and ( or is intended to be ) /home. > > > > Steve > > > > > > df command gives this: > > athlon:~ # df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/hda6 12325948 3208224 8491596 28% / > udev 241856 104 241752 1% /dev > /dev/hda7 18279592 9021516 8329524 52% /home > /dev/hda1 8193116 6439788 1753328 79% /windows/C > /dev/hdb1 39052448 18139200 20913248 47% /music > athlon:~ # > > > so yes > > /dev/hda7 is /home but look it says 52% used, which means something is > screwed as after deleting and moving about 10gig of data it should be almost > 100% unused surely.
If you had an 18GByte partition full to overflowing and removed 10GByte then you'd still have 8 remaining in there. the output from the df command shows this. > If this is the problem how to I go about fixing it ?? Remove more files. A useful command is du -s * which will tell you about your Disk Usage, but it does not report on you hidden 'dot' files and directories. For those use this heiroglyph:- find . -print0 | du --si --files - | less ( use a 'q' to get back to the command line ) The number on the left is the size in bytes expressed in human-readable numbers. > My other question is : " why dont I have a /dev/hda3 or /dev/hda4 ? Simply because that's the way the automated installer from your distribution does things. > why does it jump to 5 6 and 7 ? ditto: > Did I stuff something up when I did last install or is that normal? Not really. If you were doing it by hand as it were you could have used a smaller partition for the root partition ( / ) because it's less than a third used. This is how I have partitioned the 80GByte disk in my new ThinkPad ( No 'doze ) [EMAIL PROTECTED] ~ $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda3 964532 27724 887812 4% / udev 10240 220 10020 3% /dev /dev/hda5 13921504 3530296 10391208 26% /usr /dev/hda6 9281024 24256 9256768 1% /home /dev/hda7 13921504 771188 13150316 6% /var /dev/hda8 2320180 160512 2159668 7% /opt /dev/hda9 32964452 1208 32963244 1% /media shm 257104 0 257104 0% /dev/shm As you can see it's not fully installed and hardly used at all. mount ( with no option flags ) is also some what informative. -- Sincerely etc. Christopher Sawtell
