View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Aug 11, 2008 10:48 am 
Offline
Joined: Fri Oct 13, 2006 7:42 pm
Posts: 63
I was prepping to upgrade last night and I tried to add a hard drive to LVM via webmin hosed my LVM and made all my data disappear. Anyone have any clues how I can get it back? I have an unknown device currently listed in the physical volumes that prehaps is causing a major fail in mounting the VG? Any ideas?

thanks in advance

root@stingray:~# vgdisplay --partial --verbose
Partial mode. Incomplete volume groups will be activated read-only.
Finding all volume groups
Finding volume group "vg"
Wiping cache of LVM-capable devices
Couldn't find device with uuid 'kyZtSH-Ywbw-0fmZ-3vRD-2z3y-ZPuw-SaMsi6'.
Couldn't find device with uuid 'kyZtSH-Ywbw-0fmZ-3vRD-2z3y-ZPuw-SaMsi6'.
Couldn't find device with uuid 'kyZtSH-Ywbw-0fmZ-3vRD-2z3y-ZPuw-SaMsi6'.
Couldn't find device with uuid 'kyZtSH-Ywbw-0fmZ-3vRD-2z3y-ZPuw-SaMsi6'.
Couldn't find device with uuid 'kyZtSH-Ywbw-0fmZ-3vRD-2z3y-ZPuw-SaMsi6'.
Couldn't find device with uuid 'kyZtSH-Ywbw-0fmZ-3vRD-2z3y-ZPuw-SaMsi6'.
--- Volume group ---
VG Name vg
System ID
Format lvm2
Metadata Areas 3
Metadata Sequence No 17
VG Access read
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 4
Act PV 4
VG Size 2.33 TB
PE Size 8.00 MB
Total PE 305593
Alloc PE / Size 216168 / 1.65 TB
Free PE / Size 89425 / 698.63 GB
VG UUID qCi2LR-HtF0-pfL1-Ffj8-PENl-6Rgx-nsIA11

--- Logical volume ---
LV Name /dev/vg/myth
VG Name vg
LV UUID q3IKVg-19xc-Li1A-B6G3-L3LV-eUkJ-Qz6XmN
LV Write Access read/write
LV Status NOT available
LV Size 1.65 TB
Current LE 216168
Segments 3
Allocation inherit
Read ahead sectors 0

--- Physical volumes ---
PV Name /dev/sdc1
PV UUID 39Um1T-cvZr-6ewt-UQKK-XSCj-fvrh-lmT9r2
PV Status allocatable
Total PE / Free PE 59617 / 0

PV Name /dev/hda3
PV UUID JaTPJC-7Smg-aPvQ-QyyK-vbCu-DDA2-DyIWtF
PV Status allocatable
Total PE / Free PE 37318 / 0

PV Name /dev/sdb1
PV UUID JfL6fE-7hTx-0Rju-AYE2-eh0k-Ew5r-Ls00Og
PV Status allocatable
Total PE / Free PE 119233 / 0

PV Name unknown device
PV UUID kyZtSH-Ywbw-0fmZ-3vRD-2z3y-ZPuw-SaMsi6
PV Status allocatable
Total PE / Free PE 89425 / 89425


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 20, 2008 6:45 pm 
Offline
Joined: Sat Dec 24, 2005 11:33 am
Posts: 400
Location: Kitsap Peninsula, Wa., United States
Is it possible to recover remaining portions of a toasted LVM?

I was following the first scenario instructions posted by TJC here
http://knoppmyth.net/phpBB2/viewtopic.p ... ight=drive

Well anyway, when I told it to install all my paths said it was going to do this on /dev/sdc and it actually did it on /dev/sda

/dev/sda was the first drive in my lvm so now I have a nicely formatted Knoppmyth drive with R5.5 but it has toasted my LVM and most likely a large portion of my recordings. Here is what the vgdisplay gives me

[code] vgdisplay --partial --verbose
Partial mode. Incomplete volume groups will be activated read-only.
Finding all volume groups
Finding volume group "vg"
Wiping cache of LVM-capable devices
Couldn't find device with uuid 'lPR31U-RS1s-P0aa-vDNe-IKtb-By63-g2To7t'.
Couldn't find device with uuid 'lPR31U-RS1s-P0aa-vDNe-IKtb-By63-g2To7t'.
Couldn't find device with uuid 'lPR31U-RS1s-P0aa-vDNe-IKtb-By63-g2To7t'.
Couldn't find device with uuid 'lPR31U-RS1s-P0aa-vDNe-IKtb-By63-g2To7t'.
--- Volume group ---
VG Name vg
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 11
VG Access read
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 3
Act PV 3
VG Size 887.70 GB
PE Size 16.00 MB
Total PE 56813
Alloc PE / Size 56813 / 887.70 GB
Free PE / Size 0 / 0
VG UUID Ji8xge-AEhI-4Ktn-gp0Z-jK74-uK75-Effjp7

--- Logical volume ---
LV Name /dev/vg/myth
VG Name vg
LV UUID D6zlBJ-WmdE-bmZr-ZDGr-1eqK-dxU1-BPyEBR
LV Write Access read/write
LV Status NOT available
LV Size 887.70 GB
Current LE 56813
Segments 3
Allocation inherit
Read ahead sectors 0

--- Physical volumes ---
PV Name unknown device
PV UUID lPR31U-RS1s-P0aa-vDNe-IKtb-By63-g2To7t
PV Status allocatable
Total PE / Free PE 19077 / 0

PV Name /dev/hda3
PV UUID cxA07Q-z4n3-4Pyv-LgWm-8865-51uO-CxCBJW
PV Status allocatable
Total PE / Free PE 18659 / 0

PV Name /dev/sdb1
PV UUID ZkELyu-akUj-3O2N-pPPN-6rmQ-dhlA-LywqRr
PV Status allocatable
Total PE / Free PE 19077 / 0


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu