Go Back   nV News Forums > Linux Support Forums > General Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-02-03, 08:36 AM   #1
Medic6666
Registered User
 
Join Date: Apr 2003
Posts: 23
Default free space ??

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 is offline   Reply With Quote
Old 08-02-03, 02:21 PM   #2
jaymz
Registered User
 
Join Date: Aug 2003
Posts: 17
Default Re: free space ??

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.

Quote:
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
jaymz is offline   Reply With Quote
Old 08-02-03, 06:56 PM   #3
Medic6666
Registered User
 
Join Date: Apr 2003
Posts: 23
Default Thanks. :)

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
Medic6666 is offline   Reply With Quote
Old 08-04-03, 10:36 AM   #4
jaymz
Registered User
 
Join Date: Aug 2003
Posts: 17
Default Re: Thanks. :)

Quote:
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.
jaymz is offline   Reply With Quote
Old 08-04-03, 11:43 AM   #5
Medic6666
Registered User
 
Join Date: Apr 2003
Posts: 23
Default thanks all.

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
Medic6666 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
ZoneAlarm Free 10.2.064.000 News Latest Tech And Game Headlines 0 06-26-12 11:30 AM
ZoneAlarm Free 10.2.057.000 News Latest Tech And Game Headlines 0 06-18-12 04:40 AM
Space Is Infinite, Time Is Brief: Kinetic Void News Latest Tech And Game Headlines 0 05-24-12 11:30 AM
Saturday Crapshoot: Star Trek: Deep Space Nine News Latest Tech And Game Headlines 0 05-19-12 11:20 AM
Getting your witchcraft and wizardry on for free News Latest Tech And Game Headlines 0 05-12-12 12:00 PM

All times are GMT -5. The time now is 01:16 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.