Computing.Net > Forums > Linux > Partitioning Scheme

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Partitioning Scheme

Reply to Message Icon

Name: iam7805
Date: July 24, 2007 at 16:16:59 Pacific
OS: openSuSE 10.2
CPU/Ram: 800mHZ Duron, 384MB RAM
Product: Custom (ASUS Mobo)
Comment:

I have a machine with two 20GB drives and I'm going to be installing Linux (openSuSE 10.2 downloading ISO right now) as the only operating system on the machine. I just read about partitioning and I think I have a good scheme but I just want to check with some Linux users on the forums first before I run the installer.

All units are in megabytes. Oh, and the partitions are listed from first to last on the drive.

Drive 1:

/ - 9128
swap - 128
/home - 9128
swap - 128
/tmp - 300

Drive 2:

/usr - 9128
swap - 128
/usr/local - 9128
swap - 128
/var - 300

I'm not sure if putting multiple swap partitions between other partitions is common practice, but I think that it'll make the machine slightly faster as the head doesn't have to travel as far to get to a swap partition (because there will always be one right next to the partition currently being accesed).

-iam

The answer to all of the questions you don't want to answer:

Bad Command or File Name



Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: July 24, 2007 at 20:59:21 Pacific
Reply:

I am not a big fan of partitions. Why not let suse do what it wants. Unless you are going to need another OS or XEN or Solaris containers or other real special reasons then I can't see why you'd need more than a swap file if even that.

I read it wrong and answer it wrong too. So get off my case you goober.


0

Response Number 2
Name: ernie
Date: July 24, 2007 at 22:12:39 Pacific
Reply:

I have used Linux since 1998 and the most
useful bit of wisdom I have ever received
was direction to remember the kiss principle
(usually a programmers axiom). KISS is an
acronym for Keep It Simple Sam (you can use
any word starting with the letter S to
replace Sam if you are so inclined).

In the spirit of that wisdom, I use a root
partition, a swap partition, and a /home
partition. If I were to put any other part
of the file system on a separate partition,
it would be /opt, but only if I intended to
install software not included with my
distribution.

Since you have two 20GB drives, you would do
well to create a "/" partition (7 GB), a
swap partition (512 MB), and a third
partition consuming the remaining space on
the first drive. Create a /home partition
using the entire space on the second drive.
Install your Linux distribution using
the "/" and /home partitions described
above. After installation create a directory
under your user account's home directory
(perhaps named storage) and mount the
partition consuming the remaining space on
the first drive to it. This will make over
32GB storage space available for your user
account.

I do not think you will achieve a
significant improvement in performance (or
even a noticable one) by using multiple swap
partitions. Remember, each partition
requires space for the partition table so
more partitions equals less storage space.
You should always have a valid reason for
creating additional partitions.

As an example, using a /home partition
allows you to install a new release of your
chosen Linux distribution when one becomes
available without having to wory about
losing your user configurations or any
original files you have stored in your user
account's home directory. The "/" partition
can be formatted and your /home partition
remains undisturbed.

I hope this is helpful,

Ernie Registered Linux User 247790
ICQ 41060744


0

Response Number 3
Name: Guy
Date: July 26, 2007 at 15:21:07 Pacific
Reply:

You are going to get a different opinion from each and every Linux Admin here. :-)

For example, in you original layout I personally am opposed to /home being where it is.

And I would move /usr back to drive 1. (Let it hang under /).

But your ideas will work. Only actual use and experience can tell you whether you 'guessed' right.

One important note: if this is a 'throw away' system, where you might be frequently reinstalling etc .... you should consider the idea posed by another poster to just let the install do what it wants to. You can fix that up later.

But if it will be an environment where you want to or must preserve user data across different installs, you have the right idea.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Partitioning Scheme

Redhat Linux + mulitple partitions www.computing.net/answers/linux/redhat-linux-mulitple-partitions/14873.html

Red Hat 7.2 Partition Problem www.computing.net/answers/linux/red-hat-72-partition-problem/13464.html

need some partition help www.computing.net/answers/linux/need-some-partition-help/896.html