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-121469-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Q8Ipf-00081Q-VD
	for garchives@archives.gentoo.org; Fri, 08 Apr 2011 21:03:08 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F0F3D1C005;
	Fri,  8 Apr 2011 21:01:18 +0000 (UTC)
Received: from mail-gw0-f53.google.com (mail-gw0-f53.google.com [74.125.83.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id C05191C005
	for <gentoo-user@lists.gentoo.org>; Fri,  8 Apr 2011 21:01:18 +0000 (UTC)
Received: by gwj20 with SMTP id 20so2070531gwj.40
        for <gentoo-user@lists.gentoo.org>; Fri, 08 Apr 2011 14:01:18 -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=MlcEvo+NH0E9qnWM/TWxRr0tLdPjPlgY0QkvY8KwmCA=;
        b=gEBomiyGWbeUqtlHk4YQIrMIYOB2q31UBERM6Fx5cD3eG+RRDwwFMd0W6M6/cRE6xa
         k2MBwazvPymBIbJyEdyoGCLXPXZegPXgscQ0ro7w1cfpQkYlyWYqbh4+LtH4dinTPZit
         k6KZRsZxrF/c+DzDaEEKYW6lkpUU/pc7vCKkA=
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=GIVfNOSDl9aBLPrp7MXyE9nknk47WDrweGI7ItcDjMXR4p1twS7iAQY4ThVBe84XAR
         q1TV9cVBafo8A7r6Xo1PdwUerb5+8RoOAXBdn7tJEGjXdqCEMqYGJenYpANJpdMluciT
         SVdPZaEhdW1cvmQAf6jmJ0Pp+6XIWWYMl+uPo=
Received: by 10.91.34.26 with SMTP id m26mr2491996agj.140.1302296478083;
        Fri, 08 Apr 2011 14:01:18 -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 c18sm3318401ana.27.2011.04.08.14.01.16
        (version=SSLv3 cipher=OTHER);
        Fri, 08 Apr 2011 14:01:17 -0700 (PDT)
Message-ID: <4D9F779B.2040801@gmail.com>
Date: Fri, 08 Apr 2011 16:01:15 -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> <201104081846.47629.alan.mckinnon@gmail.com> <4D9F485D.2010300@gmail.com> <201104082038.21497.alan.mckinnon@gmail.com> <4D9F5C5F.7030700@gmail.com>
In-Reply-To: <4D9F5C5F.7030700@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 
X-Archives-Hash: 00015a48158ac376d8cfa581b26de32e

Dale wrote:
>
>
> root@fireball / # pvcreate /dev/sdb
>   Physical volume "/dev/sdb" successfully created
> root@fireball / #
>
> Step one done.  It didn't puke on my keyboard.  lol
>
> Now to see what else I can get into.  Not going to put anything 
> important on it tho.  Just a temporary thing right now.  Just getting 
> my feet wet.
>
> Dale
>
> :-)  :-)
>

More progress.

root@fireball / # ls -al /dev/mapper/
total 0
drwxr-xr-x  2 root root      80 Apr  8 15:56 .
drwxr-xr-x 16 root root    4400 Apr  8 15:56 ..
crw-rw----  1 root root 10, 236 Apr  8 04:39 control
lrwxrwxrwx  1 root root       7 Apr  8 15:56 sdb--vg-test -> ../dm-0
root@fireball / # pvdisplay
   --- Physical volume ---
   PV Name               /dev/sdb
   VG Name               sdb-vg
   PV Size               232.83 GiB / not usable 2.58 MiB
   Allocatable           yes
   PE Size               4.00 MiB
   Total PE              59604
   Free PE               46804
   Allocated PE          12800
   PV UUID               kopUKm-lXy1-7tiq-FuQ2-Xhs5-tGqN-Ls4R1v

root@fireball / # vgdisplay
   --- Volume group ---
   VG Name               sdb-vg
   System ID
   Format                lvm2
   Metadata Areas        1
   Metadata Sequence No  2
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                1
   Open LV               0
   Max PV                0
   Cur PV                1
   Act PV                1
   VG Size               232.83 GiB
   PE Size               4.00 MiB
   Total PE              59604
   Alloc PE / Size       12800 / 50.00 GiB
   Free  PE / Size       46804 / 182.83 GiB
   VG UUID               5OSiWZ-rWza-uKJ2-rVMO-f38G-NBHx-dmAE1K

root@fireball / # lvdisplay
   --- Logical volume ---
   LV Name                /dev/sdb-vg/test
   VG Name                sdb-vg
   LV UUID                mixhOb-La6D-BwG4-Uz3l-P0ci-oGg5-YI3mN8
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                50.00 GiB
   Current LE             12800
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           254:0

root@fireball / #

I'm still trying to figure out how the naming part works tho.  Now to 
mount it and put something on it.  See if it works.

Let me know if something doesn't look right.  Otherwise, I'll keep 
playing around with it.

Dale

:-)  :-)