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 <gentoo-user+bounces-121461-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Q8FgQ-0005Oc-Cj
	for garchives@archives.gentoo.org; Fri, 08 Apr 2011 17:41:22 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 06D3C1C012;
	Fri,  8 Apr 2011 17:39:44 +0000 (UTC)
Received: from mail-yi0-f53.google.com (mail-yi0-f53.google.com [209.85.218.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id CB4191C012
	for <gentoo-user@lists.gentoo.org>; Fri,  8 Apr 2011 17:39:44 +0000 (UTC)
Received: by yia25 with SMTP id 25so2241245yia.40
        for <gentoo-user@lists.gentoo.org>; Fri, 08 Apr 2011 10:39:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:message-id:date:from:user-agent:mime-version:to
         :subject:references:in-reply-to:content-type
         :content-transfer-encoding;
        bh=TK0pIoHY23cGb+UptZ2diaQxGKHxo0ec06f6n6V6g4s=;
        b=VKC0Cvrzd439jlYJ8XSIEeW5fbosdJgf25dQHGPNBnaC+KeU9EHTn878Efd5MrT0Kt
         jm/9zgZvDU8nhJbAz6FlnUmy2/NES4SQamw2wdMvGuHhTm1oyzB5YzI5hh+i6PCHO8zd
         B+fAgZ5tAWOiUausOxZ+75Tyl0n3i1K+uxMng=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:content-type:content-transfer-encoding;
        b=msBbQ0vvs7Mq3z7asZRSx/6KXfMBczTBqaBLP3mrtSGeYXGFFmqKnGtzKKjTz+lBmf
         tCM7/n/6xbLU+Hy1VyuMaU+g9RxOSGAg2gfTxKd3vlvJeyQr+5Xv4p48mKGkhZlsp27y
         LlKeKRkloiEPUEXk7SsjpY4L7sZX5ovAgsuFg=
Received: by 10.151.100.16 with SMTP id c16mr2307297ybm.405.1302284384201;
        Fri, 08 Apr 2011 10:39:44 -0700 (PDT)
Received: from [192.168.2.5] (adsl-0-118-199.jan.bellsouth.net [65.0.118.199])
        by mx.google.com with ESMTPS id r18sm1528571yba.11.2011.04.08.10.39.42
        (version=SSLv3 cipher=OTHER);
        Fri, 08 Apr 2011 10:39:43 -0700 (PDT)
Message-ID: <4D9F485D.2010300@gmail.com>
Date: Fri, 08 Apr 2011 12:39:41 -0500
From: Dale <rdalek1967@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.18) Gecko/20110325 Gentoo/2.0.13 SeaMonkey/2.0.13
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] LVM for data drives but not the OS
References: <4D9D9071.2050504@gmail.com> <20110407143351.EBADA1391@data.antarean.org> <4D9F3716.3090708@gmail.com> <201104081846.47629.alan.mckinnon@gmail.com>
In-Reply-To: <201104081846.47629.alan.mckinnon@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 
X-Archives-Hash: e146cb32858016885622bd52e28cffa2

Alan McKinnon wrote:
> 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)
>
>    

Yea, I didn't type that in the way I meant it.  PV is the bottom level, 
then VG goes on top of that then the LV.  I think I am typing that in 
right.  Basically, I create the PV first, then the VG then the LV. < 
scratches head a bit>  I think I get it but may need better wording.

>> 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/<whatever>
>
> instead of
>
> mkfs /dev/sda1
>
> The kernel sees /dev/mapper/<whatever>  as just another block device (aka
> something it can mkfs)
>
>    

So when I get ready to make a file system, say ext3, then it would be 
mkfs.ext3 /dev/mapper/<whatever>.  Then it would be ready to put stuff on.

>> 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.
>
>    

That is likely a good idea too.  I get used to the GUI then if the GUI 
can't work, maybe X won't come up or something, then I have no idea 
where to start.  Good advice.

Thanks.

Dale

:-)  :-)