Re: Cannot find out what to use for the volume.

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

 



Did this make it?  I have did not get it after signing up and I don't see it in the list.  Oh well, here is the question again.

On Fri, Nov 21, 2008 at 8:34 PM, Gary wrote:
I had a disk failure for my lvm mirror.  It was between two disks.  This was a failure of the primary.

I have been trying to recover the mirror but I cannot find directions as to what to do.

Seems like if I create a new partition, give it the old uuid and then try to load everything I get superblock errors.

So how do you fix up from a crashed primary mirror?

By the way, what is below is before I make a partition and create it properly with the uuid (as all the web pages say to do).
I have done that but get the file system superblock error when I mount it.

I have not done anything to the other partition but this is what I am starting with.
pvscan

  Couldn't find device with uuid 'xXD0U6-1s5q-avfG-yuHR-CoX0-53Kl-F1WbBy'.
  Couldn't find device with uuid 'xXD0U6-1s5q-avfG-yuHR-CoX0-53Kl-F1WbBy'.
  PV unknown device   VG backup_vg            lvm2 [232.84 GB / 20.00 MB free]
  PV /dev/sda6        VG backup_vg            lvm2 [232.84 GB / 24.00 MB free]
  PV /dev/sda5        VG video_volume_group   lvm2 [213.77 GB / 13.77 GB free]
  PV /dev/sdb1                                lvm2 [189.92 GB]
  Total: 4 [869.36 GB] / in use: 3 [679.44 GB] / in no VG: 1 [189.92 GB]

pvdisplay -v
    Scanning for physical volume names
    Wiping cache of LVM-capable devices
  Couldn't find device with uuid 'xXD0U6-1s5q-avfG-yuHR-CoX0-53Kl-F1WbBy'.
  Couldn't find device with uuid 'xXD0U6-1s5q-avfG-yuHR-CoX0-53Kl-F1WbBy'.
  Couldn't find device with uuid 'xXD0U6-1s5q-avfG-yuHR-CoX0-53Kl-F1WbBy'.
  Couldn't find all physical volumes for volume group backup_vg.
  Couldn't find device with uuid 'xXD0U6-1s5q-avfG-yuHR-CoX0-53Kl-F1WbBy'.
  Couldn't find all physical volumes for volume group backup_vg.
  Can't read backup_vg: skipping
  Couldn't find device with uuid 'xXD0U6-1s5q-avfG-yuHR-CoX0-53Kl-F1WbBy'.
  Couldn't find all physical volumes for volume group backup_vg.
  Couldn't find device with uuid 'xXD0U6-1s5q-avfG-yuHR-CoX0-53Kl-F1WbBy'.
  Couldn't find all physical volumes for volume group backup_vg.
  Can't read backup_vg: skipping
  --- Physical volume ---
  PV Name               /dev/sda5
  VG Name               video_volume_group
  PV Size               213.77 GB / not usable 1.28 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              54725
  Free PE               3525
  Allocated PE          51200
  PV UUID               nEYdPc-IWr3-oJgf-TFLO-37OC-7vjv-FcbEC7

  --- NEW Physical volume ---
  PV Name               /dev/sdb1
  VG Name
  PV Size               189.92 GB
  Allocatable           NO
  PE Size (KByte)       0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               37Mxhe-nxDh-yfPz-61TB-y8OJ-4Jrb-GKckqr


vgdisplay -v
    Finding all volume groups
    Finding volume group "backup_vg"
    Wiping cache of LVM-capable devices
  Couldn't find device with uuid 'xXD0U6-1s5q-avfG-yuHR-CoX0-53Kl-F1WbBy'.
  Couldn't find all physical volumes for volume group backup_vg.
  Couldn't find device with uuid 'xXD0U6-1s5q-avfG-yuHR-CoX0-53Kl-F1WbBy'.
  Couldn't find all physical volumes for volume group backup_vg.
  Volume group "backup_vg" not found
    Finding volume group "video_volume_group"
  --- Volume group ---
  VG Name               video_volume_group
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  30
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               213.77 GB
  PE Size               4.00 MB
  Total PE              54725
  Alloc PE / Size       51200 / 200.00 GB
  Free  PE / Size       3525 / 13.77 GB
  VG UUID               ZMY89I-pdP8-QRey-yjx2-Y750-5isR-KOtd10

  --- Logical volume ---
  LV Name                /dev/video_volume_group/video_logical_volume
  VG Name                video_volume_group
  LV UUID                xaHgAn-Onic-uZEj-WAaQ-Cucc-7e8e-pVoo3p
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                200.00 GB
  Current LE             51200
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:3

  --- Physical volumes ---
  PV Name               /dev/sda5
  PV UUID               nEYdPc-IWr3-oJgf-TFLO-37OC-7vjv-FcbEC7
  PV Status             allocatable
  Total PE / Free PE    54725 / 3525

Gary

_______________________________________________
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