LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   LVM, raid1 and scsi failure (https://www.linuxquestions.org/questions/linux-server-73/lvm-raid1-and-scsi-failure-554830/)

Ezplan 05-18-2007 01:07 AM

LVM, raid1 and scsi failure
 
Hello,

I'm running a file server with FC6. OS is installed on hda. The data is stored on two raid-1 arrays of 2 scsi disks each, md0 and md1, combined into a logical volume VolGroup01-LogVol00. The volume is mounted on /data. I started getting IO errors on /data and checked mdadm --detail /dev/md0 and md1 and saw that one of the disks had failed and was removed. I planned on replacing it but needed to get it back up so did a mdadm re-add and that seemed to work, ...for a while.
The short story, now I can't read anyting on /data. My plan was to take down the LV, remove the bad disk from md0, install a new disk, rebuild the raid and recreate the volume. I unmounted the LV, but lvremove wil not work. I get a series of "read failure" errors on all the devices that make up the group.
Can I salvage any data here? Any suggestions on steps to take would be greatly appreciated.

Thanks.

Ezplan 05-18-2007 01:59 AM

Well, I was able to remove the LV, and stop the raid devices, md0 and md1. When in doubt, re-boot. So now the question is, what can be salvaged from this mess?
I tried mounting one of the scsi drives, sda1, but it reports it is not a valid block device.
Any suggestions at this point are appreciated!


All times are GMT -5. The time now is 11:21 AM.