Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LVM "Couldn't find device with uuid"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
bpaddock
Apprentice
Apprentice


Joined: 04 Nov 2005
Posts: 161
Location: Franklin, PA

PostPosted: Sun Feb 28, 2010 2:41 pm    Post subject: LVM "Couldn't find device with uuid" Reply with quote

While adding a fourth hard disk I managed to damage my LVM setup, on the thrid drive, and perhaps something at the start of the drive itself:

Code:

vgdisplay -v
    Finding all volume groups
    Finding volume group "vg"
    Wiping cache of LVM-capable devices
  Couldn't find device with uuid '19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn'.
  Couldn't find device with uuid '19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn'.
    There are 1 physical volumes missing.

  --- Physical volumes ---
  PV Name               /dev/sda5
  PV UUID               6aWDY3-nZWj-vS2U-ZH0C-JfV8-FASf-yRzg1C
  PV Status             allocatable
  Total PE / Free PE    57543 / 0

  PV Name               /dev/sdb
  PV UUID               WEhtf0-VAhi-drbJ-Bl5a-7mQ5-fFbu-hkMth4
  PV Status             allocatable
  Total PE / Free PE    59618 / 6656

  PV Name               unknown device
  PV UUID               19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn
  PV Status             allocatable
  Total PE / Free PE    59618 / 49803


I know that the missing device is /dev/sdc. How do I fix this?

I tried:
Code:

pvcreate --uuid "19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn" --restorefile /etc/lvm/archive/vg_00007.vg /dev/sdc


which resulted in:

Code:

Couldn't find device with uuid '19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn'.
  Device /dev/sdc not found (or ignored by filtering).


pvdisplay -v shows:

Code:

    Scanning for physical volume names
  Couldn't find device with uuid '19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn'.
  Couldn't find device with uuid '19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn'.
    There are 1 physical volumes missing.
  Couldn't find device with uuid '19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn'.
  Couldn't find device with uuid '19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn'.
    There are 1 physical volumes missing.
  --- Physical volume ---
  PV Name               /dev/sda5
  VG Name               vg
  PV Size               224.78 GB / not usable 1.45 MB
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              57543
  Free PE               0
  Allocated PE          57543
  PV UUID               6aWDY3-nZWj-vS2U-ZH0C-JfV8-FASf-yRzg1C

  Couldn't find device with uuid '19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn'.
  Couldn't find device with uuid '19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn'.
    There are 1 physical volumes missing.
  --- Physical volume ---
  PV Name               /dev/sdb
  VG Name               vg
  PV Size               232.89 GB / not usable 3.18 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              59618
  Free PE               6656
  Allocated PE          52962
  PV UUID               WEhtf0-VAhi-drbJ-Bl5a-7mQ5-fFbu-hkMth4

  Couldn't find device with uuid '19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn'.
  Couldn't find device with uuid '19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn'.
    There are 1 physical volumes missing.
  --- Physical volume ---
  PV Name               unknown device
  VG Name               vg
  PV Size               232.89 GB / not usable 3.18 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              59618
  Free PE               49803
  Allocated PE          9815
  PV UUID               19xZvk-LkHw-uYqJ-CATB-PYdC-sbQF-HjOLUn


Help?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum