From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q8ErH-0005w0-Gl for garchives@archives.gentoo.org; Fri, 08 Apr 2011 16:48:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB4701C011; Fri, 8 Apr 2011 16:47:06 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 587591C011 for ; Fri, 8 Apr 2011 16:47:06 +0000 (UTC) Received: by wyi11 with SMTP id 11so4575919wyi.40 for ; Fri, 08 Apr 2011 09:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=I0uhLEsMGGAYi3sEnW0bYEnlpW1wnh1aLfVNngskblc=; b=gulGC3rB7y24SjeWp+CJRJS5nQ3AAmnL811TBRx0tuIjRG1+Rf5EY5mS1Bi6uhloDo qiZ+PZYXdpebPowX9i72oI5MUrvdvp3xkfxdKN6Wl32TildLNrKQPg/B6l/TqQOJhCz/ ZdP0XYoeqrhMJUblvAEFKQKHnfIbLBZ4AogFc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=uJnb7UMXbdasXVNOheFlHiyZa+HFtUa+Z7oD3hsMwgRC97hZ1AOH3HDgjjmeEwCx73 G4tWpPBgrfb2YnSJCxaL4Z9Um0akNYgbep84vUEVYwvwAjJlGscEo/drFAKgjHQCVZl2 NBZN3f5+zyKAAflj5j3G1wzErG7RhpiD325vA= Received: by 10.216.20.141 with SMTP id p13mr2251842wep.102.1302281225565; Fri, 08 Apr 2011 09:47:05 -0700 (PDT) Received: from nazgul.localnet (196-215-19-231.dynamic.isadsl.co.za [196.215.19.231]) by mx.google.com with ESMTPS id s40sm1446294weq.4.2011.04.08.09.47.03 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Apr 2011 09:47:04 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] LVM for data drives but not the OS Date: Fri, 8 Apr 2011 18:46:47 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.38-ck; KDE/4.6.2; x86_64; ; ) References: <4D9D9071.2050504@gmail.com> <20110407143351.EBADA1391@data.antarean.org> <4D9F3716.3090708@gmail.com> In-Reply-To: <4D9F3716.3090708@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104081846.47629.alan.mckinnon@gmail.com> X-Archives-Salt: X-Archives-Hash: 4fd2777fa82010f0d75b4d687514353e Apparently, though unproven, at 18:25 on Friday 08 April 2011, Dale did opine thusly: > I'm going to give this a stab here. I go buy a new drive. I use cfdisk > to make it ready for LVM, the 8E thingy. Yes > I then tell LVM to make it a > Physical Volume, either in whole or in part. Yes > I then tell LVM to make it > a Volume Group No. You add the PV to a Volume Group (which will be created if necessary) > and if I already had a drive using LVM I could then add > the new drive to it. Yes. > After that, I create Logical Volumes and put file > systems on it for use sort of like the old partitions. Yes. Once you have made the LV, you then do this: mkfs /dev/mapper/ instead of mkfs /dev/sda1 The kernel sees /dev/mapper/ as just another block device (aka something it can mkfs) > > Am I sort of getting on the right track? Spot on > Did someone mention a GUI for this? ^-^ Piffle. GUIs for LVM confuse the issue. Stay away from them like the plague. -- alan dot mckinnon at gmail dot com