Link to home
Start Free TrialLog in
Avatar of ploppin
ploppin

asked on

Easy, Available hard drive space.

I am running Mandrake 7.0.
I have a 15Gig HD, a installation of Mandrake 7.0 and almost nothing else. I tried copying a large file from /mnt/cdrom to a directiory that I created on the hard drive (/root/cdrom) and I made the permissions 777. The 'File Manager' that I was using told me that I had 35Megs space left before I tried copying this file. I KNOW that I should have at least 13Gigs to play with. Shure enough the file pooped-out saying there was an I/O error. WHERE is all the hard drive space that I bought with the 15Gig HD??
Avatar of Skeez
Skeez

Could you please send the results of the "df" and the "mount" command both without arguments? Also the "fdisk -l" result could be interesting.
Avatar of ploppin

ASKER

Will do, it will probably be later today or Sat. Thx Skeez.
probably mandrake divided your 15 gig drive into smaller partitions.  /boot is probably pretty small (pretend it's like an E: drive partition).  /usr is probably pretty big, so is /home, /root is probably fairly small.  Lots of unix installations are done this way.  You can have one monster partition mounted at / but it's not often done this way.  You still have 15 gigs but as skeez says, 'df' will tell you WHERE the 15 gigs are.  when you look at the last column, /boot will be a separate section of your drive that LOOKS LIKE a subdirectory, /root will be another separate partition of your drive with a fixed size that LOOKS LIKE another subdirectory, etc.
Now, asuming Mandrake 7.0 has similar instructions to 6.1, and you followed the 'advice' from the installation guide, this is what it says after creating partitions specified (I presume you partitoned your HD?):-

'Indicate the mount point of this partition.  This is the directory to which it will correspond.  In all Unix systems,
the root directory is "/" from which all other directories will stem (under Linux, these are:- /bin /etc /opt/ sbin /var /boot /home /proc /tmp /dev /lib /usr etc.)...'

Now, later on is these instructions:-

.... /home, for the partition for personal user directories (this is highly recommended)  !!!

Now what I done on my install was partition my 3.5 GB 50%/50% and mounted /home on hda3... thus:-

/all the rest = 1.4GB [hda2]
/home = 1.6GB [hda3]

The 'missing' space is boot, swap etc.

I bet your installation made a mount point on a partition like this - hence where the 'free space' is.

Nick


Avatar of ploppin

ASKER

Skeez, here is the output of the commands:

/root:>df
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda5             1.4G  1.3G   37M  97% /
/dev/hda1              15M  911k   13M   6% /boot
/dev/hda7              12G   24M   12G   0% /home

/root:>mount
/dev/hda5 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda1 on /boot type ext2 (rw)
/dev/hda7 on /home type ext2 (rw)
/mnt/floppy on /mnt/floppy type supermount (rw,fs=vfat,dev=/dev/fd0)
none on /dev/pts type devpts (rw,mode=0620)
/mnt/cdrom on /mnt/cdrom type supermount (rw,fs=iso9660,dev=/dev/cdrom)

/root:>fdisk -l
Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda  (for the first IDE disk)
   or: fdisk /dev/sdc  (for the third SCSI disk)
   or: fdisk /dev/eda  (for the first PS/2 ESDI drive)
   or: fdisk /dev/rd/c0d0  or: fdisk /dev/ida/c0d0  (for RAID devices)
   ...
/root:>

I did find "4.0Gb" in the /home directory see below:

My Computer
-
---Root (38.4 Mb)
-     -
-     -
-     -home (4.0Gb)
-     -
-     -root (38.4 Mb)
-
-
-home (38.4 Mb)

Hope that you can follow my 'tree' drawing.
What is up with the / or the /root or the /root/root ? Will the real root please stand up? What is the deal with 'My Computer'? I still want the other 9Gb.
Let me know what you think Skeez.
Thanks, Ploppin.
ASKER CERTIFIED SOLUTION
Avatar of Skeez
Skeez

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial