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

[linux-lvm] after vgreduce --remove-missing, *no* lvm commands work correctly



I'm at the end of my rope on this one.  I added a new RAID array to a
system, started a pvmove, then hardware failure forced me to abort it.
"pvmove --abort" didn't appear to do anything, so I attempted to move on
with "vgreduce --remove-missing vg0".

Now, absolutely no commands work on the vg0 group.  Attached the output
of vgscan -v -v and vgchange -a y -v -v, but all commands have very
similar output, with the same old error of "Couldn't find volume
'pvmove0' for segment 'start_extent'."


Script started on Sun Aug 20 13:27:05 2006
root Amnesiac#vgscan -v -v
      Setting global/locking_type to 1
      Setting global/locking_dir to /var/lock/lvm
      File-based locking enabled.
    Wiping cache of LVM-capable devices
    Wiping internal VG cache
  Reading all physical volumes.  This may take a while...
    Finding all volume groups
      /dev/ram0: size is 16384 sectors
      /dev/ram0: size is 16384 sectors
      /dev/ram0: No label detected
      /dev/hda: size is 240121728 sectors
      /dev/md0: size is 937744896 sectors
      /dev/md0: size is 937744896 sectors
      /dev/md0: lvm2 label detected
      /dev/hdc: size is 58633344 sectors
      /dev/ram1: size is 16384 sectors
      /dev/ram1: size is 16384 sectors
      /dev/ram1: No label detected
      /dev/hda1: size is 240121665 sectors
      /dev/hda1: size is 240121665 sectors
      /dev/md1: size is 480242944 sectors
      /dev/md1: size is 480242944 sectors
      /dev/md1: lvm2 label detected
      /dev/hdc1: size is 4192902 sectors
      /dev/hdc1: size is 4192902 sectors
      /dev/hdc1: No label detected
      /dev/ram2: size is 16384 sectors
      /dev/ram2: size is 16384 sectors
      /dev/ram2: No label detected
      /dev/md2: size is 937729536 sectors
      /dev/md2: size is 937729536 sectors
      /dev/md2: lvm2 label detected
      /dev/hdc2: size is 208845 sectors
      /dev/hdc2: size is 208845 sectors
      /dev/hdc2: No label detected
      /dev/ram3: size is 16384 sectors
      /dev/ram3: size is 16384 sectors
      /dev/ram3: No label detected
      /dev/hdc3: size is 2 sectors
      /dev/ram4: size is 16384 sectors
      /dev/ram4: size is 16384 sectors
      /dev/ram4: No label detected
      /dev/hdc4: size is 38588130 sectors
      /dev/hdc4: size is 38588130 sectors
      /dev/hdc4: No label detected
      /dev/ram5: size is 16384 sectors
      /dev/ram5: size is 16384 sectors
      /dev/ram5: No label detected
      /dev/hdc5: size is 15631182 sectors
      /dev/hdc5: size is 15631182 sectors
      /dev/hdc5: No label detected
      /dev/ram6: size is 16384 sectors
      /dev/ram6: size is 16384 sectors
      /dev/ram6: No label detected
      /dev/ram7: size is 16384 sectors
      /dev/ram7: size is 16384 sectors
      /dev/ram7: No label detected
      /dev/ram8: size is 16384 sectors
      /dev/ram8: size is 16384 sectors
      /dev/ram8: No label detected
      /dev/ram9: size is 16384 sectors
      /dev/ram9: size is 16384 sectors
      /dev/ram9: No label detected
      /dev/ram10: size is 16384 sectors
      /dev/ram10: size is 16384 sectors
      /dev/ram10: No label detected
      /dev/ram11: size is 16384 sectors
      /dev/ram11: size is 16384 sectors
      /dev/ram11: No label detected
      /dev/ram12: size is 16384 sectors
      /dev/ram12: size is 16384 sectors
      /dev/ram12: No label detected
      /dev/ram13: size is 16384 sectors
      /dev/ram13: size is 16384 sectors
      /dev/ram13: No label detected
      /dev/ram14: size is 16384 sectors
      /dev/ram14: size is 16384 sectors
      /dev/ram14: No label detected
      /dev/ram15: size is 16384 sectors
      /dev/ram15: size is 16384 sectors
      /dev/ram15: No label detected
      Locking /var/lock/lvm/V_vg1 RB
    Finding volume group "vg1"
      /dev/md2: lvm2 label detected
      /dev/md2: lvm2 label detected
  Found volume group "vg1" using metadata type lvm2
      Unlocking /var/lock/lvm/V_vg1
      Locking /var/lock/lvm/V_vg0 RB
    Finding volume group "vg0"
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
  Couldn't find volume 'pvmove0' for segment 'start_extent'.
  Couldn't read all logical volumes for volume group vg0.
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
  Couldn't find volume 'pvmove0' for segment 'start_extent'.
  Couldn't read all logical volumes for volume group vg0.
      /dev/ram0: No label detected
      /dev/md0: lvm2 label detected
      /dev/ram1: No label detected
      /dev/md1: lvm2 label detected
      /dev/hdc1: No label detected
      /dev/ram2: No label detected
      /dev/md2: lvm2 label detected
      /dev/hdc2: No label detected
      /dev/ram3: No label detected
      /dev/ram4: No label detected
      /dev/hdc4: No label detected
      /dev/ram5: No label detected
      /dev/hdc5: No label detected
      /dev/ram6: No label detected
      /dev/ram7: No label detected
      /dev/ram8: No label detected
      /dev/ram9: No label detected
      /dev/ram10: No label detected
      /dev/ram11: No label detected
      /dev/ram12: No label detected
      /dev/ram13: No label detected
      /dev/ram14: No label detected
      /dev/ram15: No label detected
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
  Couldn't find volume 'pvmove0' for segment 'start_extent'.
  Couldn't read all logical volumes for volume group vg0.
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
  Couldn't find volume 'pvmove0' for segment 'start_extent'.
  Couldn't read all logical volumes for volume group vg0.
  Volume group "vg0" not found
      Unlocking /var/lock/lvm/V_vg0
