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-136944-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SD5mk-0000eU-E5
	for garchives@archives.gentoo.org; Thu, 29 Mar 2012 03:12:26 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0D29FE0F8D
	for <garchives@archives.gentoo.org>; Thu, 29 Mar 2012 03:12:25 +0000 (UTC)
Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.49.97])
	by pigeon.gentoo.org (Postfix) with ESMTP id 5C146E0EE6
	for <gentoo-user@lists.gentoo.org>; Thu, 29 Mar 2012 02:39:21 +0000 (UTC)
Received: from ajglap.localdomain (ool-182de1a5.dyn.optonline.net [24.45.225.165])
	(authenticated bits=0)
	by smtp.cs.nyu.edu (8.14.3/8.14.4) with ESMTP id q2T2dKQM012215
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <gentoo-user@lists.gentoo.org>; Wed, 28 Mar 2012 22:39:21 -0400 (EDT)
Received: by ajglap.localdomain (Postfix, from userid 1502)
	id B7A627024F; Wed, 28 Mar 2012 22:38:47 -0400 (EDT)
From: Allan Gottlieb <gottlieb@nyu.edu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] InitRAMFS - boot expert sought
References: <1332844604.4130.0@numa-i> <4F71BE44.3080206@kutulu.org>
	<CA+czFiB=9Z_ny4Q8Ro_pkKJJnJEjOc3eZRO4e5-=JHHJzf1imQ@mail.gmail.com>
	<4F71E865.30800@hadt.biz> <4F71F182.5010709@gmail.com>
	<CAK2H+eeUYU85XBNQLOsu+ana90JUqgwQ0cHYcev4pK3ZvCkFxA@mail.gmail.com>
	<4F7224B8.1050806@gmail.com>
	<CAK2H+ec7U4aGD+CviR46xuN6ujt78R0O=DCBLL9f_9LpoG0=0w@mail.gmail.com>
	<4F723842.4000501@gmail.com>
	<20120328001421.7c65a401@khamul.example.com> <yu9aa30zr9i.fsf@nyu.edu>
	<20120328233557.58ace6c0@khamul.example.com>
Date: Wed, 28 Mar 2012 22:38:46 -0400
In-Reply-To: <20120328233557.58ace6c0@khamul.example.com> (Alan McKinnon's
	message of "Wed, 28 Mar 2012 23:35:57 +0200")
Message-ID: <yu9ehscp1vt.fsf@nyu.edu>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
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
Content-Type: text/plain; charset=us-ascii
X-Archives-Salt: 59a1445a-593b-4e4c-a9e4-17301a86b58f
X-Archives-Hash: 13b6f2437a7d85f4513709c0ed780b0c

On Wed, Mar 28 2012, Alan McKinnon wrote:

> What you describe sounds ok, but I'd still hesitate to give a definite
> answer without a little more data.
>
> If you send over the output of 
>
> df -h
> du -shx for each partition you have
> fdisk -l
> pvdisplay
> vgdisplay
> lvdisplay
>
> I'll be happy to go over the numbers and offer an opinion.

Wow.  I get a detailed lvm recipe (with warnings) from wonko (thank you
very much) and from alan I get "an offer I can't refuse".  Definitely a
good day!

allan 

ajglap gottlieb # df -h
Filesystem            Size  Used Avail Use% Mounted on
rootfs                5.0G  534M  4.2G  12% /
/dev/root             5.0G  534M  4.2G  12% /
rc-svcdir             1.0M   92K  932K   9% /lib64/rc/init.d
cgroup_root            10M     0   10M   0% /sys/fs/cgroup
udev                   10M  660K  9.4M   7% /dev
shm                   3.9G  304K  3.9G   1% /dev/shm
/dev/mapper/vg-usr     20G   14G  5.7G  70% /usr
/dev/mapper/vg-local  9.9G  7.3G  2.1G  79% /local
/dev/mapper/vg-var     15G  466M   14G   4% /var
/dev/mapper/vg-tmp    5.0G  307M  4.4G   7% /tmp
/dev/mapper/vg-opt    5.0G  285M  4.4G   6% /opt
/dev/mapper/vg-a       35G   16G   18G  48% /a


ajglap gottlieb # for i in / /usr /local /var /tmp /opt /a; do du -shx $i; done
395M	/
13G	/usr
7.2G	/local
313M	/var
168M	/tmp
147M	/opt
16G	/a


ajglap gottlieb # pvdisplay
  --- Physical volume ---
  PV Name               /dev/sda7
  VG Name               vg
  PV Size               100.01 GiB / not usable 2.50 MiB
  Allocatable           yes 
  PE Size               4.00 MiB
  Total PE              25601
  Free PE               2561
  Allocated PE          23040
  PV UUID               NW7PkL-9uTd-FpVs-CBQ5-23uN-zXmP-S93rUr
   

ajglap gottlieb # vgdisplay
  --- Volume group ---
  VG Name               vg
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  9
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                6
  Open LV               6
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               100.00 GiB
  PE Size               4.00 MiB
  Total PE              25601
  Alloc PE / Size       23040 / 90.00 GiB
  Free  PE / Size       2561 / 10.00 GiB
  VG UUID               Qu7Lml-xaZ6-RjDF-3Pu4-Q0im-aStB-AWKGwD


ajglap gottlieb # lvdisplay
  --- Logical volume ---
  LV Path                /dev/vg/usr
  LV Name                usr
  VG Name                vg
  LV UUID                PsU87T-o3vy-k2wj-15wU-tOZk-2csz-1gmDwz
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                20.00 GiB
  Current LE             5120
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0
   
  --- Logical volume ---
  LV Path                /dev/vg/local
  LV Name                local
  VG Name                vg
  LV UUID                h05KfH-xF4U-A5ii-diWd-SZ4P-bWQD-U8Gly2
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                10.00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1
   
  --- Logical volume ---
  LV Path                /dev/vg/var
  LV Name                var
  VG Name                vg
  LV UUID                860txl-vddH-nF5m-2cZz-6uco-eZ4v-IvSeh6
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                15.00 GiB
  Current LE             3840
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:2
   
  --- Logical volume ---
  LV Path                /dev/vg/tmp
  LV Name                tmp
  VG Name                vg
  LV UUID                a2RKmz-If71-cF9p-QE3E-kjQO-sYW2-VopkEO
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                5.00 GiB
  Current LE             1280
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:3
   
  --- Logical volume ---
  LV Path                /dev/vg/opt
  LV Name                opt
  VG Name                vg
  LV UUID                0zUFgs-I0UE-j3ue-eVtY-9snn-noho-uDNOBk
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                5.00 GiB
  Current LE             1280
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:4
   
  --- Logical volume ---
  LV Path                /dev/vg/a
  LV Name                a
  VG Name                vg
  LV UUID                QHqc9a-JLRy-01Oe-W61Y-SO1y-aPdJ-utDoqh
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                35.00 GiB
  Current LE             8960
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:5