You are not logged in.

#1 2010-05-12 15:31:40

Ziller
Member
Registered: 2008-11-12
Posts: 1

seriously messed up my raid5 / lvm2 setup, how to recover?

Well, I managed to do the following:

1) had a 4x1TB raid5 setup with one spare, which I managed to set into a 2-out-of-4 disk degraded mode by accidentally pulling out some cables (oops)

2) on it I had a single volume group, vg0, on top of which I had a single logical volume (called media), which I then had partitioned into a one single ext3 partition

3) to correct the raid fuck-up, I decided to remove it and re-create it again. But I couldn't do this since vg0 was running. So, without thinking much, I removed the logical volume, the volume group and the physical volume, thinking "i can always recreate them too" and then rebuilt the array.

So, the array is back up and running. My volume group isn't.

When I do a simple pvcreate / vgcreate / lvcreate on the array and check the results with fdisk, I can't see my partition table. So that obviously didn't work.

Help would be much appreciated, I have no idea how to get that 3TB ext3 partition back... sad

Offline

Board footer

Powered by FluxBB