View Full Version : free space ??
Medic6666
08-02-03, 10:36 AM
I have noticed that I have a partition called freespace that RH9 has created.
http://www.mysite123.co.uk/temp/freespace.html
how do I get to use it?
Cheers
Medic6666
That is the free space on your hard drive. (read: unpartitioned) you must partion it, create a filesystem on it, and mount it before you can use it.
EX: (as root)
# parted /dev/hda
> mkpartfs primary ext2 1021 37040
> quit
# tune2fs -j /dev/hda3
# vi /etc/fstab
(add this line to the bottom of the file)
/dev/hda3 /mnt/medic ext3 defaults 1 2
(then save the file)
# mkdir /mnt/medic
# mount /mnt/medic
# df -h
you should then see your new partition.
Originally posted by Medic6666
I have noticed that I have a partition called freespace that RH9 has created.
http://www.mysite123.co.uk/temp/freespace.html
how do I get to use it?
Cheers
Medic6666
Medic6666
08-02-03, 08:56 PM
what does the df -h do?
I have now created the partition and mounted it.
but did not do the tune2fs and the df -h
do I need these?
cheers
Medic6666
Originally posted by Medic6666
what does the df -h do?
I have now created the partition and mounted it.
but did not do the tune2fs and the df -h
do I need these?
cheers
Medic6666
The "df -h" command just shows you information about your mounted disks. on my computer, it looks like this:
[jaymz@localhost jaymz]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 2.9G 257M 2.4G 10% /
/dev/sda1 4.8G 2.2G 2.4G 47% /home
none 125M 0 124M 0% /dev/shm
/dev/hda3 2.5G 1.6G 880M 65% /usr
/dev/sda2 3.8G 1.2G 2.5G 32% /usr/local
/dev/sda3 8.2G 33M 7.7G 1% /backup
[jaymz@localhost jaymz]$
what the "tune2fs -j " command does, it converts the filesystem from ext2 to ext3. ext3 is just an extension to the standard ext2 filesystem, except it supports journaling, which provides better protection against filesystem corruption.
Medic6666
08-04-03, 01:43 PM
I decided to save time and used webmin to do it all.
I however made some notes on this so if I need to do it again I can now try and do it the command line way.
Thanks again.
Medic6666
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.