root Amnesiac#^D
Script done on Sun Aug 20 13:27:11 2006
Script started on Sun Aug 20 13:26:42 2006
root Amnesiac#vgscan -change -a -yy -v -v 
      Setting global/locking_type to 1
      Setting global/locking_dir to /var/lock/lvm
      File-based locking enabled.
    Finding all volume groups
      /dev/ram0: No label detected
      /dev/md0: lvm2 label detected
      /dev/ram1: No label detected
      /dev/md1: lvm2 label detected
      /dev/hdc1: No label detected
      /dev/ram2: No label detected
      /dev/md2: lvm2 label detected
      /dev/hdc2: No label detected
      /dev/ram3: No label detected
      /dev/ram4: No label detected
      /dev/hdc4: No label detected
      /dev/ram5: No label detected
      /dev/hdc5: No label detected
      /dev/ram6: No label detected
      /dev/ram7: No label detected
      /dev/ram8: No label detected
      /dev/ram9: No label detected
      /dev/ram10: No label detected
      /dev/ram11: No label detected
      /dev/ram12: No label detected
      /dev/ram13: No label detected
      /dev/ram14: No label detected
      /dev/ram15: No label detected
      Locking /var/lock/lvm/V_vg1 RB
    Finding volume group "vg1"
      /dev/md2: lvm2 label detected
      /dev/md2: lvm2 label detected
  0 logical volume(s) in volume group "vg1" now active
      Unlocking /var/lock/lvm/V_vg1
      Locking /var/lock/lvm/V_vg0 RB
    Finding volume group "vg0"
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
  Couldn't find volume 'pvmove0' for segment 'start_extent'.
  Couldn't read all logical volumes for volume group vg0.
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
  Couldn't find volume 'pvmove0' for segment 'start_extent'.
  Couldn't read all logical volumes for volume group vg0.
    Wiping cache of LVM-capable devices
      /dev/ram0: size is 16384 sectors
      /dev/ram0: size is 16384 sectors
      /dev/ram0: No label detected
      /dev/hda: size is 240121728 sectors
      /dev/md0: size is 937744896 sectors
      /dev/md0: size is 937744896 sectors
      /dev/md0: lvm2 label detected
      /dev/hdc: size is 58633344 sectors
      /dev/ram1: size is 16384 sectors
      /dev/ram1: size is 16384 sectors
      /dev/ram1: No label detected
      /dev/hda1: size is 240121665 sectors
      /dev/hda1: size is 240121665 sectors
      /dev/md1: size is 480242944 sectors
      /dev/md1: size is 480242944 sectors
      /dev/md1: lvm2 label detected
      /dev/hdc1: size is 4192902 sectors
      /dev/hdc1: size is 4192902 sectors
      /dev/hdc1: No label detected
      /dev/ram2: size is 16384 sectors
      /dev/ram2: size is 16384 sectors
      /dev/ram2: No label detected
      /dev/md2: size is 937729536 sectors
      /dev/md2: size is 937729536 sectors
      /dev/md2: lvm2 label detected
      /dev/hdc2: size is 208845 sectors
      /dev/hdc2: size is 208845 sectors
      /dev/hdc2: No label detected
      /dev/ram3: size is 16384 sectors
      /dev/ram3: size is 16384 sectors
      /dev/ram3: No label detected
      /dev/hdc3: size is 2 sectors
      /dev/ram4: size is 16384 sectors
      /dev/ram4: size is 16384 sectors
      /dev/ram4: No label detected
      /dev/hdc4: size is 38588130 sectors
      /dev/hdc4: size is 38588130 sectors
      /dev/hdc4: No label detected
      /dev/ram5: size is 16384 sectors
      /dev/ram5: size is 16384 sectors
      /dev/ram5: No label detected
      /dev/hdc5: size is 15631182 sectors
      /dev/hdc5: size is 15631182 sectors
      /dev/hdc5: No label detected
      /dev/ram6: size is 16384 sectors
      /dev/ram6: size is 16384 sectors
      /dev/ram6: No label detected
      /dev/ram7: size is 16384 sectors
      /dev/ram7: size is 16384 sectors
      /dev/ram7: No label detected
      /dev/ram8: size is 16384 sectors
      /dev/ram8: size is 16384 sectors
      /dev/ram8: No label detected
      /dev/ram9: size is 16384 sectors
      /dev/ram9: size is 16384 sectors
      /dev/ram9: No label detected
      /dev/ram10: size is 16384 sectors
      /dev/ram10: size is 16384 sectors
      /dev/ram10: No label detected
      /dev/ram11: size is 16384 sectors
      /dev/ram11: size is 16384 sectors
      /dev/ram11: No label detected
      /dev/ram12: size is 16384 sectors
      /dev/ram12: size is 16384 sectors
      /dev/ram12: No label detected
      /dev/ram13: size is 16384 sectors
      /dev/ram13: size is 16384 sectors
      /dev/ram13: No label detected
      /dev/ram14: size is 16384 sectors
      /dev/ram14: size is 16384 sectors
      /dev/ram14: No label detected
      /dev/ram15: size is 16384 sectors
      /dev/ram15: size is 16384 sectors
      /dev/ram15: No label detected
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
  Couldn't find volume 'pvmove0' for segment 'start_extent'.
  Couldn't read all logical volumes for volume group vg0.
      /dev/md0: lvm2 label detected
      /dev/md1: lvm2 label detected
  Couldn't find volume 'pvmove0' for segment 'start_extent'.
  Couldn't read all logical volumes for volume group vg0.
  Unable to find volume group "vg0"
      Unlocking /var/lock/lvm/V_vg0
root Amnesiac#^Dexit

Script done on Sun Aug 20 13:26:50 2006

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