>> Greetings all. I am hoping that you can, once again, help me out. Thanks for<br>>> all previous assistance. :-)<br>>><br>>>This weekend, I added a new SATA drive to my Myth backend. It appeared<br>>> to add into the volume group without any problem, though I did not get it to<br>>> the point where the space was accessible. I planned to further research that<br>>> problem; however, before I solved that one, I inadvertently created a new<br>>> problem. The new drive was designated as /dev/sda.<br>>><br>>> I was suspicious about the new drive because it was clicking loudly, so I<br>>> shut down cleanly and disconnected it. Yes, I then rebooted without the<br>>> SATA drive connected thereby "breaking" my volume group. I did not know<br>>> that when I re-connected and booted up again, the volume group would<br>>> remain
broken.<br>>><br>>> The system reports a missing physical volume of UUID ### and then reports<br>>> an unknown physical volume with the same UUID. I have spent 5 hours<br>>> trying to recover this. It seems as though the tools / commands are there,<br>>> but I don't know how to do it (or something else is wrong). I am hoping that<br>>> someone can give me a suggestion on how to re-link the UUID for the SATA<br>>> drive to the volume group. Thanks, in advance! Here are some details:<br>>><br>>>[root@mythserver ~]# pvdisplay<br>>> Couldn't find device with uuid 'fxlccO-4li0-nmyD-9avZ-Vc60-GGWX-jUhqOv'.<br>>> Couldn't find device with uuid 'fxlccO-4li0-nmyD-9avZ-Vc60-GGWX-jUhqOv'.<br>>> --- Physical volume ---<br>>> PV Name /dev/hda5<br>>> VG
Name VolGroup00<br>>> PV Size 66.12 GB / not usable 0 <br>>> Allocatable yes (but full)<br>>> PE Size (KByte) 4096<br>>> Total PE 16926<br>>> Free PE 0<br>>> Allocated PE 16926<br>>> PV UUID 317l2C-oay1-TWFG-5NTX-XJS3-vLal-Xh5bBL<br>>> <br>>> --- Physical volume ---<br>>> PV
Name /dev/hdb<br>>> VG Name VolGroup00<br>>> PV Size 298.09 GB / not usable 0 <br>>> Allocatable yes (but full)<br>>> PE Size (KByte) 4096<br>>> Total PE 76311<br>>> Free PE 0<br>>> Allocated PE 76311<br>>> PV UUID
nfLxS1-0u3t-5Zr9-57iu-1oZe-Bkkd-75SERQ<br>>> <br>>> --- Physical volume ---<br>>> PV Name unknown device<br>>> VG Name VolGroup00<br>>> PV Size 232.88 GB / not usable 0 <br>>> Allocatable yes <br>>> PE Size (KByte) 4096<br>>> Total PE 59617<br>>> Free PE 225<br>>> Allocated PE
59392<br>>> PV UUID fxlccO-4li0-nmyD-9avZ-Vc60-GGWX-jUhqOv<br>>> <br>>>[root@mythserver ~]# vgdisplay<br>>> Couldn't find device with uuid 'fxlccO-4li0-nmyD-9avZ-Vc60-GGWX-jUhqOv'.<br>>> Couldn't find all physical volumes for volume group VolGroup00.<br>>> Couldn't find device with uuid 'fxlccO-4li0-nmyD-9avZ-Vc60-GGWX-jUhqOv'.<br>>> Couldn't find all physical volumes for volume group VolGroup00.<br>>> Couldn't find device with uuid 'fxlccO-4li0-nmyD-9avZ-Vc60-GGWX-jUhqOv'.<br>>> Couldn't find all physical volumes for volume group VolGroup00.<br>>> Couldn't find device with uuid 'fxlccO-4li0-nmyD-9avZ-Vc60-GGWX-jUhqOv'.<br>>> Couldn't find all physical volumes for volume group VolGroup00.<br>>> Volume group "VolGroup00" doesn't
exist<br>>><br>>>[root@mythserver ~]# pvcreate -u fxlccO-4li0-nmyD-9avZ-Vc60-GGWX-jUhqOv /dev/sda<br>>> Device /dev/sda not found.<br>>><br>>>[root@mythserver ~]# vgcfgrestore -tnVolGroup00 /dev/VolGroup00<br>>> Test mode: Metadata will NOT be updated.<br>>> Couldn't find device with uuid 'fxlccO-4li0-nmyD-9avZ-Vc60-GGWX-jUhqOv'.<br>>> Couldn't find all physical volumes for volume group VolGroup00.<br>>> Restore failed.<br><b><i>John Drescher <drescherjm@gmail.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Date: Mon, 14 Aug 2006 17:56:33 -0400<br>From: "John Drescher" <drescherjm@gmail.com><br>To: Tom+Dale <tdmyth@yahoo.com><br>Subject: Re: [mythtv-users] LVM Problem -- Please Help<br><br> ><br>> Well, it was working (despite the loud clicking) before I shut down and<br>>
disconnected it. After booting up with the drive re-connected, it<br>> appears to be running physically, but the "Device /dev/sda not found." <br>> error was confusing to me as well. I assume that this is why the other <br>> commands are not working. Should linux have picked up the /dev/sda <br>> on boot once it was re-connected, despite my earlier mistake of b<br>> ooting once without it connected?<br>><br>Spinning is not enough for a drive to work. To me it sounds like you<br>have a fatal drive head crash where one of the read/write heads have<br>hit the drive platter itself (normally the heads float on a very fine<br>layer of air just above the platter but not actually in contact) which<br>causes physical damage to the heads and the dirve platters. If the<br>damage is so severe the heads will not read anything.<br><br>John<br></blockquote>Thanks for your responses, John. I apologize about replying directly instead of to the list--I need to pay
attention to the "To:" line. :-)<br><br>Considering the clicking sound, I realize that the drive may have fatally crashed; however, it was operating until I disconnected it. I guess I'd just like some confirmation on these questions:<br><br>1) Is the error about not finding /dev/sda a definitive reason as to why the other commands failed (pvcreate -u... & vgcfgrestore -tn ...)? It seems to me that the drive needed a successful pvcreate in order to be added to the volume group, but I confess that I don't remember precisely how things transpired. So if linux doesn't see it right away, does that mean it's dead?<br><br>2) If the drive was not dead, should linux have picked up the /dev/sda on boot once it was re-connected, despite my earlier mistake of booting once without it connected?<br><br>3) If the drive is okay, and /dev/sda were being recognized, how would I go about re-linking the UUID to the physical volume?<br><br>4) Can an identical
replacement drive be put in and given the UUID in order to recover data from the rest of the logical volume?<br><br>Thanks again to anyone who can assist!<br><p> 
                <hr size=1>Do you Yahoo!?<br> Next-gen email? Have it all with the <a href="http://us.rd.yahoo.com/evt=42241/*http://advision.webevents.yahoo.com/handraisers"> all-new Yahoo! Mail Beta.</a>