LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-07-2004, 04:35 PM   #1
majicrobot
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Rep: Reputation: 0
Partition help


Folks,

I have 140 GB harddisk with three partitions(/data0 70 GB, / 10 GB, Swap 8 GB) on Redhat Linux ES 3 machine.

I didn't partition the remaining 52 GB space and how could I find the remaining space in Linux and use it for my applications?

Thanks

Robot
 
Old 10-07-2004, 05:14 PM   #2
tokyoeye
Member
 
Registered: Oct 2003
Location: Amsterdam
Distribution: gentoo,debian
Posts: 47

Rep: Reputation: 15
use 'cat /proc/filesystems' to check the layout of your harddrive.
In order to use the available space you will have to format it. Use mke2fs (for an ext2 file system), mke3fs (for a journalling ext3 filesystem) or mkreiserfs (for the reiserfs file system) to create a usable partition. You can also use more obscure filesystems but these few are most common in linux-world.
after formatting the drive you can mount it to any place you like.
 
Old 10-07-2004, 05:15 PM   #3
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
How to partitioning is very subjective, but here is my suggestion:

That depends on whether you want to create more partitions (i.e. one for /usr and /opt) or just want to increase the size of /. Generally you don't want to create partitions bigger than a certain size to speed ratio for reliability and maintenance reasons. If all your software comes prepackaged, I would suggest
creating a new partition for /usr (~10Gb). If you're not a fan of package managers and install packages from source, then maybe you should have 1Gb for /usr and 10Gb for /opt (or whereever you install custom built packages). Also you would want to create a partition for home which should get the lions share of space (consider shrinking /data0).


The easiest to use free partition manager that I know of is bootit (www.terabyteunlimited.com).
To use it, download it and create a boot disk from it and boot from it. At the intro screen, press escape or hit cancel and then go to the partition work dialog. The rest should be self explanatory.

8 Gb for swap? Are you cray? Even 512Mb is almost more than you'll ever need, not to mention that Linux 2.6 doesn't support swap partitions larger than 2Gb as far as I remember. Linux's swapping behavior is different from Windows. Windows tries to swap more so that there is more memory available (probably because it has inefficient memory management) while Linux needs much less swap space since its swap behavior is a lot more conservative.
 
Old 10-07-2004, 05:38 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Before you can use the 52G of space you will need to partition it and format it. You can log into root, run cfdisk, partition the space, and then format the space using whichever file system you prefer. Please see the man pages for cfdisk for more info, but it's a pretty simple tool to use. As already noted, partitioning is a highly subjective topic, and everyone has their own ideas as to which is "best". There is no right or wrong answer.

I'll have to agree that an 8G (!!!) swap space is just flat out WAY too much. Unless you are running on only 64Mg of RAM or less, a 256Mg swap (give or take) should be plenty. Otherwise you're just wasting disk space. Good luck with it -- J.W.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee SUSE / openSUSE 20 10-31-2005 07:30 AM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 01:31 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-28-2003 11:16 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration