lvm - problem replacing failed disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

I've been running lvm2 on a redhat system for the past 6 months
(happily).  As happens, one of the three hard disks used in my volume
group has failed.  There is some data in the volume group I'd like to
retrieve if possible.


I've been reading HOWTOs and various other posts and tried the
following:

(1) Replaced the failed disk with one of the same size  
(2) Used pvcreate to make the same physical volumes on the new disk
that were present on the failed disk.  Example of the actual command I
used was:
  pvcreate --uuid xxxxx /dev/sdb1
where xxxxx was the pv uuid from pvdisplay 
(3) Used vgchange -a y -P to activate the volume group

At this point I get an error saying the metadata is inconsistent and a
volume group uuid is not found.

Any advice on how to proceed would be appreciated.  

Thanks, Steve
----------------

PS.  Attempts to mount the Logical volume of interest fail with a bad
superblock message.  I think this is expected as the first segment of
the logical volume was on the failed disk.


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux