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

[linux-lvm] waah waah - disaster recovery

hi people

I have a major problem involving lvm and quite possibly software raid.
Here's how it goes ...

I installed a machine with 2 identical 200Gb disks and I set them up
using software RAID (on Fedora Core 2). I made three partitions on each
disk. /boot and / were created on md0 and md1 respectively using ext3.

The third partition was setup as a large volume group on md2 which was
mounted at /data. Within this vg I set up 3 logical volumes lv-backup,
lv-isos, lv-repositories.

The installation and setup went great and all was good for a while until
the first hard disk /dev/hda died. No problem - I had installed grub on
the mirror disk (/dev/hdc) and so was able to boot into the system.

Yet again all was going along fine, running on one disk while waiting
for a replacement disk to come back from Maxtor. I knew this was not
wise to run so long on a single disk but when the boss says to do it - I
thought well he knows what he's doing ...

And then Mr Murphy and his famous law kicked in and the second drive
(the only drive) froze up on me last night!

Rebooting the machine, I was able to fsck my way through the /boot and /
partition errors but the boot process gets stuck when trying to read the
journal for /data/repositories. The /data/backup and /data/isos volumes
mounted ok after they recovered their respective journals, but I don't
ever get past the 'recovering journal' message for /data/repositories.

Needless to say - there is some important data on the /dev/md2 partition
inside of the logical volume group lv-repositories. I have tried several
live cds but none of them seem to understand that I have any LVM volumes

Does anyone have any ideas on how I might be able to restore/mount
the /dev/md2 partition - even if it is just enough to copy the data



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