[linux-lvm] Help - how do I recover a lost Volume Group
Patrick Caulfield
caulfield at sistina.com
Tue Apr 15 04:42:01 UTC 2003
On Tue, Apr 15, 2003 at 09:28:46AM +0100, Chandler, Alan wrote:
> I am not subscribed to this list - please CC me back again and to the copy
> address (home and work).
>
> It was starting to fail so I have purchased another disk and temporarily
> wired it in as /dev/hdb. I created three partitions on in with /dev/hdb3 as
> the lvm partition. I successfully copied the first two partitions but with
> the third, in order to preserve my volume group name (vg1), I did pvcreate
> /dev/hdb3, vgextend vg1 /dev/hdb3 and pvmove /dev/hda3 so that all the data
> should now be on /dev/hdb3.
Did you vgreduce the old disk out of the VG ?
If not, then the easiest thing to do is attach the old disk, vgreduce it out of
the VG and all should be well.
--
patrick
More information about the linux-lvm
mailing list