1 |
Matt Harrison wrote: |
2 |
> Alan McKinnon wrote: |
3 |
>> On Wednesday 23 April 2008, Matt Harrison wrote: |
4 |
>> |
5 |
>>> Alan McKinnon wrote: |
6 |
>>> |
7 |
>>>> It's highly unlikely you lost data, as the upgrade would not have |
8 |
>>>> changed the on-disk metadata. If all else fails, you could boot off |
9 |
>>>> an LVM-enabled LiveCD and you'll find all your volumes present. But |
10 |
>>>> first we need to find out what's going on (my machine uses |
11 |
>>>> baselayout-2 and openrc & my lvm volumes were unaffected. |
12 |
>>>> |
13 |
>>>> What output do you get from |
14 |
>>>> pvscan |
15 |
>>>> vgscan |
16 |
>>>> lvscan |
17 |
>>>> vgchange -a y |
18 |
>>>> |
19 |
>>>> and what's in the various logs regarding lvm startup? |
20 |
>>>> |
21 |
>>>> |
22 |
>>>> |
23 |
>>> Ok, |
24 |
>>> |
25 |
>>> pvscan says: |
26 |
>>> No Matching physical volumes found |
27 |
>>> |
28 |
>> |
29 |
>> ouch. Looks like something is wrong with your lvm metadata. Could you |
30 |
>> confirm that your setup is lvm on top of local RAID, and that there |
31 |
>> isn't anything else involved (shared storage for example). |
32 |
>> |
33 |
>> As a test, I would boot off an LVM enabled live cd and see if the |
34 |
>> volumes are accessible. That will determine if the problem lies with |
35 |
>> lvm, your volumes, or with how your gentoo is set up. |
36 |
>> |
37 |
>> Last time I looked, the Sistina web site and redhat.com has loads of |
38 |
>> very useful info and FAQs. If you haven't already, I recommend you get |
39 |
>> onto those sites and start reading and doing non-destructive tests, as |
40 |
>> lvm errors can be varied and interesting when stuff goes wrong |
41 |
>> |
42 |
>> |
43 |
> I can confirm its 6 local drives using md software raid, with lvm stuck |
44 |
> on top. No shared storage is happening at all. |
45 |
> |
46 |
> I'll have a look at everything I can find. I just pray I haven't lost |
47 |
> anything..... |
48 |
> |
49 |
> I'm about to burn a live cd, and i'll see what it says about my |
50 |
> partitions...fingers crossed |
51 |
|
52 |
Ok, some success. I've booted up with the install livecd, and I can |
53 |
still access the metadata for my LVM partitions. Everything shows up |
54 |
fine, the sizes and usage check out and things seem ok. |
55 |
|
56 |
So it appears I've not lost my data, just the ability to access it with |
57 |
the on-disk install I have. |
58 |
|
59 |
Now I guess I've gotta either fix it, or re-install and then watch all |
60 |
my emerge's really closely to figure out what happened to get into this |
61 |
state. |
62 |
|
63 |
Again, all help very much welcomed and thanks for the support so far :) |
64 |
|
65 |
|
66 |
With a big sigh of relief, |
67 |
|
68 |
Matt Harrison |
69 |
-- |
70 |
gentoo-user@l.g.o mailing list |