<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ok.  It sounds like the fix will have to involve finding a way to get
back to your installed-configuration.  The one that defines your VG as
containing *only* hda5 and hdb.  It sounds like you succeeded extending
the LV to include sda, but forgot to expand the filesystem after that. 
Which, ultimately, may save you.  I don't have enough experience with
LVM (or just LVM2) to be able to tell you either how to edit your
current mangled config to force your LV to forget about sda (which it
sounds like you were successful accomplishing anyways) *or* to recover
the before-sda configuration.  I've looked at the config on my own
workstation and even though I'm using LVM2 I don't see any evidence of
backed-up or historical LVM2 configuration data.  So I *really* don't
know what to tell you there.  But I think it should be do-able.  There
may be someone out there capable of helping with this, but I'm afraid
it likely isn't me.  Although I might try and reproduce this on one of
my Fedora machines to see if I get stuck in the same box which you are
in.<br>
<br>
Peter<br>
<br>
Tom+Dale wrote:
<blockquote
 cite="mid20060904040917.25836.qmail@web30308.mail.mud.yahoo.com"
 type="cite"><span style="color: black; font-family: Verdana;">I had a
bad drive in my volume group, so I tried "vgreduce --removemissing
VolGroup00" which seemed to work. Then, I tried "vgchange -ay --partial
VolGroup00" which also appeared to complete successfully.<span style=""> 
  </span>It seems like I was partly successful but I cannot get the
logical volume to be recognized.<span style="">  </span>I don't know
what else to do?  Where can I learn more about LVM?  How does one
utilize the LVM archive or backup files?  Can't seem to find an answer
to this problem.  Is all of my data lost?<br>
  <br>
  </span><span style="color: black; font-family: Verdana;">[root[at]server
~]# lvchange -vvvay /dev/VolGroup00/LogVol00 <br>
Processing: lvchange -vvvay /dev/VolGroup00/LogVol00 <br>
O_DIRECT will be used <br>
Setting global/locking_type to 1 <br>
Setting global/locking_dir to /var/lock/lvm <br>
File-based locking enabled. <br>
Using logical volume(s) on command line <br>
Locking /var/lock/lvm/V_VolGroup00 WB <br>
Opened /dev/sda RW <br>
/dev/sda: block size is 4096 bytes <br>
/dev/sda: No label detected <br>
Opened /dev/hda1 RW <br>
/dev/hda1: block size is 1024 bytes <br>
/dev/hda1: No label detected <br>
Opened /dev/hda2 RW <br>
/dev/hda2: block size is 4096 bytes <br>
/dev/hda2: No label detected <br>
Opened /dev/hda3 RW <br>
/dev/hda3: block size is 4096 bytes <br>
/dev/hda3: No label detected <br>
Opened /dev/hda5 RW <br>
/dev/hda5: block size is 512 bytes <br>
/dev/hda5: lvm2 label detected <br>
lvmcache: /dev/hda5 now orphaned <br>
lvmcache: /dev/hda5 now in VG VolGroup00 <br>
Opened /dev/hdb RW <br>
/dev/hdb: block size is 4096 bytes <br>
/dev/hdb: lvm2 label detected <br>
lvmcache: /dev/hdb now orphaned <br>
lvmcache: /dev/hdb now in VG VolGroup00 <br>
/dev/hda5: lvm2 label detected <br>
/dev/hdb: lvm2 label detected <br>
/dev/hda5: lvm2 label detected <br>
/dev/hdb: lvm2 label detected <br>
Read VolGroup00 metadata (11) from /dev/hda5 at 18944 size 720 <br>
/dev/hda5: lvm2 label detected <br>
/dev/hdb: lvm2 label detected <br>
Read VolGroup00 metadata (11) from /dev/hdb at 16896 size 720 <br>
One or more specified logical volume(s) not found. <br>
Unlocking /var/lock/lvm/V_VolGroup00 <br>
Closed /dev/sda <br>
Closed /dev/hda1 <br>
Closed /dev/hda2 <br>
Closed /dev/hda3 <br>
Closed /dev/hda5 <br>
Closed /dev/hdb <br>
  </span><br>
</blockquote>
</body>
</html>