LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2002, 01:05 PM   #1
ReSync
Member
 
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Rep: Reputation: 15
What size and what type of partitions?


Hi!

I'm trying to install RedHat 6.1 but I don't what type of partionion's I should make ond how big they should be... Could anybody please help me?
 
Old 06-16-2002, 01:11 PM   #2
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
Unless you have multiple hard drives, there's very little value in having more than two partitions. One that is twice as big as your physical memory for swap, and the rest mounted at /

Regards
 
Old 06-16-2002, 01:17 PM   #3
basd
Member
 
Registered: Apr 2002
Location: Riverside CA USA
Distribution: SuSE 11
Posts: 83

Rep: Reputation: 15
There are different concepts about this. Absolute minimum, you need /root and /swap. Some writers recommend making different partitions for the standard user areas, such as /var, /home. The advantage is that you can then re-do the /root partition without redoing the others. Whatever I "guess" as the right size for my linux /root, I always guess wrong and run out of space, so I like to give it everything but the swap space. Swap should be roughly 2x your ram unless you have more than 512megs. I have 256megs., 512megs swap, but it doesn't really seem to get used very much -- when I check, the swap is usually empty.

There are several file systems and I am no expert. This is what I seem to have found out: EXT2 is obsolete unless you have something requires specifically EXT2. EXT3 and ReiserFS have replaced EXT2 (and there some other ones as well.) EXT3 and ReiserFS are "journaling" systems that allegedly avoid the need to "scandisk" and "defragment" that you end up with on a VFAT (Windows) partition. "Journaling" sort of caches disk transactions and cleans them up in the background. Some people have nevertheless reported "fragmentation" issues under journaling systems, but so far it ReiserFS is working fine for me.

If you are installing to an existing Windows harddisk, there may be some problems. I did one install (partitioned by the Mandrake partitioner) and when I ran Windows defrag it killed the Linux partition. I then used Partition Magic to make partitions before installing Linux -- I made EXT2 and swap partitions with Partition Magic and then changed EXT2 at install time. Seems to be working -- anyway, has survived "thorough scan" and "defrag" on the Windows partition.
 
Old 06-16-2002, 01:17 PM   #4
ReSync
Member
 
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Original Poster
Rep: Reputation: 15
and how big should the swap be?
 
Old 06-16-2002, 01:19 PM   #5
ReSync
Member
 
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Original Poster
Rep: Reputation: 15
Whoops. Thanks basd! You I didn't see you're replie because I was writing mine..... :P
 
Old 06-16-2002, 01:23 PM   #6
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
[QUOTE]Originally posted by basd
EXT2 is obsolete unless you have something requires specifically EXT2. EXT3 and ReiserFS have replaced EXT2 (and there some other ones as well.) EXT3 and ReiserFS are "journaling" systems that allegedly avoid the need to "scandisk" and "defragment"QUOTE]

1) ext2 is not obselete. ext2 is an extremely well tested filesystem. If you want stability, use it.

2) rfs and ext3 do not avoid the need to "scandisk", they just alter the conditions which would make it necessary.

3) Fragmentation is a natural occurance on any filesystem. ext2 and ext3 make intelligent guesses that reduce fragmentation. Some reiserfs options (clustered tails, for example) can help reduce fragmentation. None of these filesystems can eliminate it.

Last edited by MartBrooks; 06-16-2002 at 01:24 PM.
 
Old 06-16-2002, 02:21 PM   #7
basd
Member
 
Registered: Apr 2002
Location: Riverside CA USA
Distribution: SuSE 11
Posts: 83

Rep: Reputation: 15
I think those are accurate corrections of my earlier post.

For instance, my Mandrake install will do a scan if there has been an abnormal shutdown.

Martin -- can you identify linux scan and defragment tools? I put this question to support for one Linux distribution and got told they were unnecessary. I haven't been able to find anything on it with various web searches. (My discussion of file systems was based on information from the same source). Also, aren't reiserFS and EXT3 more compact than EXT2?
 
Old 06-16-2002, 02:59 PM   #8
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
The ext2 or 3 equivalent of scandisk is "fsck" with the appropriate parameters.

Both ext2 and ext3 make intelligent guesses to reduce fragmentation. You are unlikely to be in a situation where file fragmentation is the major cause of reduction of performance with ext2 or ext3.

I'm not sure what you mean by "more compact". Reiser has an approach to file storage that can reduce inode wastage by clustering the "tail" of several files on the same inode. This can increase the usable storage area of a filesystem. As you may have read in previous posts, I do not yet believe rfs to be stable.

ext3 does not offer this type of filesystem space saving.

Regards
 
Old 06-17-2002, 02:20 AM   #9
Jalorathalis
Member
 
Registered: May 2002
Location: Brisbane Australia
Distribution: Red Hat 7.0
Posts: 55

Rep: Reputation: 15
when installing redhat 7.0 i found it had problems installing with less than 100 mb swap i had heaps of ram fast cpu etc but i think if you have heaps of ram 512mb 100 mb swap will get you by.
 
  


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
restrict file type & size with vsftpd? zovres Linux - Software 0 06-24-2005 03:23 AM
Partitions Size kopikat Linux - Newbie 1 12-24-2004 10:21 AM
Size and type of linux partition? brumela Linux - General 9 05-12-2004 02:18 PM
What is command for seeing hard disk partitions and its type? AskMe Linux - Newbie 1 10-25-2003 12:42 PM
xterm font size and type centr0 Linux - Software 4 05-24-2003 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:13 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