1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Alan McKinnon wrote: |
5 |
> No need to reinstall, you just need to shuffle some stuff around. But |
6 |
> first, what is your setup? |
7 |
> |
8 |
> Post the results of 'df -h', {pv,vg,lv}display and fdisk -l so I can see |
9 |
> how big etc your partitions and volumes are. Also fstab |
10 |
|
11 |
I've thought about that too, but I was wondering what would truly be |
12 |
easier. The dump/restore option sounds good, except that I don't have |
13 |
another machine with a large enough harddrive to do the job (and am a |
14 |
poor grad student with no cash for another HD :( ) I do, however, have |
15 |
another machine running a full backup of this machine using backuppc |
16 |
with nice compression/pooling, and so that was why my original plan was |
17 |
just to reinstall and then try to re-emerge everything. |
18 |
|
19 |
|
20 |
rpbarlow@booty ~ $ df -h |
21 |
Filesystem Size Used Avail Use% Mounted on |
22 |
/dev/md/3 1.9G 139M 1.7G 8% / |
23 |
udev 252M 2.7M 250M 2% /dev |
24 |
/dev/mapper/vg-usr 11G 5.1G 4.5G 53% /usr |
25 |
/dev/mapper/vg-portage |
26 |
2.6G 236M 2.2G 10% /usr/portage |
27 |
/dev/mapper/vg-distfiles |
28 |
5.2G 3.1G 1.9G 62% /usr/portage/distfiles |
29 |
/dev/mapper/vg-home 15G 12G 2.3G 84% /home |
30 |
/dev/mapper/vg-opt 5.1G 360M 4.5G 8% /opt |
31 |
/dev/mapper/vg-tmp 2.6G 1.3G 1.2G 54% /tmp |
32 |
/dev/mapper/vg-var 5.1G 1.1G 3.7G 24% /var |
33 |
/dev/mapper/vg-vartmp |
34 |
6.0G 126M 5.6G 3% /var/tmp |
35 |
/dev/hdc6 120G 105G 8.5G 93% /data |
36 |
shm 252M 0 252M 0% /dev/shm |
37 |
/dev/hdb3 7.4G 759M 6.7G 11% /mnt/booty2 |
38 |
/dev/hdb1 30M 383K 29M 2% /mnt/booty2/boot |
39 |
|
40 |
booty ~ # pvdisplay |
41 |
--- Physical volume --- |
42 |
PV Name /dev/md4 |
43 |
VG Name vg |
44 |
PV Size 51.03 GB / not usable 0 |
45 |
Allocatable yes |
46 |
PE Size (KByte) 4096 |
47 |
Total PE 13064 |
48 |
Free PE 4 |
49 |
Allocated PE 13060 |
50 |
PV UUID ajDnLH-cbNy-EZo1-edmB-RkkK-BZDT-65gfLz |
51 |
|
52 |
booty ~ # lvdisplay |
53 |
--- Logical volume --- |
54 |
LV Name /dev/vg/usr |
55 |
VG Name vg |
56 |
LV UUID QzY1iS-pVFF-Gr3j-aTu2-zDnj-1PWp-g97XsY |
57 |
LV Write Access read/write |
58 |
LV Status available |
59 |
# open 1 |
60 |
LV Size 10.20 GB |
61 |
Current LE 2612 |
62 |
Segments 1 |
63 |
Allocation inherit |
64 |
Read ahead sectors 0 |
65 |
Block device 252:0 |
66 |
|
67 |
--- Logical volume --- |
68 |
LV Name /dev/vg/portage |
69 |
VG Name vg |
70 |
LV UUID j0R66U-Lun6-F0Zl-6cS3-ZgGE-sqgj-6XDFh3 |
71 |
LV Write Access read/write |
72 |
LV Status available |
73 |
# open 1 |
74 |
LV Size 2.55 GB |
75 |
Current LE 653 |
76 |
Segments 1 |
77 |
Allocation inherit |
78 |
Read ahead sectors 0 |
79 |
Block device 252:1 |
80 |
|
81 |
--- Logical volume --- |
82 |
LV Name /dev/vg/distfiles |
83 |
VG Name vg |
84 |
LV UUID b0JvKE-J348-ao6k-tM2h-RKbL-YRx9-b35Ty2 |
85 |
LV Write Access read/write |
86 |
LV Status available |
87 |
# open 1 |
88 |
LV Size 5.10 GB |
89 |
Current LE 1306 |
90 |
Segments 1 |
91 |
Allocation inherit |
92 |
Read ahead sectors 0 |
93 |
Block device 252:2 |
94 |
|
95 |
--- Logical volume --- |
96 |
LV Name /dev/vg/home |
97 |
VG Name vg |
98 |
LV UUID 2o07Si-JMMs-1W69-1kpn-kz1J-nzG8-HHfK0K |
99 |
LV Write Access read/write |
100 |
LV Status available |
101 |
# open 1 |
102 |
LV Size 14.31 GB |
103 |
Current LE 3664 |
104 |
Segments 4 |
105 |
Allocation inherit |
106 |
Read ahead sectors 0 |
107 |
Block device 252:3 |
108 |
|
109 |
--- Logical volume --- |
110 |
LV Name /dev/vg/opt |
111 |
VG Name vg |
112 |
LV UUID 3TelAZ-BHjb-qJrb-Jb4a-gObM-9r0P-wrRQGm |
113 |
LV Write Access read/write |
114 |
LV Status available |
115 |
# open 1 |
116 |
LV Size 5.10 GB |
117 |
Current LE 1306 |
118 |
Segments 1 |
119 |
Allocation inherit |
120 |
Read ahead sectors 0 |
121 |
Block device 252:4 |
122 |
|
123 |
--- Logical volume --- |
124 |
LV Name /dev/vg/var |
125 |
VG Name vg |
126 |
LV UUID 3nU2sz-ZF9b-DhKg-YK6O-mrOS-pt6t-9RJ23z |
127 |
LV Write Access read/write |
128 |
LV Status available |
129 |
# open 1 |
130 |
LV Size 5.10 GB |
131 |
Current LE 1306 |
132 |
Segments 1 |
133 |
Allocation inherit |
134 |
Read ahead sectors 0 |
135 |
Block device 252:5 |
136 |
|
137 |
--- Logical volume --- |
138 |
LV Name /dev/vg/vartmp |
139 |
VG Name vg |
140 |
LV UUID H6l8FG-gI1g-0KAI-GofU-3YdX-9ZNH-KRO2d2 |
141 |
LV Write Access read/write |
142 |
LV Status available |
143 |
# open 1 |
144 |
LV Size 6.09 GB |
145 |
Current LE 1560 |
146 |
Segments 2 |
147 |
Allocation inherit |
148 |
Read ahead sectors 0 |
149 |
Block device 252:6 |
150 |
|
151 |
--- Logical volume --- |
152 |
LV Name /dev/vg/tmp |
153 |
VG Name vg |
154 |
LV UUID RiU9xV-Cf5u-H2OX-LaJP-xPmO-vRgR-K1Tllq |
155 |
LV Write Access read/write |
156 |
LV Status available |
157 |
# open 1 |
158 |
LV Size 2.55 GB |
159 |
Current LE 653 |
160 |
Segments 4 |
161 |
Allocation inherit |
162 |
Read ahead sectors 0 |
163 |
Block device 252:7 |
164 |
|
165 |
booty ~ # vgdisplay |
166 |
--- Volume group --- |
167 |
VG Name vg |
168 |
System ID |
169 |
Format lvm2 |
170 |
Metadata Areas 1 |
171 |
Metadata Sequence No 18 |
172 |
VG Access read/write |
173 |
VG Status resizable |
174 |
MAX LV 0 |
175 |
Cur LV 8 |
176 |
Open LV 8 |
177 |
Max PV 0 |
178 |
Cur PV 1 |
179 |
Act PV 1 |
180 |
VG Size 51.03 GB |
181 |
PE Size 4.00 MB |
182 |
Total PE 13064 |
183 |
Alloc PE / Size 13060 / 51.02 GB |
184 |
Free PE / Size 4 / 16.00 MB |
185 |
VG UUID Gwjy6V-GEMM-lnrI-01uj-DFvL-oK1a-Y1iENk |
186 |
|
187 |
booty ~ # fdisk -l |
188 |
|
189 |
Disk /dev/hda: 30.0 GB, 30020272128 bytes |
190 |
255 heads, 63 sectors/track, 3649 cylinders |
191 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
192 |
|
193 |
Device Boot Start End Blocks Id System |
194 |
/dev/hda1 * 1 5 40131 fd Linux raid |
195 |
autodetect |
196 |
/dev/hda2 6 68 506047+ 82 Linux swap / Solaris |
197 |
/dev/hda3 69 318 2008125 fd Linux raid |
198 |
autodetect |
199 |
/dev/hda4 319 3649 26756257+ fd Linux raid |
200 |
autodetect |
201 |
|
202 |
Disk /dev/hdb: 10.0 GB, 10005037056 bytes |
203 |
16 heads, 63 sectors/track, 19386 cylinders |
204 |
Units = cylinders of 1008 * 512 = 516096 bytes |
205 |
|
206 |
Device Boot Start End Blocks Id System |
207 |
/dev/hdb1 * 1 63 31720+ 83 Linux |
208 |
/dev/hdb2 64 4032 2000376 82 Linux swap / Solaris |
209 |
/dev/hdb3 4033 19386 7738416 83 Linux |
210 |
|
211 |
Disk /dev/hdc: 160.0 GB, 160041885696 bytes |
212 |
255 heads, 63 sectors/track, 19457 cylinders |
213 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
214 |
|
215 |
Device Boot Start End Blocks Id System |
216 |
/dev/hdc1 * 1 5 40131 fd Linux raid |
217 |
autodetect |
218 |
/dev/hdc2 6 68 506047+ 82 Linux swap / Solaris |
219 |
/dev/hdc3 69 318 2008125 fd Linux raid |
220 |
autodetect |
221 |
/dev/hdc4 319 19457 153734017+ 5 Extended |
222 |
/dev/hdc5 319 3649 26756226 fd Linux raid |
223 |
autodetect |
224 |
/dev/hdc6 3650 19457 126977728+ 83 Linux |
225 |
|
226 |
Disk /dev/md4: 54.7 GB, 54796615680 bytes |
227 |
2 heads, 4 sectors/track, 13378080 cylinders |
228 |
Units = cylinders of 8 * 512 = 4096 bytes |
229 |
|
230 |
Disk /dev/md4 doesn't contain a valid partition table |
231 |
|
232 |
Disk /dev/md3: 2056 MB, 2056192000 bytes |
233 |
2 heads, 4 sectors/track, 502000 cylinders |
234 |
Units = cylinders of 8 * 512 = 4096 bytes |
235 |
|
236 |
Disk /dev/md3 doesn't contain a valid partition table |
237 |
|
238 |
Disk /dev/md1: 41 MB, 41025536 bytes |
239 |
2 heads, 4 sectors/track, 10016 cylinders |
240 |
Units = cylinders of 8 * 512 = 4096 bytes |
241 |
|
242 |
Disk /dev/md1 doesn't contain a valid partition table |
243 |
|
244 |
and fstab: |
245 |
|
246 |
/dev/md1 /boot ext2 noauto,noatime 1 2 |
247 |
/dev/md3 / ext3 noatime 0 1 |
248 |
/dev/hda2 none swap sw,pri=1 0 0 |
249 |
/dev/hdc2 none swap sw,pri=1 0 0 |
250 |
/dev/vg/usr /usr ext3 noatime 1 2 |
251 |
/dev/vg/portage /usr/portage ext2 noatime 1 2 |
252 |
/dev/vg/distfiles /usr/portage/distfiles ext2 noatime 1 2 |
253 |
/dev/vg/home /home ext3 noatime 1 2 |
254 |
/dev/vg/opt /opt ext3 noatime 1 2 |
255 |
/dev/vg/tmp /tmp ext2 noatime 1 2 |
256 |
/dev/vg/var /var ext3 noatime 1 2 |
257 |
/dev/vg/vartmp /var/tmp ext2 noatime 1 2 |
258 |
/dev/hdd /mnt/cdrom iso9660 noauto,ro,user 0 0 |
259 |
/dev/hdc6 /data ext3 noatime 1 2 |
260 |
#/dev/fd0 /mnt/floppy auto noauto 0 0 |
261 |
/dev/sda2 /mnt/ipod auto noauto,user 0 0 |
262 |
proc /proc proc defaults 0 0 |
263 |
shm /dev/shm tmpfs |
264 |
nodev,nosuid,noexec 0 0 |
265 |
|
266 |
- -- |
267 |
Randy Barlow |
268 |
http://electronsweatshop.com |
269 |
|
270 |
But you are a chosen race, a royal priesthood, a holy nation, a people |
271 |
for his |
272 |
own possession, that you may proclaim the excellencies of him who called you |
273 |
out of darkness into his marvelous light. Once you were not a people, but |
274 |
now you are God's people; once you had not received mercy, but now you have |
275 |
received mercy. ~1 Peter 2:9-10 |
276 |
-----BEGIN PGP SIGNATURE----- |
277 |
Version: GnuPG v1.4.7 (GNU/Linux) |
278 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
279 |
|
280 |
iD8DBQFGZU8O7So1xaF/eR8RAodaAKCmRsjfdHXCcbCTtaAF6Fq6mo3ECACfZD/4 |
281 |
r+mhfjp95MscnXABshV192c= |
282 |
=BmIU |
283 |
-----END PGP SIGNATURE----- |
284 |
-- |
285 |
gentoo-user@g.o mailing list |