Fedora core1 Linux partition

Posted on 2004-08-18
Last Modified: 2013-12-06
how do i do the partition with fedora core linux with 6 GB memory and 70 GB HDD for web application servers ? Can somebody help me i am new to this area.


Question by:g_prabhaa
  • 3
  • 3
LVL 11

Accepted Solution

Jase-Coder earned 125 total points
ID: 11831979
Hi yeh. When installing your fedora you should have serveral partitions for various security reasons.

I would recommend have the following partitions


One of the reasons for this is so you cant fill your whole disk. ie for example on your /home if you gave it 10gig then the most the users could fil your disk is 1-gig.
You can also restircit users from access some partitions for example you may not wont anyone accessing the /etc or /var partitions. You can change some settings in your /etc/fstab file to do this.

I have /var on a seperate partition because it could file your hdd with log files. / is on a different partition because you may want to stop users accessing it.
The /usr is used to store applications.

When installing fedora you have the option of partitioning this is easy to use and is a GUI application you cant really go wrong.

I run slackware and I have th following partitions


knowing that you can restircit users from parts of your drive by partitioning it you can almostmake an inituitve chocie on what to put on sperate partitions

Hope this helps ya
LVL 40

Assisted Solution

jlevie earned 125 total points
ID: 11833225
I agree with Jase-Coder that you should divvy up the disk, but I differ a bit as to what those partitions should be. It used to make sense to separate / & /usr because it made recovery from disk problems easier, but the use of shared libs and the relaiablity of modern disks has pretty much negated that rationale. The partitioning layout that I'd use for this system would look like:

/boot    100Mb
/           6000Mb
swap   at least 2000Mb
/var      4000Mb
/opt      1000Mb
/home  remainer of the disk

I always tweak the set up of DB servers (postgres/mysql) to place their data in /home and in a like manner the Web sites (and their log files) live in /home. /home & /opt don't have to be overwritten on a re-install of the system, so I want all of the Web site data there.
LVL 11

Expert Comment

ID: 11833764
I was going to add a boot partition but I dunno why I never put it.
BTW jlevie I saw somewhere in a book or article that the swap partition should be double your amount of ram. Is this correct because he would have to have a swap which was 12gig :(
Whenever I have created a swap partition I have never created it double the size of my RAM.
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

LVL 40

Expert Comment

ID: 11834456
Double the amount of ram is recommended in most cases (when physical memory is say less than 1Gb). On a large memory machine (6Gb in this case) one might well never use swap at all. Most of my servers have been sized w/respect to memory such that swap is almost never used (for performance reasons) and so I see no point in allocating a large hunk of disk space to something I won't need. Typically I'll give a machine at a 2Gb swap partiton, regardless of the installed memory. Now if the load on swap was significant on a large memory machine that only had a 2Gb swap I'd increase the amount available if additional memory could not be added.

Author Comment

ID: 12081661
I wish to share the points to both. Thanks for your help guys
LVL 11

Expert Comment

ID: 12083040
I am unsure how you split points maybe jlevie will know
LVL 40

Expert Comment

ID: 12092620
Jeez, I don't think I know. I never use the site from a questioner's side, so I don't know what you see when you Accept an answer. I'm guessing that it should be pretty obvious though.

I'd say to try and even if the points inadvertantly get allocated to one expert I can go back in and reset things and let you try again.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why VNC doesn't work in Redhat? 11 39
parse convert xml feed to text (python) 2 67
Mysql Crashing Intermittently 16 81
VMware Workstation 12 Player 16 36
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now