Restoring LVM after HDD crash

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

 



Hi list!

I have troubles restoring my crashed lvm. I tried to add another HDD to my LV but the disk was broken and now my LV is broken too ;(

How can I resotre my lv?

pvscan shows:

jserver:~# pvscan
  Couldn't find device with uuid 'eGwrO9-pZh4-66vo-cuLr-5cZm-Kk7b-FIcLXN'.
  Couldn't find device with uuid 'wHd06a-T0yf-aqrt-wZZk-z7jW-5gcs-TO2Vp6'.
  Couldn't find device with uuid 'eGwrO9-pZh4-66vo-cuLr-5cZm-Kk7b-FIcLXN'.
  Couldn't find device with uuid 'wHd06a-T0yf-aqrt-wZZk-z7jW-5gcs-TO2Vp6'.
  PV /dev/sde2        VG jserver        lvm2 [931,27 GB / 0    free]
  PV /dev/sdd1        VG jserver        lvm2 [931,51 GB / 0    free]
  PV unknown device   VG jserver        lvm2 [931,51 GB / 0    free]
  PV unknown device   VG jserver        lvm2 [931,51 GB / 0    free]
  PV /dev/sdb         VG jserver_data   lvm2 [931,51 GB / 0    free]
  PV /dev/sdc         VG jserver_data   lvm2 [931,51 GB / 0    free]
  Total: 6 [5,46 TB] / in use: 6 [5,46 TB] / in no VG: 0 [0   ]

lvs -a -o +devices -P shows

server:~# lvs -a -o +devices -P
  Partial mode. Incomplete volume groups will be activated read-only.
  Couldn't find device with uuid 'eGwrO9-pZh4-66vo-cuLr-5cZm-Kk7b-FIcLXN'.
  Couldn't find device with uuid 'wHd06a-T0yf-aqrt-wZZk-z7jW-5gcs-TO2Vp6'.
  Couldn't find device with uuid 'eGwrO9-pZh4-66vo-cuLr-5cZm-Kk7b-FIcLXN'.
  Couldn't find device with uuid 'wHd06a-T0yf-aqrt-wZZk-z7jW-5gcs-TO2Vp6'.
  LV           VG           Attr   LSize Origin Snap%  Move Log Copy%  Convert Devices         
  jlan_root    jserver      -wi--- 3,64T                                       /dev/sde2(256)  
  jlan_root    jserver      -wi--- 3,64T                                       /dev/sdd1(0)    
  jlan_root    jserver      -wi--- 3,64T                                       unknown device(0)
  jlan_root    jserver      -wi--- 3,64T                                       unknown device(0)
  jlan_swap    jserver      -wi--- 1,00G                                       /dev/sde2(0)    
  jserver_home jserver_data -wi-ao 1,82T                                       /dev/sdb(0)     
  jserver_home jserver_data -wi-ao 1,82T                                       /dev/sdc(0)     
  jserver_root jserver_ka   -wi-d- 1,82T                                       /dev/sde2(0)    
  jserver_root jserver_ka   -wi-d- 1,82T                                       /dev/sdd1(0)    


jserver is broken VG

my question is: how do i restore jserver?
i've read some howtows like http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/mdatarecover.html
but how can I be sure that i use the right uuid for the right disks?

thx in advantage :)

chrisi

_______________________________________________
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