nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   free space ?? (http://www.nvnews.net/vbulletin/showthread.php?t=15833)

Medic6666 08-02-03 09:36 AM

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

jaymz 08-02-03 03:21 PM

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


Medic6666 08-02-03 07:56 PM

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

jaymz 08-04-03 11:36 AM

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.

Medic6666 08-04-03 12:43 PM

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


All times are GMT -5. The time now is 04:44 AM.

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