Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] InitRAMFS - boot expert sought
Date: Thu, 29 Mar 2012 03:12:26
Message-Id: yu9ehscp1vt.fsf@nyu.edu
In Reply to: Re: [gentoo-user] InitRAMFS - boot expert sought by Alan McKinnon
1 On Wed, Mar 28 2012, Alan McKinnon wrote:
2
3 > What you describe sounds ok, but I'd still hesitate to give a definite
4 > answer without a little more data.
5 >
6 > If you send over the output of
7 >
8 > df -h
9 > du -shx for each partition you have
10 > fdisk -l
11 > pvdisplay
12 > vgdisplay
13 > lvdisplay
14 >
15 > I'll be happy to go over the numbers and offer an opinion.
16
17 Wow. I get a detailed lvm recipe (with warnings) from wonko (thank you
18 very much) and from alan I get "an offer I can't refuse". Definitely a
19 good day!
20
21 allan
22
23 ajglap gottlieb # df -h
24 Filesystem Size Used Avail Use% Mounted on
25 rootfs 5.0G 534M 4.2G 12% /
26 /dev/root 5.0G 534M 4.2G 12% /
27 rc-svcdir 1.0M 92K 932K 9% /lib64/rc/init.d
28 cgroup_root 10M 0 10M 0% /sys/fs/cgroup
29 udev 10M 660K 9.4M 7% /dev
30 shm 3.9G 304K 3.9G 1% /dev/shm
31 /dev/mapper/vg-usr 20G 14G 5.7G 70% /usr
32 /dev/mapper/vg-local 9.9G 7.3G 2.1G 79% /local
33 /dev/mapper/vg-var 15G 466M 14G 4% /var
34 /dev/mapper/vg-tmp 5.0G 307M 4.4G 7% /tmp
35 /dev/mapper/vg-opt 5.0G 285M 4.4G 6% /opt
36 /dev/mapper/vg-a 35G 16G 18G 48% /a
37
38
39 ajglap gottlieb # for i in / /usr /local /var /tmp /opt /a; do du -shx $i; done
40 395M /
41 13G /usr
42 7.2G /local
43 313M /var
44 168M /tmp
45 147M /opt
46 16G /a
47
48
49 ajglap gottlieb # pvdisplay
50 --- Physical volume ---
51 PV Name /dev/sda7
52 VG Name vg
53 PV Size 100.01 GiB / not usable 2.50 MiB
54 Allocatable yes
55 PE Size 4.00 MiB
56 Total PE 25601
57 Free PE 2561
58 Allocated PE 23040
59 PV UUID NW7PkL-9uTd-FpVs-CBQ5-23uN-zXmP-S93rUr
60
61
62 ajglap gottlieb # vgdisplay
63 --- Volume group ---
64 VG Name vg
65 System ID
66 Format lvm2
67 Metadata Areas 1
68 Metadata Sequence No 9
69 VG Access read/write
70 VG Status resizable
71 MAX LV 0
72 Cur LV 6
73 Open LV 6
74 Max PV 0
75 Cur PV 1
76 Act PV 1
77 VG Size 100.00 GiB
78 PE Size 4.00 MiB
79 Total PE 25601
80 Alloc PE / Size 23040 / 90.00 GiB
81 Free PE / Size 2561 / 10.00 GiB
82 VG UUID Qu7Lml-xaZ6-RjDF-3Pu4-Q0im-aStB-AWKGwD
83
84
85 ajglap gottlieb # lvdisplay
86 --- Logical volume ---
87 LV Path /dev/vg/usr
88 LV Name usr
89 VG Name vg
90 LV UUID PsU87T-o3vy-k2wj-15wU-tOZk-2csz-1gmDwz
91 LV Write Access read/write
92 LV Creation host, time ,
93 LV Status available
94 # open 1
95 LV Size 20.00 GiB
96 Current LE 5120
97 Segments 1
98 Allocation inherit
99 Read ahead sectors auto
100 - currently set to 256
101 Block device 254:0
102
103 --- Logical volume ---
104 LV Path /dev/vg/local
105 LV Name local
106 VG Name vg
107 LV UUID h05KfH-xF4U-A5ii-diWd-SZ4P-bWQD-U8Gly2
108 LV Write Access read/write
109 LV Creation host, time ,
110 LV Status available
111 # open 1
112 LV Size 10.00 GiB
113 Current LE 2560
114 Segments 1
115 Allocation inherit
116 Read ahead sectors auto
117 - currently set to 256
118 Block device 254:1
119
120 --- Logical volume ---
121 LV Path /dev/vg/var
122 LV Name var
123 VG Name vg
124 LV UUID 860txl-vddH-nF5m-2cZz-6uco-eZ4v-IvSeh6
125 LV Write Access read/write
126 LV Creation host, time ,
127 LV Status available
128 # open 1
129 LV Size 15.00 GiB
130 Current LE 3840
131 Segments 2
132 Allocation inherit
133 Read ahead sectors auto
134 - currently set to 256
135 Block device 254:2
136
137 --- Logical volume ---
138 LV Path /dev/vg/tmp
139 LV Name tmp
140 VG Name vg
141 LV UUID a2RKmz-If71-cF9p-QE3E-kjQO-sYW2-VopkEO
142 LV Write Access read/write
143 LV Creation host, time ,
144 LV Status available
145 # open 1
146 LV Size 5.00 GiB
147 Current LE 1280
148 Segments 1
149 Allocation inherit
150 Read ahead sectors auto
151 - currently set to 256
152 Block device 254:3
153
154 --- Logical volume ---
155 LV Path /dev/vg/opt
156 LV Name opt
157 VG Name vg
158 LV UUID 0zUFgs-I0UE-j3ue-eVtY-9snn-noho-uDNOBk
159 LV Write Access read/write
160 LV Creation host, time ,
161 LV Status available
162 # open 1
163 LV Size 5.00 GiB
164 Current LE 1280
165 Segments 1
166 Allocation inherit
167 Read ahead sectors auto
168 - currently set to 256
169 Block device 254:4
170
171 --- Logical volume ---
172 LV Path /dev/vg/a
173 LV Name a
174 VG Name vg
175 LV UUID QHqc9a-JLRy-01Oe-W61Y-SO1y-aPdJ-utDoqh
176 LV Write Access read/write
177 LV Creation host, time ,
178 LV Status available
179 # open 1
180 LV Size 35.00 GiB
181 Current LE 8960
182 Segments 1
183 Allocation inherit
184 Read ahead sectors auto
185 - currently set to 256
186 Block device 254:5

Replies

Subject Author
Re: [gentoo-user] InitRAMFS - boot expert sought Allan Gottlieb <gottlieb@×××.edu>