Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-desktop
Navigation:
Lists: gentoo-desktop: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-desktop@g.o
From: Daniel Gryniewicz <dang@g.o>
Subject: Re: disk partitioning
Date: Tue, 06 Feb 2007 11:19:17 -0500
On Tue, 2007-02-06 at 09:26 +0200, Mikko Husari wrote:
> hi!
> 
> i was wonderin (also tried my luck on perfomance-gentoo,
> but no one home), what kind of partition + fs table would
> be optimal on server and/or desktop. afaik, /usr/portage
> would be on its own partition, and perhaps reiserfs and raid0.
> distfiles should be on a different partition, so it would
> not be in the way of portage itself... but, what about other
> parts of gentoo/linux. and is journaling filesystem over
> striping raid just asking for trouble?
> 

In general, reiserfs is considered dead by the linux kernel guys, and by
it's last remaining maintainer in particular (see
http://linux.wordpress.com/2006/09/27/suse-102-ditching-reiserfs-as-it-default-fs/ for his email...)  So, you probably want ext3 at this point.  There will be an upgrade path from ext3 to ext4, when ext4 is stable.

Running a journaled filesystem is completely orthogonal to the
underlying storage.  You always want a journal on large filesystems,
because otherwise you will have huge (linear with the size of the
filesystem) fsck times.  In addition, a journaled FS is safer than a
non-journaled one, w.r.t. data loss.

Putting /usr/portage on it's own filesystem shouldn't make a huge
difference in performance, especially if it's on the same spindles as
other filesystems.  /usr/portage is a high access file tree, with the
sole exception of syncing.  Other than that, it's relatively low access.
Things like "emerge -auvDN world" hit the metadata cache fairly hard,
but that cache is designed to be fairly quick.  So, putting /usr/portage
on it's own filesystem will generally only make your system less
flexible (even if you use LVM2, which you *definitely* should do).

Personally, I run RAID5 on my system, rather than striping.  It's almost
as fast as striping on all modern systems, and has the huge advantage of
being able to recover from disk failure (of which I've had 2 on that
system over time).  With striping, if a disk goes, you lose everything.

Personally, my partition table looks like this:

/boot - 100M (or 100M + 2 * memory, if I use a swapfile)
swap - 2 * memory (if I don't use a swapfile)
/ - 10G
/home - The rest

Except my file server, which has
/home - 10G
/storage - the rest

I do put PORTAGE_TMPDIR in /home/portage, tho, because that can take
large amounts of disk over time.

Daniel

-- 
gentoo-desktop@g.o mailing list


Replies:
Re: disk partitioning
-- Lindsay Haisley
Re: disk partitioning
-- Mikko Husari
References:
disk partitioning
-- Mikko Husari
Navigation:
Lists: gentoo-desktop: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: disk partitioning
Next by thread:
Re: disk partitioning
Previous by date:
Re: disk partitioning
Next by date:
Re: disk partitioning


Updated Jun 17, 2009

Summary: Archive of the gentoo-desktop mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.