Recover LVM VG after hardware failure
I recently installed LVM2 to my slackware 10.2 machine and converted several stand-alone drives into a 3TB volume group (VG) and a couple logical volumes (LVs). As my luck would have it, one of the drives somehow developed bad sectors a few days later, and it's looking like it's not salvageable in the least. The drive in question is a 250GB Seagate IDE drive and I've run spinrite on it overnight and it's only made it through a couple of MB's, saying that several sectors are completely un-recoverable. The drive in question is hanging off a simple pci card. The card can do simple RAID 0/1 but I'm just using the drives as stand-alone. I moved this drive to the main IDE controller on the mobo so spinrite would have direct access to the SMART info on the drive, but spinrite said the drive was blank and nothing could be done with it. I moved it back to the card and spinrite could see and work on it, though not very well as I mentioned above. I can live without the 250 GB of data on that drive, but how do I recover the rest of the VG? Note that my system drive containing /, /boot, /home, etc. is a completely separate physical drive not in the VG, so getting into the system is not a problem. The last time I booted i got several "0x40 uncorrectable error" messages about the harddrive, but eventually it said XFS recovery complete and successfully activated the VG and mounted the LVs. At this point I thought things were looking up, so I booted the spinrite CD to take a look. As I mentioned above, the spinrite results are not encouraging. Should I just boot again, wait for the filesystem recovery to finish, and then attempt a pvmove operation to pull any data I can off the bad drive? I do have enough free physical extents (PEs) left in the VG to cover the bad drive, and I also have an unused identical drive I could swap in. Would it be better to do a dd from the bad drive to the spare I have and then somehow use uuidfixer or other tools to swap the bad drive with the spare in my VG? As I said, my main interest is in getting the VG working, without losing a couple TB worth of data. If I can also recover the 250 GB off the bad drive, that would just be icing on the cake.
This is my first post so I apologize if I posted in the wrong forum.