From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.43)
	id 1E9xnp-0007r6-Id
	for garchives@archives.gentoo.org; Tue, 30 Aug 2005 04:32:53 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7U4TxEC000594;
	Tue, 30 Aug 2005 04:29:59 GMT
Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194])
	by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7U4Q1Gc006955
	for <gentoo-user@lists.gentoo.org>; Tue, 30 Aug 2005 04:26:02 GMT
Received: by zproxy.gmail.com with SMTP id x7so730889nzc
        for <gentoo-user@lists.gentoo.org>; Mon, 29 Aug 2005 21:28:04 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=acX3VAcKeIqoICRdJ+t6+GxRHhL8//YrFpLL6WCwqftCAxWzRBtH8iox2ue+N1ZFz206Ou7YjN5Q5kgdnG29A95QuMxoJoO8hbNWTKcXTQVcWvRu5pX+aqVSfQyMIJTI4KCU3aFTlV1ctTUcGW6Lj/s3gszIn0fsO2kiU2alDtw=
Received: by 10.36.153.7 with SMTP id a7mr1407972nze;
        Mon, 29 Aug 2005 21:28:04 -0700 (PDT)
Received: by 10.36.60.4 with HTTP; Mon, 29 Aug 2005 21:28:04 -0700 (PDT)
Message-ID: <5bdc1c8b05082921287f3d5344@mail.gmail.com>
Date: Mon, 29 Aug 2005 21:28:04 -0700
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] lvm2/external partitions question
In-Reply-To: <1125367634.20471.73.camel@localhost>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <5bdc1c8b05082917503ef84c56@mail.gmail.com>
	 <1125367634.20471.73.camel@localhost>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j7U4Q1Gc006955
X-Archives-Salt: f4a7a32b-68d2-431e-ac90-d774d993d7c4
X-Archives-Hash: 4b6dd11094a69daa7806f5769550c87d

On 8/29/05, W.Kenworthy <billk@iinet.net.au> wrote:
> My scheme is:
>  100 M /boot on ext3 (I was going to store some other info there, but
> its mostly "space" att)
> 
>  2G swap
> 
>  4G reiserfs with a complete, basic gentoo rescue install - if all goes
> pear shaped, I have a backup including a functioning /boot on this
> partition.  Particularly useful with things like a gateway: you can come
> up on the rescue partition and provide near normal service/network
> access while fixing the main problem in a chroot etc.  Maintenance of
> this partition is done offline in a chroot so other than an occasional
> test, its rarely run in its own right.
> 
>  4G / on reiserfs with /etc, /root etc
> 
>  remainder (200G is below, and on my main desktop system similarly
> arranged I have 200G + an extra 60G drive) is all LVM
> containing /home, /var, /tmp and /usr.
> 
> This system is mainly a LAMP server/gateway for a home network. it also
> contains mostly file storage and backups in /home
> 
> moriah ~ # df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda5             3.8G  2.2G  1.6G  59% /
> udev                  252M  2.6M  249M   2% /dev
> cachedir              3.8G  2.2G  1.6G  59% /lib/splash/cache
> /dev/vg1/usr           32G  5.9G   27G  19% /usr
> /dev/vg1/var           48G  2.3G   46G   5% /var
> /dev/vg1/tmp           16G   33M   16G   1% /tmp
> /dev/vg1/opt          4.0G  169M  3.9G   5% /opt
> /dev/vg1/home          77G   26G   52G  34% /home
> none                  252M     0  252M   0% /dev/shm
> /dev/hda1              92M   18M   69M  21% /boot
> /dev/hda3             3.8G  1.7G  2.1G  46% /mnt/hda3
> moriah ~ #
> 
> There are probably performance issues, but they  are not noticeable in
> practise.  hdparm actually shows a slight speed advantage for the LVM
> partitions, but there are also error messages so I dont really trust it!
> 
> BillK
> 

Thanks Bill,
   That's very helpful. To test my understanding

/dev/hda1 - boot - 100M
/dev/hda2 - swap - 2G
/dev/hda3 - NOT CLEAR - the backup/rescue install?
/dev/hda4 - LVM - 200G
/dev/hda5 - root - 4G

So you've placed pretty much the bulk of the machine in LVM and it's
working well for you. That's cool.

   Could you possibly share a bit from your grub.conf file as well as
your fstab file? I think with that info I'd be pretty confident when I
do the build tomorrow morning.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list